Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.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.001513/0.001513, allocations: 109.6 kB / 21.99 MB, free: 4.551 MB / 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.001613/0.001613, allocations: 213.5 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 207.7 MB / 236.2 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.415e-05, allocations: 6.219 kB / 348.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.003824/0.003848, allocations: 1.631 MB / 350.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004917, allocations: 259.2 kB / 350.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.005061, allocations: 8 kB / 350.4 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.005212, allocations: 27.67 kB / 350.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.513e-05/0.005287, allocations: 23.73 kB / 350.4 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.005834, allocations: 127.8 kB / 350.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.006369, allocations: 315.5 kB / 350.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.006795, allocations: 171.5 kB / 351 MB, free: 6.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.007003, allocations: 123.7 kB / 351.2 MB, free: 6.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.007288, allocations: 99.58 kB / 351.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.007352, allocations: 24 kB / 351.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.007458, allocations: 39.98 kB / 351.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004707/0.007929, allocations: 411.8 kB / 351.7 MB, free: 6.227 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002831/0.008212, allocations: 248.7 kB / 352 MB, free: 5.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.008282, allocations: 12 kB / 352 MB, free: 5.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.525e-05/0.008357, allocations: 31.78 kB / 352 MB, free: 5.938 MB / 286.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.001597/0.009955, allocations: 1.017 MB / 353 MB, free: 4.797 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003104/0.01026, allocations: 171.7 kB / 353.2 MB, free: 4.617 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.000852/0.01112, allocations: 0.6703 MB / 353.9 MB, free: 3.922 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000315/0.01143, allocations: 153.8 kB / 354 MB, free: 3.723 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.001917/0.01335, allocations: 1.063 MB / 355.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001934/0.01354, allocations: 121.9 kB / 355.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001099/0.01365, allocations: 86.95 kB / 355.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of [SIM] Detect States: time 0.0004944/0.01415, allocations: 240.8 kB / 355.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of [SIM] Events: time 0.000128/0.01427, allocations: 70.17 kB / 355.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003291/0.0146, allocations: 235.6 kB / 355.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of [SIM] Causalize: time 0.0008953/0.0155, allocations: 0.5919 MB / 356.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004284/0.01593, allocations: 415.7 kB / 356.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of [INI] Simplify: time 0.0004845/0.01641, allocations: 276.3 kB / 357.1 MB, free: 292 kB / 286.1 MB Notification: Performance of [INI] Inline: time 0.0005822/0.01699, allocations: 0.5516 MB / 357.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.59e-05/0.01704, allocations: 22.75 kB / 357.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001012/0.01714, allocations: 91.92 kB / 357.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001965/0.01911, allocations: 1.283 MB / 359 MB, free: 14.32 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.14e-05/0.01914, allocations: 24 kB / 359.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.52e-07/0.01914, allocations: 0 / 359.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001174/0.01926, allocations: 64.02 kB / 359.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.971e-06/0.01926, allocations: 0 / 359.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.999e-05/0.01928, allocations: 24 kB / 359.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.109e-05/0.01929, allocations: 4 kB / 359.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005247/0.01982, allocations: 302.1 kB / 359.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002248/0.02004, allocations: 194 kB / 359.6 MB, free: 13.68 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: ................. 35 (35) {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, 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: ........... 41 (scalar:41, 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: ........... 53 (scalar:53, 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.0001608/0.0202, allocations: 49.52 kB / 359.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of SimCode: time 0.001225/0.02143, allocations: 0.6517 MB / 360.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Templates: time 0.005678/0.02711, allocations: 1.596 MB / 361.9 MB, free: 11.36 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.005200908984989] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.036244127957616 0.050351552 0.038990677 Calling exit ...