Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.00103/0.00103, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001365/0.001365, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2854/0.2854, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] 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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.497e-05, allocations: 5.969 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3369/0.337, allocations: 145.8 MB / 0.5115 GB, free: 18.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3396, allocations: 3.31 MB / 0.5148 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3397, allocations: 0 / 0.5148 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.3401, allocations: 58.25 kB / 0.5148 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.3423, allocations: 1.124 MB / 0.5159 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.3427, allocations: 206.5 kB / 0.5161 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.3431, allocations: 367.7 kB / 0.5165 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3431, allocations: 7.125 kB / 0.5165 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.3434, allocations: 211.7 kB / 0.5167 GB, free: 15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3435, allocations: 109.5 kB / 0.5168 GB, free: 14.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.3436, allocations: 14.91 kB / 0.5168 GB, free: 14.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.3455, allocations: 1.362 MB / 0.5181 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.3456, allocations: 80.06 kB / 0.5182 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.3457, allocations: 90.12 kB / 0.5183 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.3469, allocations: 1.032 MB / 0.5193 GB, free: 14.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3469, allocations: 0 / 0.5193 GB, free: 14.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3469, allocations: 4 kB / 0.5193 GB, free: 14.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3469, allocations: 0 / 0.5193 GB, free: 14.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007376/0.3476, allocations: 0.5903 MB / 0.5199 GB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3477, allocations: 8.781 kB / 0.5199 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.3486, allocations: 267.4 kB / 0.5202 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3488, allocations: 197.1 kB / 0.5203 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3488, allocations: 13.28 kB / 0.5204 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.3489, allocations: 22.56 kB / 0.5204 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.3493, allocations: 486 kB / 0.5208 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3493, allocations: 0 / 0.5208 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.3493, allocations: 7.469 kB / 0.5208 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.3493, allocations: 12.28 kB / 0.5209 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.3496, allocations: 216.8 kB / 0.5211 GB, free: 13.03 MB / 410.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.0009882/0.3506, allocations: 0.7629 MB / 0.5218 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3508, allocations: 205.2 kB / 0.522 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.3509, allocations: 89.06 kB / 0.5221 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/0.3517, allocations: 316.2 kB / 0.5224 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3517, allocations: 39.95 kB / 0.5224 GB, free: 12.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.3517, allocations: 0 / 0.5224 GB, free: 12.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007055/0.3524, allocations: 351 kB / 0.5228 GB, free: 12.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.3524, allocations: 83.14 kB / 0.5228 GB, free: 12.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.3525, allocations: 176 kB / 0.523 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3525, allocations: 29.7 kB / 0.523 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.3525, allocations: 157.7 kB / 0.5232 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.3526, allocations: 122.5 kB / 0.5233 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.3527, allocations: 66.02 kB / 0.5234 GB, free: 11.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.3527, allocations: 0.4986 MB / 0.5239 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.3528, allocations: 56.59 kB / 0.5239 GB, free: 11.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3529, allocations: 187 kB / 0.5241 GB, free: 10.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.3531, allocations: 275.2 kB / 0.5244 GB, free: 10.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3531, allocations: 2.844 kB / 0.5244 GB, free: 10.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003402/0.3535, allocations: 302.5 kB / 0.5246 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3535, allocations: 9.406 kB / 0.5247 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3535, allocations: 3.125 kB / 0.5247 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3535, allocations: 7.734 kB / 0.5247 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3537, allocations: 72.28 kB / 0.5247 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3537, allocations: 5.844 kB / 0.5247 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.3538, allocations: 29.66 kB / 0.5248 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.3538, allocations: 20.53 kB / 0.5248 GB, free: 10.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.3539, allocations: 170.2 kB / 0.5249 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.354, allocations: 43.27 kB / 0.525 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.3543, allocations: 289.9 kB / 0.5253 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3543, allocations: 2.375 kB / 0.5253 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3543, allocations: 3.5 kB / 0.5253 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3543, allocations: 2.438 kB / 0.5253 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3546, allocations: 233.5 kB / 0.5255 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3546, allocations: 7.875 kB / 0.5255 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3548, allocations: 53.45 kB / 0.5256 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3548, allocations: 7 kB / 0.5256 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3548, allocations: 13.78 kB / 0.5256 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3548, allocations: 0 / 0.5256 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3548, allocations: 2.625 kB / 0.5256 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.3552, allocations: 0.5674 MB / 0.5261 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.3552, allocations: 17.38 kB / 0.5261 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3553, allocations: 12.86 kB / 0.5262 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3554, allocations: 16.33 kB / 0.5262 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.3554, allocations: 18.3 kB / 0.5262 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.3555, allocations: 19.69 kB / 0.5262 GB, free: 9.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.3555, allocations: 138.1 kB / 0.5263 GB, free: 9.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3555, allocations: 0 / 0.5263 GB, free: 9.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006634/0.3562, allocations: 241.7 kB / 0.5266 GB, free: 9.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007032/0.3569, allocations: 477.5 kB / 0.527 GB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.3571, allocations: 217.8 kB / 0.5272 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3571, allocations: 2.969 kB / 0.5272 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/0.3572, allocations: 109.2 kB / 0.5273 GB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.3576, allocations: 106.5 kB / 0.5274 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.3586, allocations: 0.5707 MB / 0.528 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.3587, allocations: 84.91 kB / 0.5281 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.3588, allocations: 77.38 kB / 0.5282 GB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3589, allocations: 39.23 kB / 0.5282 GB, free: 8.602 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3589, allocations: 0 / 0.5282 GB, free: 8.602 MB / 410.7 MB Notification: Performance of Templates: time 0.01013/0.3691, allocations: 10.19 MB / 0.5381 GB, free: 5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7315280698239803]