sim:tests: shodan_boot.robot workarounds

- ProcessMaanger log msgs race against application-generated log msgs;
  workaround this by not waiting for the ProcessManager msg saying an
  application Bundle was started
- When running the mltest app install the model before the app; this is
  a hack to workaround a resource management problem

Change-Id: Ibe3154a610f56acd665a1b92b1f864e377d75c4e
diff --git a/shodan_boot.robot b/shodan_boot.robot
index e294e8d..afb8203 100644
--- a/shodan_boot.robot
+++ b/shodan_boot.robot
@@ -58,7 +58,8 @@
     Write Line To Uart          install ${app}.app
     Wait For Line on Uart       Application "${app}" installed
     Write Line To Uart          start ${app}
-    Wait For Line On Uart       Bundle "${app}" started
+    # NB: don't 'Wait For Line On Uart       Bundle "${app}" started' as this races
+    #    against the app-generated output that is waited for below
 
 Uninstall App
     [Arguments]                 ${app}
@@ -179,10 +180,10 @@
     Execute Command             showAnalyzer "uart5-analyzer" ${UART5} Antmicro.Renode.Analyzers.LoggingUartAnalyzer
     # Add UART5 virtual time so we can check the machine execution time
     Execute Command             uart5-analyzer TimestampFormat Virtual
-    Write Line To Uart          install mltest.app
-    Wait For Line On Uart       Application "mltest" installed
     Write Line To Uart          install mobilenet_v1_emitc_static.model
     Wait For Line On Uart       Model "mobilenet_v1_emitc_static" installed
+    Write Line To Uart          install mltest.app
+    Wait For Line On Uart       Application "mltest" installed
     Write Line to Uart          start mltest
     Wait For Line On Uart       sdk_model_oneshot(nonexistent) returned Err(SDKNoSuchModel) (as expected)
     # start oneshot