Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.632/1.632, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.413e-05, allocations: 5.375 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003652/0.003676, allocations: 1.692 MB / 380.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.004503, allocations: 287.2 kB / 381 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004618, allocations: 7.938 kB / 381 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.004798, allocations: 27.67 kB / 381 MB, free: 484 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.004861, allocations: 15.81 kB / 381 MB, free: 468 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.005313, allocations: 127.8 kB / 381.2 MB, free: 340 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.005711, allocations: 319.4 kB / 381.5 MB, free: 20 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2607/0.2664, allocations: 156.3 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.2667, allocations: 124.6 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.267, allocations: 103.8 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.2671, allocations: 29.69 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.2672, allocations: 32 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004723/0.2677, allocations: 409.4 kB / 382.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000231/0.2679, allocations: 243.6 kB / 382.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.268, allocations: 15 kB / 382.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001224/0.2681, allocations: 34.5 kB / 382.6 MB, free: 12.69 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.001782/0.2699, allocations: 1.011 MB / 383.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003756/0.2703, allocations: 173.6 kB / 383.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001121/0.2714, allocations: 0.6832 MB / 384.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003669/0.2718, allocations: 159.6 kB / 384.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002283/0.274, allocations: 1.026 MB / 385.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000215/0.2743, allocations: 120.3 kB / 385.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001176/0.2744, allocations: 86 kB / 385.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004422/0.2748, allocations: 254.2 kB / 386.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001518/0.275, allocations: 69.61 kB / 386.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003793/0.2754, allocations: 224.1 kB / 386.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001312/0.2767, allocations: 0.6109 MB / 387 MB, free: 10.89 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005919/0.2773, allocations: 427.8 kB / 387.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000609/0.2779, allocations: 273.6 kB / 387.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007685/0.2786, allocations: 0.5621 MB / 388.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.819e-05/0.2787, allocations: 23 kB / 388.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001213/0.2788, allocations: 95.8 kB / 388.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002839/0.2817, allocations: 1.335 MB / 389.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.701e-05/0.2817, allocations: 23.06 kB / 389.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.703e-06/0.2817, allocations: 2.062 kB / 389.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001458/0.2818, allocations: 60.5 kB / 389.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.266e-06/0.2818, allocations: 4 kB / 389.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.986e-05/0.2819, allocations: 23.75 kB / 389.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.254e-05/0.2819, allocations: 2.547 kB / 389.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006604/0.2825, allocations: 303.2 kB / 390.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001702/0.2827, allocations: 187.5 kB / 390.3 MB, free: 9.395 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {timer.entryTime, transition1.t_start} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (36) {initialStep.active, initialStep.localActive, initialStep.inPort.occupied, initialStep.inPort.set, initialStep.outPort.available, initialStep.outPort.reset, initialStep.newActive, transition1.enableFire, transition1.fire, transition1.inPort.available, transition1.outPort.occupied, step.localActive, step.inPort.occupied, step.inPort.set, step.outPort.available, step.outPort.reset, step.newActive, transition2.localCondition, transition2.enableFire, transition2.fire, transition2.inPort.available, transition2.outPort.occupied, SetBoolean2.y, stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 55 (scalar:55, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001871/0.2829, allocations: 54.98 kB / 390.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of SimCode: time 0.00129/0.2842, allocations: 0.656 MB / 391 MB, free: 8.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006944/0.2911, allocations: 1.617 MB / 392.6 MB, free: 8.773 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.05692479602294] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.3002820329857059 0.31640789999999996 0.04570111 Calling exit ...