Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.002395/0.002395, allocations: 91.67 kB / 20.21 MB, free: 4.207 MB / 18.57 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.003016/0.003016, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.725e-05, allocations: 6.25 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4139/0.4139, allocations: 173.1 MB / 0.5079 GB, free: 6.762 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.4247, allocations: 5.83 MB / 0.5136 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.4252, allocations: 31.75 kB / 0.5136 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.4263, allocations: 305.9 kB / 0.5139 GB, free: 0.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.4308, allocations: 1.62 MB / 0.5155 GB, free: 14.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.4345, allocations: 1.273 MB / 0.5167 GB, free: 13.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.4372, allocations: 1.884 MB / 0.5185 GB, free: 11.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.4379, allocations: 421 kB / 0.5189 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.441, allocations: 1.503 MB / 0.5204 GB, free: 9.871 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4425, allocations: 0.7243 MB / 0.5211 GB, free: 9.145 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.4427, allocations: 64 kB / 0.5212 GB, free: 9.082 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.4446, allocations: 0.7525 MB / 0.5219 GB, free: 8.328 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.445, allocations: 287.1 kB / 0.5222 GB, free: 8.047 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.4454, allocations: 291.3 kB / 0.5225 GB, free: 7.762 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.4482, allocations: 1.543 MB / 0.524 GB, free: 6.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4482, allocations: 0 / 0.524 GB, free: 6.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4482, allocations: 0 / 0.524 GB, free: 6.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4483, allocations: 0 / 0.524 GB, free: 6.215 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002597/0.4509, allocations: 1.219 MB / 0.5252 GB, free: 4.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4509, allocations: 12.02 kB / 0.5252 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.4519, allocations: 227 kB / 0.5254 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.453, allocations: 0.4885 MB / 0.5259 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.4531, allocations: 151.8 kB / 0.526 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.4533, allocations: 59.92 kB / 0.5261 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.455, allocations: 1.145 MB / 0.5272 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.455, allocations: 4 kB / 0.5272 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.4551, allocations: 24 kB / 0.5272 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-05/0.4552, allocations: 40.97 kB / 0.5273 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.4562, allocations: 463.4 kB / 0.5277 GB, free: 2.113 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006278/0.4625, allocations: 4.17 MB / 0.5318 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.4631, allocations: 295.9 kB / 0.5321 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.4634, allocations: 132.2 kB / 0.5322 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.4638, allocations: 134 kB / 0.5323 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.4638, allocations: 49.59 kB / 0.5324 GB, free: 13.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.4638, allocations: 0 / 0.5324 GB, free: 13.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.005901/0.4697, allocations: 1.38 MB / 0.5337 GB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.4699, allocations: 132.5 kB / 0.5338 GB, free: 11.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009111/0.4708, allocations: 0.6546 MB / 0.5345 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.4708, allocations: 41.64 kB / 0.5345 GB, free: 10.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/0.4713, allocations: 458.9 kB / 0.5349 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4714, allocations: 162.8 kB / 0.5351 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.4717, allocations: 172.2 kB / 0.5353 GB, free: 10.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004107/0.4721, allocations: 0.5859 MB / 0.5358 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.4725, allocations: 141.9 kB / 0.536 GB, free: 9.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009227/0.4734, allocations: 0.6816 MB / 0.5366 GB, free: 8.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.4749, allocations: 0.7834 MB / 0.5374 GB, free: 7.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4749, allocations: 4 kB / 0.5374 GB, free: 7.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001607/0.4765, allocations: 0.7769 MB / 0.5382 GB, free: 6.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4766, allocations: 12.97 kB / 0.5382 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.4766, allocations: 8 kB / 0.5382 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.478, allocations: 294.5 kB / 0.5385 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.4784, allocations: 123.8 kB / 0.5386 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.4799, allocations: 1.12 MB / 0.5397 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.4804, allocations: 31.98 kB / 0.5397 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.4805, allocations: 52 kB / 0.5398 GB, free: 5.008 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004395/0.481, allocations: 260.2 kB / 0.54 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4811, allocations: 75.66 kB / 0.5401 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.4826, allocations: 0.6056 MB / 0.5407 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4826, allocations: 4 kB / 0.5407 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4826, allocations: 4 kB / 0.5407 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4826, allocations: 0 / 0.5407 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.4852, allocations: 1.225 MB / 0.5419 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4852, allocations: 3.938 kB / 0.5419 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.4863, allocations: 195.9 kB / 0.5421 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.4865, allocations: 23.67 kB / 0.5421 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.4865, allocations: 23.98 kB / 0.5421 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.4902, allocations: 3.651 MB / 0.5457 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4902, allocations: 0 / 0.5457 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.4917, allocations: 0.7533 MB / 0.5464 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.492, allocations: 95.58 kB / 0.5465 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.4921, allocations: 12 kB / 0.5465 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.4925, allocations: 20.17 kB / 0.5465 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4926, allocations: 39.88 kB / 0.5466 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.4926, allocations: 39.92 kB / 0.5466 GB, free: 13.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005704/0.4932, allocations: 398.8 kB / 0.547 GB, free: 13.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4932, allocations: 0 / 0.547 GB, free: 13.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001087/0.4943, allocations: 295.7 kB / 0.5473 GB, free: 12.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.4954, allocations: 399.2 kB / 0.5477 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.4966, allocations: 486.5 kB / 0.5481 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4966, allocations: 0 / 0.5481 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4977, allocations: 441.2 kB / 0.5485 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.4993, allocations: 320.5 kB / 0.5488 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.5016, allocations: 1.176 MB / 0.55 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.502, allocations: 328 kB / 0.5503 GB, free: 9.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007544/0.5028, allocations: 223.8 kB / 0.5505 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.503, allocations: 88.47 kB / 0.5506 GB, free: 9.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.503, allocations: 0 / 0.5506 GB, free: 9.43 MB / 426.7 MB Notification: Performance of Templates: time 0.03268/0.5357, allocations: 16.4 MB / 0.5666 GB, free: 9.121 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.918452686979435]