Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 110.4 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 184.5 kB / 23.71 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 252.3 MB, free: 13.51 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.92 MB / 352.4 MB, free: 12.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.071e-05, allocations: 5.234 kB / 495.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3287/0.3287, allocations: 149.8 MB / 0.6306 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.33, allocations: 0.9746 MB / 0.6316 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.3301, allocations: 0 / 0.6316 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.3303, allocations: 39.75 kB / 0.6316 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.3309, allocations: 238.7 kB / 0.6318 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3312, allocations: 123.2 kB / 0.6319 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.3315, allocations: 179.3 kB / 0.6321 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.3315, allocations: 7.984 kB / 0.6321 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.3317, allocations: 91.69 kB / 0.6322 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.3318, allocations: 55.77 kB / 0.6323 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3319, allocations: 4 kB / 0.6323 GB, free: 9.891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.3323, allocations: 263.6 kB / 0.6325 GB, free: 9.633 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0001622/0.3324, allocations: 170.5 kB / 0.6327 GB, free: 9.465 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 7.091e-05/0.3325, allocations: 82.92 kB / 0.6328 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.3325, allocations: 15.94 kB / 0.6328 GB, free: 9.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.33e-05/0.3326, allocations: 4 kB / 0.6328 GB, free: 9.363 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0006369/0.3332, allocations: 487.7 kB / 0.6332 GB, free: 8.773 MB / 462.1 MB Notification: Performance of FunctionAlias: time 5.3e-05/0.3332, allocations: 37.53 kB / 0.6333 GB, free: 8.738 MB / 462.1 MB Notification: Performance of Early Inline: time 0.000774/0.334, allocations: 0.6585 MB / 0.6339 GB, free: 8.055 MB / 462.1 MB Notification: Performance of Simplify 1: time 0.0001568/0.3342, allocations: 140.3 kB / 0.6341 GB, free: 7.891 MB / 462.1 MB Notification: Performance of Alias: time 0.0006382/0.3348, allocations: 389.1 kB / 0.6344 GB, free: 7.43 MB / 462.1 MB Notification: Performance of Simplify 2: time 0.0001482/0.335, allocations: 132.7 kB / 0.6346 GB, free: 7.273 MB / 462.1 MB Notification: Performance of Remove Stream: time 0.0001022/0.3351, allocations: 100.3 kB / 0.6347 GB, free: 7.148 MB / 462.1 MB Notification: Performance of Detect States: time 0.0002676/0.3353, allocations: 184.3 kB / 0.6348 GB, free: 6.93 MB / 462.1 MB Notification: Performance of Events: time 0.0001404/0.3355, allocations: 84.97 kB / 0.6349 GB, free: 6.844 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002771/0.3357, allocations: 250.4 kB / 0.6351 GB, free: 6.57 MB / 462.1 MB Notification: Performance of Causalize: time 0.0009191/0.3367, allocations: 0.7785 MB / 0.6359 GB, free: 5.777 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003686/0.337, allocations: 371.7 kB / 0.6363 GB, free: 5.414 MB / 462.1 MB Notification: Performance of Simplify: time 0.0002831/0.3373, allocations: 236.5 kB / 0.6365 GB, free: 5.133 MB / 462.1 MB Notification: Performance of Inline: time 0.00126/0.3386, allocations: 1.213 MB / 0.6377 GB, free: 3.914 MB / 462.1 MB Notification: Performance of Partitioning: time 2.18e-05/0.3386, allocations: 16.12 kB / 0.6377 GB, free: 3.891 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001991/0.3388, allocations: 223.7 kB / 0.6379 GB, free: 3.672 MB / 462.1 MB Notification: Performance of Causalize: time 0.002146/0.3409, allocations: 1.944 MB / 0.6398 GB, free: 1.719 MB / 462.1 MB Notification: Performance of Tearing: time 0.0005947/0.3415, allocations: 386 kB / 0.6402 GB, free: 1.293 MB / 462.1 MB Notification: Performance of Initialization: time 3.91e-07/0.3415, allocations: 0 / 0.6402 GB, free: 1.293 MB / 462.1 MB Notification: Performance of Remove Dummies: time 5.681e-06/0.3415, allocations: 0 / 0.6402 GB, free: 1.293 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002169/0.3418, allocations: 250.3 kB / 0.6404 GB, free: 1 MB / 462.1 MB Notification: Performance of Categorize: time 1.257e-05/0.3418, allocations: 4.031 kB / 0.6404 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of Solve: time 0.0003126/0.3421, allocations: 211.8 kB / 0.6406 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0003231/0.3424, allocations: 341.8 kB / 0.6409 GB, free: 428 kB / 462.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: ............... 1 * Number of algebraic event partitions: ......... 3 * 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: ............................. 2 (2) {m, U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (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: ........... 17 (scalar:17, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 19 (scalar:19, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.035e-05/0.3425, allocations: 30.86 kB / 0.641 GB, free: 404 kB / 462.1 MB Notification: Performance of SimCode: time 0.002127/0.3446, allocations: 1.717 MB / 0.6426 GB, free: 14.66 MB / 478.1 MB Notification: Performance of Templates: time 0.009884/0.3545, allocations: 6.095 MB / 0.6486 GB, free: 8.562 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,medium.T,medium.p Variables in the result:H_flow_ext,V,m_flow_ext,medium.MM,medium.R_s,medium.T,medium.p,medium.preferredMediumStates,medium.standardOrderComponents,time [Calling sys.exit(0), Time elapsed: 4.726668318733573]