Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2922/0.2922, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.096e-05, allocations: 3.297 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3506/0.3506, allocations: 170.9 MB / 0.5368 GB, free: 64 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00615/0.3568, allocations: 5.404 MB / 0.542 GB, free: 12.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/0.3575, allocations: 27.34 kB / 0.5421 GB, free: 12.42 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009766/0.3585, allocations: 309.8 kB / 0.5424 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.3616, allocations: 1.322 MB / 0.5436 GB, free: 11.53 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.3639, allocations: 1.005 MB / 0.5446 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.366, allocations: 1.884 MB / 0.5465 GB, free: 10.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.367, allocations: 413.9 kB / 0.5469 GB, free: 9.902 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3696, allocations: 1.348 MB / 0.5482 GB, free: 9.109 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3706, allocations: 0.6476 MB / 0.5488 GB, free: 8.766 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.3708, allocations: 63.06 kB / 0.5489 GB, free: 8.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.372, allocations: 0.5506 MB / 0.5494 GB, free: 8.523 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3723, allocations: 287.8 kB / 0.5497 GB, free: 8.328 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.3726, allocations: 291.6 kB / 0.55 GB, free: 8.188 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.3744, allocations: 1.09 MB / 0.551 GB, free: 7.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3744, allocations: 0 / 0.551 GB, free: 7.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3744, allocations: 0 / 0.551 GB, free: 7.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.3744, allocations: 0 / 0.551 GB, free: 7.547 MB / 426.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.002077/0.3765, allocations: 1.149 MB / 0.5521 GB, free: 6.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3765, allocations: 8.031 kB / 0.5522 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.3772, allocations: 227.2 kB / 0.5524 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.3779, allocations: 488 kB / 0.5528 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.378, allocations: 152.8 kB / 0.553 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.3781, allocations: 64.47 kB / 0.553 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/0.379, allocations: 1.002 MB / 0.554 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.379, allocations: 7.469 kB / 0.554 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.3791, allocations: 17.56 kB / 0.554 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.3791, allocations: 37.27 kB / 0.5541 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.3796, allocations: 313.5 kB / 0.5544 GB, free: 4.902 MB / 426.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.003308/0.3829, allocations: 3.883 MB / 0.5582 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.3833, allocations: 216.1 kB / 0.5584 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3834, allocations: 89.08 kB / 0.5585 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/0.3835, allocations: 16.28 kB / 0.5585 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3835, allocations: 45.66 kB / 0.5585 GB, free: 0.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.407e-06/0.3835, allocations: 0 / 0.5585 GB, free: 0.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002971/0.3865, allocations: 1.173 MB / 0.5597 GB, free: 15.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3866, allocations: 136.5 kB / 0.5598 GB, free: 15.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.387, allocations: 0.5374 MB / 0.5603 GB, free: 14.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.387, allocations: 37.7 kB / 0.5604 GB, free: 14.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3872, allocations: 431 kB / 0.5608 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.3873, allocations: 150.7 kB / 0.5609 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3875, allocations: 164.2 kB / 0.5611 GB, free: 13.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3876, allocations: 0.543 MB / 0.5616 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3878, allocations: 93.92 kB / 0.5617 GB, free: 13.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.3882, allocations: 0.619 MB / 0.5623 GB, free: 12.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.3888, allocations: 0.6567 MB / 0.5629 GB, free: 11.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3888, allocations: 4 kB / 0.5629 GB, free: 11.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001167/0.39, allocations: 0.6484 MB / 0.5636 GB, free: 10.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.39, allocations: 8 kB / 0.5636 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.39, allocations: 12 kB / 0.5636 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/0.3908, allocations: 257.9 kB / 0.5638 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.391, allocations: 123.8 kB / 0.564 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006745/0.3917, allocations: 0.9989 MB / 0.5649 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3919, allocations: 31.98 kB / 0.565 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.392, allocations: 58.73 kB / 0.565 GB, free: 9.387 MB / 442.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.0001903/0.3922, allocations: 208.3 kB / 0.5652 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.3923, allocations: 79.66 kB / 0.5653 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008775/0.3931, allocations: 0.6787 MB / 0.566 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3932, allocations: 8 kB / 0.566 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3932, allocations: 0 / 0.566 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.3932, allocations: 3.984 kB / 0.566 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3943, allocations: 0.9371 MB / 0.5669 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3943, allocations: 0 / 0.5669 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.3949, allocations: 204 kB / 0.5671 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.521e-05/0.395, allocations: 23.67 kB / 0.5671 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.395, allocations: 19.98 kB / 0.5671 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.3972, allocations: 3.547 MB / 0.5706 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3972, allocations: 11.92 kB / 0.5706 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.3978, allocations: 0.5999 MB / 0.5712 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.398, allocations: 99.58 kB / 0.5713 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.3981, allocations: 13.8 kB / 0.5713 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3982, allocations: 15.94 kB / 0.5713 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.3983, allocations: 39.94 kB / 0.5713 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.3984, allocations: 31.98 kB / 0.5714 GB, free: 2.496 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002696/0.3986, allocations: 338.8 kB / 0.5717 GB, free: 2.168 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3986, allocations: 4 kB / 0.5717 GB, free: 2.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007216/0.3994, allocations: 251.7 kB / 0.5719 GB, free: 1.918 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0005359/0.3999, allocations: 306.7 kB / 0.5722 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.4006, allocations: 378 kB / 0.5726 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4006, allocations: 0.5625 kB / 0.5726 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.4012, allocations: 393.8 kB / 0.573 GB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.402, allocations: 329.1 kB / 0.5733 GB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.4043, allocations: 1.144 MB / 0.5744 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4044, allocations: 166.4 kB / 0.5746 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007531/0.4052, allocations: 420 kB / 0.575 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.4054, allocations: 96.45 kB / 0.5751 GB, free: 14.65 MB / 458.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4054, allocations: 0 / 0.5751 GB, free: 14.65 MB / 458.7 MB Notification: Performance of Templates: time 0.0203/0.4257, allocations: 15.46 MB / 0.5902 GB, free: 15.42 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.9400527300313115]