Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001786/0.001786, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001771/0.001771, allocations: 222.7 kB / 24.5 MB, free: 3.922 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.789 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_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/2.987e-05, allocations: 2.281 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.004691/0.004721, allocations: 1.656 MB / 380.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.005875, allocations: 291.1 kB / 380.8 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.005991, allocations: 4 kB / 380.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.006185, allocations: 27.67 kB / 380.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.006267, allocations: 11.81 kB / 380.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.006929, allocations: 135.8 kB / 381 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.007564, allocations: 315.5 kB / 381.3 MB, free: 88 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.187/0.1946, allocations: 178.1 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.1948, allocations: 123 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.195, allocations: 118.2 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.1951, allocations: 25.59 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1952, allocations: 33.92 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002653/0.1954, allocations: 417.8 kB / 382.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001133/0.1955, allocations: 246.9 kB / 382.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.1956, allocations: 17.72 kB / 382.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.018e-05/0.1957, allocations: 36.72 kB / 382.5 MB, free: 12.65 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.001071/0.1967, allocations: 1.016 MB / 383.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002066/0.1969, allocations: 166.7 kB / 383.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006029/0.1976, allocations: 0.6872 MB / 384.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002312/0.1978, allocations: 175.9 kB / 384.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001459/0.1992, allocations: 1.014 MB / 385.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001569/0.1994, allocations: 135.7 kB / 385.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.271e-05/0.1995, allocations: 84.02 kB / 385.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003246/0.1998, allocations: 250.6 kB / 386 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001126/0.1999, allocations: 64.8 kB / 386.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003011/0.2002, allocations: 217.3 kB / 386.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0008319/0.2011, allocations: 0.6042 MB / 386.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003476/0.2014, allocations: 426.6 kB / 387.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000383/0.2018, allocations: 290.2 kB / 387.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004568/0.2022, allocations: 0.5566 MB / 388.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.607e-05/0.2023, allocations: 24.48 kB / 388.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.124e-05/0.2023, allocations: 93.09 kB / 388.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001902/0.2042, allocations: 1.323 MB / 389.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.532e-05/0.2043, allocations: 35.28 kB / 389.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.42e-07/0.2043, allocations: 1.094 kB / 389.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.588e-06/0.2043, allocations: 0 / 389.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.015e-05/0.2043, allocations: 22.19 kB / 389.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.086e-05/0.2043, allocations: 3.312 kB / 389.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003848/0.2047, allocations: 242 kB / 389.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.568e-06/0.2047, allocations: 4 kB / 389.9 MB, free: 9.539 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: ........... 54 (scalar:54, 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.000134/0.2048, allocations: 55.66 kB / 389.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009737/0.2058, allocations: 0.6466 MB / 390.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Templates: time 0.006012/0.2118, allocations: 1.751 MB / 392.3 MB, free: 8.934 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample_Variant2/FirstExample_Variant2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.StateGraph.Examples.FirstExample_Variant2.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:greaterEqual.threshold,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.578000547364354]