Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00168/0.00168, allocations: 73.8 kB / 19.93 MB, free: 1.77 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: 171.7 kB / 23.22 MB, free: 4.887 MB / 14.72 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.762/1.762, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 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.2658/0.2658, allocations: 32.38 MB / 269.6 MB, free: 4.652 MB / 254.1 MB " [Timeout remaining time 179] 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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.612e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4448/0.4449, allocations: 129.5 MB / 0.5243 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.4463, allocations: 0.8811 MB / 0.5252 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.4464, allocations: 6.375 kB / 0.5252 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.4467, allocations: 22.94 kB / 0.5252 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007352/0.4474, allocations: 255.2 kB / 0.5254 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.4478, allocations: 127.2 kB / 0.5256 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.4481, allocations: 167.3 kB / 0.5257 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.4482, allocations: 8.938 kB / 0.5257 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.4484, allocations: 108.1 kB / 0.5258 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.4485, allocations: 45.03 kB / 0.5259 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.4486, allocations: 9.328 kB / 0.5259 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.4491, allocations: 251.6 kB / 0.5261 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.4492, allocations: 21.75 kB / 0.5261 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.4492, allocations: 37.33 kB / 0.5262 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.4498, allocations: 325.9 kB / 0.5265 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4498, allocations: 2.719 kB / 0.5265 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4498, allocations: 0 / 0.5265 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4498, allocations: 0 / 0.5265 GB, free: 8.25 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006205/0.4504, allocations: 327.3 kB / 0.5268 GB, free: 7.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4505, allocations: 10.78 kB / 0.5268 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.4526, allocations: 203.2 kB / 0.527 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.453, allocations: 154.3 kB / 0.5271 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.453, allocations: 3.312 kB / 0.5271 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.453, allocations: 16.19 kB / 0.5272 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.4536, allocations: 302.6 kB / 0.5275 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4536, allocations: 0 / 0.5275 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.4537, allocations: 4 kB / 0.5275 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4537, allocations: 2.531 kB / 0.5275 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.4541, allocations: 177.9 kB / 0.5276 GB, free: 7.312 MB / 414.1 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.001115/0.4552, allocations: 0.4914 MB / 0.5281 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.4556, allocations: 131.8 kB / 0.5282 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.4558, allocations: 77.12 kB / 0.5283 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.4558, allocations: 2.625 kB / 0.5283 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.4558, allocations: 30.56 kB / 0.5283 GB, free: 6.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4558, allocations: 2.531 kB / 0.5283 GB, free: 6.688 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00574/0.4616, allocations: 1.152 MB / 0.5295 GB, free: 6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.4616, allocations: 53.94 kB / 0.5295 GB, free: 5.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4618, allocations: 116.7 kB / 0.5296 GB, free: 5.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.4618, allocations: 25.7 kB / 0.5297 GB, free: 5.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.4619, allocations: 106.5 kB / 0.5298 GB, free: 5.688 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.462, allocations: 66.03 kB / 0.5298 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4621, allocations: 62.52 kB / 0.5299 GB, free: 5.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4622, allocations: 321.8 kB / 0.5302 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4624, allocations: 68.28 kB / 0.5303 GB, free: 5.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4626, allocations: 107.1 kB / 0.5304 GB, free: 5.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.4629, allocations: 184 kB / 0.5305 GB, free: 5.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.463, allocations: 0 / 0.5305 GB, free: 5.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000521/0.4635, allocations: 266.2 kB / 0.5308 GB, free: 4.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4635, allocations: 4.969 kB / 0.5308 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4635, allocations: 0 / 0.5308 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.4637, allocations: 53.48 kB / 0.5308 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.464, allocations: 51.89 kB / 0.5309 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005647/0.4646, allocations: 0.5638 MB / 0.5314 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4648, allocations: 15.08 kB / 0.5315 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.4648, allocations: 24.84 kB / 0.5315 GB, free: 4.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.465, allocations: 127.4 kB / 0.5316 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.465, allocations: 13.28 kB / 0.5316 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/0.4659, allocations: 345.8 kB / 0.5319 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4659, allocations: 2.594 kB / 0.5319 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4659, allocations: 0 / 0.5319 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4659, allocations: 0 / 0.5319 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4669, allocations: 0.5488 MB / 0.5325 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4669, allocations: 0 / 0.5325 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.4673, allocations: 61.2 kB / 0.5325 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.259e-05/0.4674, allocations: 27.69 kB / 0.5326 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.4674, allocations: 15.98 kB / 0.5326 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.4685, allocations: 1.231 MB / 0.5338 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4685, allocations: 2.188 kB / 0.5338 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.4693, allocations: 438.4 kB / 0.5342 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.4693, allocations: 21.83 kB / 0.5342 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4694, allocations: 4 kB / 0.5342 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4696, allocations: 5.188 kB / 0.5342 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.4697, allocations: 26.69 kB / 0.5343 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.4697, allocations: 32.02 kB / 0.5343 GB, free: 1.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.288e-05/0.4698, allocations: 88.45 kB / 0.5344 GB, free: 1.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4698, allocations: 0 / 0.5344 GB, free: 1.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.4702, allocations: 78.03 kB / 0.5344 GB, free: 1.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 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.0004289/0.4706, allocations: 152.9 kB / 0.5346 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.4712, allocations: 191.5 kB / 0.5348 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4712, allocations: 0 / 0.5348 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.4716, allocations: 217.8 kB / 0.535 GB, free: 1.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.4721, allocations: 61.98 kB / 0.535 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.473, allocations: 407.1 kB / 0.5354 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4731, allocations: 92.91 kB / 0.5355 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.4735, allocations: 76.55 kB / 0.5356 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.4736, allocations: 50.97 kB / 0.5356 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4736, allocations: 0 / 0.5356 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of Templates: time 0.01139/0.485, allocations: 5.541 MB / 0.5411 GB, free: 13.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.143085420131683]