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.001768/0.001768, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001831/0.001831, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.269/0.269, allocations: 46.93 MB / 360.8 MB, free: 4.293 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 - loaded program: time 0.002091/0.002091, allocations: 75.89 kB / 0.4966 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 66.03 MB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1948/0.5415, allocations: 152.7 MB / 0.7103 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.5432, allocations: 1.059 MB / 0.7113 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.5433, allocations: 0 / 0.7113 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.5435, allocations: 35.75 kB / 0.7114 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.5442, allocations: 278.5 kB / 0.7116 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.5446, allocations: 115.3 kB / 0.7117 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.5449, allocations: 187.2 kB / 0.7119 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.5449, allocations: 4 kB / 0.7119 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.5452, allocations: 103.5 kB / 0.712 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.5453, allocations: 55.83 kB / 0.7121 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.5453, allocations: 4 kB / 0.7121 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.5459, allocations: 271.7 kB / 0.7123 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.5459, allocations: 31.86 kB / 0.7124 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.546, allocations: 43.84 kB / 0.7124 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.5465, allocations: 282 kB / 0.7127 GB, free: 8.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5465, allocations: 4 kB / 0.7127 GB, free: 8.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5465, allocations: 0 / 0.7127 GB, free: 8.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5465, allocations: 0 / 0.7127 GB, free: 8.645 MB / 0.545 GB 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.0005899/0.5471, allocations: 333.8 kB / 0.713 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5471, allocations: 12.03 kB / 0.713 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.5493, allocations: 196.6 kB / 0.7132 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.5496, allocations: 161.7 kB / 0.7133 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.5497, allocations: 4 kB / 0.7133 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.5497, allocations: 11.94 kB / 0.7134 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.5502, allocations: 216.1 kB / 0.7136 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5503, allocations: 0 / 0.7136 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.5503, allocations: 8 kB / 0.7136 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5503, allocations: 4 kB / 0.7136 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.5508, allocations: 171.8 kB / 0.7137 GB, free: 7.48 MB / 0.545 GB 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.001257/0.552, allocations: 0.555 MB / 0.7143 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.5524, allocations: 138.5 kB / 0.7144 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5525, allocations: 64.83 kB / 0.7145 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.5526, allocations: 7.984 kB / 0.7145 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5526, allocations: 30.56 kB / 0.7145 GB, free: 6.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5526, allocations: 0 / 0.7145 GB, free: 6.617 MB / 0.545 GB 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.005496/0.5581, allocations: 1.161 MB / 0.7156 GB, free: 5.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.5582, allocations: 59.39 kB / 0.7157 GB, free: 5.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5583, allocations: 105.8 kB / 0.7158 GB, free: 5.219 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.5583, allocations: 33.7 kB / 0.7158 GB, free: 5.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.5584, allocations: 103.9 kB / 0.7159 GB, free: 5.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.5585, allocations: 67.42 kB / 0.716 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5586, allocations: 53.66 kB / 0.7161 GB, free: 4.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5587, allocations: 326.8 kB / 0.7164 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5589, allocations: 71.95 kB / 0.7164 GB, free: 4.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.5591, allocations: 103.2 kB / 0.7165 GB, free: 4.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.5595, allocations: 186.9 kB / 0.7167 GB, free: 4.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5595, allocations: 0 / 0.7167 GB, free: 4.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005236/0.56, allocations: 254.3 kB / 0.717 GB, free: 3.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.56, allocations: 4 kB / 0.717 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.56, allocations: 8.094 kB / 0.717 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.5602, allocations: 48.83 kB / 0.717 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.5605, allocations: 51.91 kB / 0.7171 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000493/0.561, allocations: 0.5679 MB / 0.7176 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.5612, allocations: 8.031 kB / 0.7176 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.5613, allocations: 28.08 kB / 0.7176 GB, free: 3.246 MB / 0.545 GB 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.0001409/0.5614, allocations: 121.8 kB / 0.7178 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.5615, allocations: 7.953 kB / 0.7178 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008725/0.5623, allocations: 354.1 kB / 0.7181 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5623, allocations: 4 kB / 0.7181 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5623, allocations: 3.938 kB / 0.7181 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5624, allocations: 8 kB / 0.7181 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5635, allocations: 0.5869 MB / 0.7187 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5635, allocations: 4 kB / 0.7187 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.5638, allocations: 63.89 kB / 0.7188 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.5639, allocations: 24.92 kB / 0.7188 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.5639, allocations: 12 kB / 0.7188 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.565, allocations: 1.271 MB / 0.72 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.565, allocations: 0 / 0.72 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.5658, allocations: 438.3 kB / 0.7205 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.5658, allocations: 7.984 kB / 0.7205 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.5658, allocations: 11.98 kB / 0.7205 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.5661, allocations: 4 kB / 0.7205 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.5662, allocations: 23.97 kB / 0.7205 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.5662, allocations: 23.98 kB / 0.7205 GB, free: 88 kB / 0.545 GB Notification: Performance of sorting global known variables: time 8.95e-05/0.5663, allocations: 95.56 kB / 0.7206 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5663, allocations: 4.062 kB / 0.7206 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004401/0.5667, allocations: 87.81 kB / 0.7207 GB, free: 15.9 MB / 0.5606 GB 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.0003774/0.5671, allocations: 151 kB / 0.7208 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.5677, allocations: 191.8 kB / 0.721 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5677, allocations: 0 / 0.721 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.568, allocations: 224.5 kB / 0.7212 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.5685, allocations: 48.33 kB / 0.7213 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.5694, allocations: 481.5 kB / 0.7218 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5698, allocations: 0.7125 MB / 0.7224 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002862/0.5701, allocations: 77.38 kB / 0.7225 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5703, allocations: 51.36 kB / 0.7226 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.5703, allocations: 3.938 kB / 0.7226 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.01107/0.5813, allocations: 5.779 MB / 0.7282 GB, free: 8.125 MB / 0.5606 GB " [Timeout remaining time 659] 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: 6.051970086060464]