Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.001384/0.001384, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001642/0.001642, allocations: 216 kB / 24.47 MB, free: 3.777 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.406/1.406, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 62.89 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2467, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1923/0.439, allocations: 129.8 MB / 0.5142 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.4413, allocations: 1.34 MB / 0.5156 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.4414, allocations: 0 / 0.5156 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.4418, allocations: 47.75 kB / 0.5156 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.443, allocations: 397.9 kB / 0.516 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.4436, allocations: 163.5 kB / 0.5161 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.4439, allocations: 195.2 kB / 0.5163 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.4439, allocations: 7.938 kB / 0.5163 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.4441, allocations: 75.75 kB / 0.5164 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.4443, allocations: 63.69 kB / 0.5165 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.4443, allocations: 4 kB / 0.5165 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.4455, allocations: 0.5222 MB / 0.517 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.4456, allocations: 23.97 kB / 0.517 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.4457, allocations: 55.73 kB / 0.5171 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008492/0.4465, allocations: 381.5 kB / 0.5174 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4466, allocations: 7.938 kB / 0.5174 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4466, allocations: 0 / 0.5174 GB, free: 13.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4466, allocations: 0 / 0.5174 GB, free: 13.72 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006116/0.4472, allocations: 349.8 kB / 0.5178 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4472, allocations: 15.98 kB / 0.5178 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.4496, allocations: 192.6 kB / 0.518 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.4499, allocations: 146.5 kB / 0.5181 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.45, allocations: 20.11 kB / 0.5181 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.45, allocations: 12 kB / 0.5181 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.4506, allocations: 278.5 kB / 0.5184 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4506, allocations: 0 / 0.5184 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.4506, allocations: 8 kB / 0.5184 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4507, allocations: 0 / 0.5184 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.4513, allocations: 243.8 kB / 0.5186 GB, free: 12.4 MB / 446.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.001825/0.4531, allocations: 0.5479 MB / 0.5192 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.4536, allocations: 182.4 kB / 0.5193 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.4538, allocations: 92.81 kB / 0.5194 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.4539, allocations: 19.98 kB / 0.5195 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.454, allocations: 34.56 kB / 0.5195 GB, free: 11.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.454, allocations: 0 / 0.5195 GB, free: 11.48 MB / 446.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.006275/0.4603, allocations: 1.392 MB / 0.5208 GB, free: 10 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4603, allocations: 55.41 kB / 0.5209 GB, free: 9.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.4604, allocations: 105.8 kB / 0.521 GB, free: 9.824 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.4604, allocations: 33.7 kB / 0.521 GB, free: 9.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.4605, allocations: 96.34 kB / 0.5211 GB, free: 9.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.4606, allocations: 75.42 kB / 0.5212 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.4607, allocations: 37.7 kB / 0.5212 GB, free: 9.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4608, allocations: 322.8 kB / 0.5215 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.4611, allocations: 91.95 kB / 0.5216 GB, free: 9.156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.4614, allocations: 131.2 kB / 0.5218 GB, free: 9.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.4618, allocations: 219.3 kB / 0.522 GB, free: 8.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4618, allocations: 3.938 kB / 0.522 GB, free: 8.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006655/0.4625, allocations: 286.3 kB / 0.5222 GB, free: 8.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4625, allocations: 11.94 kB / 0.5222 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4625, allocations: 0 / 0.5222 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.4627, allocations: 20.84 kB / 0.5223 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4632, allocations: 59.89 kB / 0.5223 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004265/0.4636, allocations: 0.5368 MB / 0.5228 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.4639, allocations: 8.219 kB / 0.5229 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.464, allocations: 15.98 kB / 0.5229 GB, free: 7.816 MB / 446.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.000145/0.4641, allocations: 129.7 kB / 0.523 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.4642, allocations: 7.953 kB / 0.523 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008295/0.465, allocations: 319 kB / 0.5233 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.465, allocations: 3.938 kB / 0.5233 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.465, allocations: 0 / 0.5233 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.465, allocations: 3.938 kB / 0.5233 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.4662, allocations: 0.5856 MB / 0.5239 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4662, allocations: 4.031 kB / 0.5239 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.4667, allocations: 55.95 kB / 0.5239 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.4667, allocations: 20.84 kB / 0.524 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.4668, allocations: 4 kB / 0.524 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.4678, allocations: 1.244 MB / 0.5252 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.4678, allocations: 4.188 kB / 0.5252 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/0.4688, allocations: 463 kB / 0.5256 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.4688, allocations: 7.984 kB / 0.5256 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4688, allocations: 8 kB / 0.5256 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.4692, allocations: 11.92 kB / 0.5257 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.4692, allocations: 23.91 kB / 0.5257 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.4693, allocations: 4 kB / 0.5257 GB, free: 4.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.4693, allocations: 95.62 kB / 0.5258 GB, free: 4.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4693, allocations: 4 kB / 0.5258 GB, free: 4.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.4699, allocations: 131.7 kB / 0.5259 GB, free: 4.512 MB / 446.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 (19): * Single equations (assignments): 18 * 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.0007229/0.4706, allocations: 254.8 kB / 0.5261 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006785/0.4713, allocations: 219.8 kB / 0.5264 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4713, allocations: 0 / 0.5264 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.4718, allocations: 246.7 kB / 0.5266 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.4722, allocations: 49.09 kB / 0.5266 GB, free: 3.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4734, allocations: 476.4 kB / 0.5271 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4735, allocations: 97.97 kB / 0.5272 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003214/0.4738, allocations: 49.62 kB / 0.5272 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.4739, allocations: 27.42 kB / 0.5273 GB, free: 3.043 MB / 446.1 MB Notification: Performance of SimCode: time 5.2e-07/0.4739, allocations: 0 / 0.5273 GB, free: 3.043 MB / 446.1 MB Notification: Performance of Templates: time 0.01222/0.4862, allocations: 6.486 MB / 0.5336 GB, free: 12.53 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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: 4.9601517878472805]