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.001546/0.001546, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001692/0.001692, allocations: 206.2 kB / 24.49 MB, free: 3.961 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.508e-05/2.508e-05, allocations: 6.281 kB / 378.9 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003108/0.003133, allocations: 1.688 MB / 380.6 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.003939, allocations: 291.1 kB / 380.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.004038, allocations: 4 kB / 380.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.004183, allocations: 27.67 kB / 380.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.004244, allocations: 15.81 kB / 380.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.004707, allocations: 127.8 kB / 381.1 MB, free: 412 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.005098, allocations: 315.4 kB / 381.4 MB, free: 96 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1699/0.175, allocations: 168 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.1753, allocations: 119.2 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1755, allocations: 120.5 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.1756, allocations: 27.03 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1757, allocations: 31.33 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000317/0.176, allocations: 407.6 kB / 382.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000145/0.1761, allocations: 245.7 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.1762, allocations: 15.81 kB / 382.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001121/0.1763, allocations: 37.59 kB / 382.5 MB, free: 12.66 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.001204/0.1775, allocations: 1.012 MB / 383.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002399/0.1778, allocations: 167.2 kB / 383.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006777/0.1784, allocations: 0.6848 MB / 384.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002417/0.1787, allocations: 178.1 kB / 384.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001454/0.1801, allocations: 1 MB / 385.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001802/0.1803, allocations: 134.8 kB / 385.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.31e-05/0.1804, allocations: 92.89 kB / 385.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003298/0.1807, allocations: 240 kB / 386 MB, free: 11.13 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001194/0.1808, allocations: 66.28 kB / 386.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002821/0.1811, allocations: 225.9 kB / 386.3 MB, free: 11 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0008864/0.182, allocations: 0.619 MB / 386.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003789/0.1824, allocations: 428.1 kB / 387.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004011/0.1828, allocations: 286.4 kB / 387.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004961/0.1833, allocations: 0.5576 MB / 388.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.196e-05/0.1833, allocations: 27.89 kB / 388.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.205e-05/0.1834, allocations: 102.9 kB / 388.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001887/0.1853, allocations: 1.348 MB / 389.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.073e-05/0.1853, allocations: 23.28 kB / 389.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.41e-07/0.1853, allocations: 0 / 389.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.818e-06/0.1853, allocations: 0 / 389.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.075e-05/0.1854, allocations: 27.31 kB / 389.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.148e-05/0.1854, allocations: 10.56 kB / 389.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003808/0.1857, allocations: 254.4 kB / 389.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.445e-06/0.1858, allocations: 0 / 389.9 MB, free: 9.562 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.0001188/0.1859, allocations: 55.08 kB / 390 MB, free: 9.527 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009809/0.1869, allocations: 0.6473 MB / 390.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Templates: time 0.005584/0.1924, allocations: 1.764 MB / 392.4 MB, free: 8.945 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] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample_Variant3/FirstExample_Variant3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result:initialStep.oldActive,initialStep.outerStatePort.subgraphStatePort.resume,initialStep.outerStatePort.subgraphStatePort.suspend,stateGraphRoot.resume,stateGraphRoot.subgraphStatePort.resume,stateGraphRoot.subgraphStatePort.suspend,stateGraphRoot.suspend,step.oldActive,step.outerStatePort.subgraphStatePort.resume,step.outerStatePort.subgraphStatePort.suspend,time,transition1.condition,transition1.enableFire,transition1.enableTimer,transition1.waitTime,transition2.enableFire,transition2.enableTimer,transition2.t,transition2.t_dummy,transition2.t_start,transition2.waitTime [Calling sys.exit(0), Time elapsed: 4.574823664035648]