Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001989/0.001989, 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.002662/0.002662, allocations: 210.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.617/1.617, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.17e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4674/0.4674, allocations: 131.8 MB / 0.626 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.4718, allocations: 2.919 MB / 0.6288 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4719, allocations: 0 / 0.6288 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.4723, allocations: 63.59 kB / 0.6289 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.4755, allocations: 1.097 MB / 0.63 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.476, allocations: 195.5 kB / 0.6301 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.4766, allocations: 378.6 kB / 0.6305 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.4767, allocations: 9.625 kB / 0.6305 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.477, allocations: 179.4 kB / 0.6307 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.4772, allocations: 111.6 kB / 0.6308 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.4773, allocations: 12 kB / 0.6308 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.4799, allocations: 1.262 MB / 0.632 GB, free: 6.918 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0003998/0.4803, allocations: 357.1 kB / 0.6324 GB, free: 6.566 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001705/0.4805, allocations: 212 kB / 0.6326 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.4806, allocations: 20 kB / 0.6326 GB, free: 6.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.362e-05/0.4806, allocations: 11.88 kB / 0.6326 GB, free: 6.328 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 (40) * Number of variables: 47 (40) Notification: Performance of [SIM] Bindings: time 0.00167/0.4823, allocations: 1.142 MB / 0.6337 GB, free: 5.066 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002082/0.4825, allocations: 129.2 kB / 0.6339 GB, free: 4.93 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.002104/0.4846, allocations: 1.653 MB / 0.6355 GB, free: 3.281 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001046/0.4856, allocations: 0.8596 MB / 0.6363 GB, free: 2.426 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.001563/0.4872, allocations: 0.9673 MB / 0.6373 GB, free: 1.355 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009908/0.4882, allocations: 0.8534 MB / 0.6381 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001847/0.4884, allocations: 148.2 kB / 0.6382 GB, free: 328 kB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0005261/0.4889, allocations: 356.8 kB / 0.6386 GB, free: 15.91 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.0002751/0.4892, allocations: 162.2 kB / 0.6387 GB, free: 15.76 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006539/0.4898, allocations: 0.5153 MB / 0.6392 GB, free: 15.23 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001493/0.4913, allocations: 0.9731 MB / 0.6402 GB, free: 14.24 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001121/0.4924, allocations: 1.112 MB / 0.6413 GB, free: 13.12 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.00137/0.4938, allocations: 1.068 MB / 0.6423 GB, free: 12.04 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.004526/0.4983, allocations: 4.058 MB / 0.6463 GB, free: 8 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 4.992e-05/0.4984, allocations: 22.75 kB / 0.6463 GB, free: 7.973 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0004847/0.4989, allocations: 455.4 kB / 0.6467 GB, free: 7.527 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.001964/0.5008, allocations: 1.308 MB / 0.648 GB, free: 6.203 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 3.884e-05/0.5009, allocations: 28 kB / 0.648 GB, free: 6.176 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 6.31e-07/0.5009, allocations: 0 / 0.648 GB, free: 6.176 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.009e-05/0.5009, allocations: 0 / 0.648 GB, free: 6.176 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 2e-05/0.5009, allocations: 28.94 kB / 0.6481 GB, free: 6.148 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.695e-05/0.5009, allocations: 3.984 kB / 0.6481 GB, free: 6.145 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.00689/0.5078, allocations: 5.916 MB / 0.6538 GB, free: 288 kB / 478.1 MB Notification: Performance of [SIM] Jacobian: time 0.001181/0.509, allocations: 0.8642 MB / 0.6547 GB, free: 15.34 MB / 494.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: ............... 2 * Number of algebraic event partitions: ......... 0 * 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: ............................. 6 (5) {medium.p_bar, medium.T_degC, medium2.p_bar, medium2.T_degC, medium2.X} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (9) {$SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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:36, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, 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: ........... 48 (scalar:42, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001468/0.5091, allocations: 48.53 kB / 0.6547 GB, free: 15.3 MB / 494.1 MB Notification: Performance of SimCode: time 0.006751/0.5159, allocations: 3.656 MB / 0.6583 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Templates: time 0.0314/0.5473, allocations: 19.91 MB / 0.6777 GB, free: 7.598 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7972164722159505]