Timed out looking for Unloaded module map


I have my autotest failing after mission’s finish. Framework returns error by the end of the test:
“Timed out looking for Unloaded module map”
Test passes if I manually close the map, if not it fails with the timeout error.
Log has two messages: “module unload map”.

In the text I set params, reboot ardupilot, load a mission file, switch to auto mode, arm vehicle…
At the end I do:

How can I fix this error ?