Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001388/0.001388, 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.001649/0.001649, allocations: 221.1 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.625/1.625, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2694/0.2694, allocations: 46.95 MB / 361.6 MB, free: 4.023 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/2.963e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4382/0.4382, allocations: 131.3 MB / 0.6255 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4397, allocations: 0.9469 MB / 0.6265 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.4398, allocations: 0 / 0.6265 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.4401, allocations: 31.78 kB / 0.6265 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007858/0.4409, allocations: 274.5 kB / 0.6268 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.4413, allocations: 121.1 kB / 0.6269 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.4416, allocations: 195.2 kB / 0.6271 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.4416, allocations: 12.52 kB / 0.6271 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.4419, allocations: 107.5 kB / 0.6272 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.442, allocations: 63.81 kB / 0.6272 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.442, allocations: 4 kB / 0.6272 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.4425, allocations: 279.6 kB / 0.6275 GB, free: 11.23 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0002025/0.4427, allocations: 170.5 kB / 0.6277 GB, free: 11.06 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 8.179e-05/0.4428, allocations: 106.7 kB / 0.6278 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.4429, allocations: 8 kB / 0.6278 GB, free: 10.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.597e-05/0.4429, allocations: 4 kB / 0.6278 GB, free: 10.95 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 [SIM] Bindings: time 0.0009564/0.4438, allocations: 0.5842 MB / 0.6283 GB, free: 10.24 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.406e-05/0.4439, allocations: 63.92 kB / 0.6284 GB, free: 10.17 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.00132/0.4452, allocations: 0.9596 MB / 0.6293 GB, free: 9.195 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004623/0.4457, allocations: 310.5 kB / 0.6296 GB, free: 8.867 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.001112/0.4468, allocations: 0.5905 MB / 0.6302 GB, free: 8.195 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003862/0.4472, allocations: 305.5 kB / 0.6305 GB, free: 7.879 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001115/0.4473, allocations: 100.3 kB / 0.6306 GB, free: 7.754 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0003479/0.4476, allocations: 240.6 kB / 0.6308 GB, free: 7.465 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.000158/0.4478, allocations: 101 kB / 0.6309 GB, free: 7.363 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004907/0.4483, allocations: 339.9 kB / 0.6313 GB, free: 7.016 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.000619/0.4489, allocations: 376.4 kB / 0.6316 GB, free: 6.637 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006493/0.4496, allocations: 0.6284 MB / 0.6322 GB, free: 6.008 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.0006097/0.4502, allocations: 417.2 kB / 0.6326 GB, free: 5.543 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.001832/0.452, allocations: 1.729 MB / 0.6343 GB, free: 3.809 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 2.513e-05/0.452, allocations: 16.06 kB / 0.6343 GB, free: 3.785 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 0.0002299/0.4523, allocations: 227.7 kB / 0.6345 GB, free: 3.562 MB / 462.1 MB Notification: Performance of [INI] Causalize: time 0.0008333/0.4531, allocations: 454.9 kB / 0.635 GB, free: 3.113 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 2.416e-05/0.4531, allocations: 12 kB / 0.635 GB, free: 3.102 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 4.2e-07/0.4531, allocations: 0 / 0.635 GB, free: 3.102 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.003e-06/0.4531, allocations: 0 / 0.635 GB, free: 3.102 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 8.095e-05/0.4532, allocations: 28.5 kB / 0.635 GB, free: 3.078 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 7.224e-06/0.4532, allocations: 0 / 0.635 GB, free: 3.078 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 0.002012/0.4552, allocations: 1.586 MB / 0.6366 GB, free: 1.52 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 0.00163/0.4569, allocations: 1.068 MB / 0.6376 GB, free: 416 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: ......... 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: ............................. 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:21, 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 6.064e-05/0.4569, allocations: 28.84 kB / 0.6376 GB, free: 388 kB / 462.1 MB Notification: Performance of SimCode: time 0.00259/0.4595, allocations: 1.311 MB / 0.6389 GB, free: 15.06 MB / 478.1 MB Notification: Performance of Templates: time 0.0123/0.4718, allocations: 6.44 MB / 0.6452 GB, free: 8.594 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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: 5.932437318842858]