Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001245/0.001245, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0008919/0.0008919, allocations: 165 kB / 24.99 MB, free: 8.801 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 0.9993/0.9993, allocations: 177 MB / 205.2 MB, free: 5.574 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.2581/0.2581, allocations: 34.87 MB / 296.6 MB, free: 0.5742 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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.517e-05, allocations: 2.312 kB / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3284/0.3284, allocations: 170.9 MB / 0.5368 GB, free: 76 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006145/0.3345, allocations: 5.409 MB / 0.542 GB, free: 12.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.3349, allocations: 26.72 kB / 0.5421 GB, free: 12.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.3357, allocations: 311.1 kB / 0.5424 GB, free: 12.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.338, allocations: 1.313 MB / 0.5436 GB, free: 11.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.3397, allocations: 1.016 MB / 0.5446 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.3411, allocations: 1.876 MB / 0.5465 GB, free: 10.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005258/0.3417, allocations: 411.1 kB / 0.5469 GB, free: 9.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.3435, allocations: 1.351 MB / 0.5482 GB, free: 9.129 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.3442, allocations: 0.64 MB / 0.5488 GB, free: 8.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.264e-05/0.3443, allocations: 59.69 kB / 0.5489 GB, free: 8.797 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.3451, allocations: 0.5577 MB / 0.5494 GB, free: 8.551 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.3453, allocations: 296.8 kB / 0.5497 GB, free: 8.344 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.3455, allocations: 282.7 kB / 0.55 GB, free: 8.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3465, allocations: 1.091 MB / 0.551 GB, free: 7.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3465, allocations: 2.438 kB / 0.551 GB, free: 7.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3465, allocations: 0 / 0.551 GB, free: 7.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3466, allocations: 0 / 0.551 GB, free: 7.57 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.001551/0.3481, allocations: 1.149 MB / 0.5522 GB, free: 6.684 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3481, allocations: 8.938 kB / 0.5522 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.3488, allocations: 233.5 kB / 0.5524 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.3493, allocations: 484.8 kB / 0.5528 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.3494, allocations: 160.7 kB / 0.553 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.3495, allocations: 56.73 kB / 0.5531 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.3502, allocations: 0.9987 MB / 0.554 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3503, allocations: 7.062 kB / 0.554 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.3503, allocations: 28.98 kB / 0.5541 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.3504, allocations: 37.17 kB / 0.5541 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.3508, allocations: 310 kB / 0.5544 GB, free: 4.918 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.002473/0.3533, allocations: 3.878 MB / 0.5582 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3536, allocations: 216.1 kB / 0.5584 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3537, allocations: 88.2 kB / 0.5585 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.85e-05/0.3538, allocations: 12.28 kB / 0.5585 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3538, allocations: 49.66 kB / 0.5585 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 5.491e-06/0.3538, allocations: 0 / 0.5585 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002717/0.3565, allocations: 1.162 MB / 0.5597 GB, free: 15.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002775/0.3568, allocations: 136.5 kB / 0.5598 GB, free: 15.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.3572, allocations: 0.5413 MB / 0.5603 GB, free: 14.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3572, allocations: 41.7 kB / 0.5604 GB, free: 14.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3574, allocations: 427 kB / 0.5608 GB, free: 14.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-05/0.3575, allocations: 154.7 kB / 0.5609 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3577, allocations: 164.2 kB / 0.5611 GB, free: 13.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3578, allocations: 0.543 MB / 0.5616 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.358, allocations: 89.92 kB / 0.5617 GB, free: 13.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.3583, allocations: 0.6229 MB / 0.5623 GB, free: 12.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.3588, allocations: 0.6567 MB / 0.5629 GB, free: 11.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3588, allocations: 4 kB / 0.5629 GB, free: 11.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007542/0.3596, allocations: 0.6487 MB / 0.5636 GB, free: 10.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3596, allocations: 8 kB / 0.5636 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3596, allocations: 12 kB / 0.5636 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.3603, allocations: 252.2 kB / 0.5638 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.3605, allocations: 119.8 kB / 0.564 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.3611, allocations: 1.005 MB / 0.5649 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3613, allocations: 31.98 kB / 0.565 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.3614, allocations: 58.73 kB / 0.565 GB, free: 9.398 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.0001707/0.3616, allocations: 208.3 kB / 0.5652 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.3617, allocations: 71.62 kB / 0.5653 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/0.3625, allocations: 0.6913 MB / 0.566 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3625, allocations: 4 kB / 0.566 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3625, allocations: 2.688 kB / 0.566 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3625, allocations: 3.984 kB / 0.566 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3636, allocations: 0.945 MB / 0.5669 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3636, allocations: 0 / 0.5669 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.3641, allocations: 196 kB / 0.5671 GB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.809e-05/0.3641, allocations: 27.67 kB / 0.5671 GB, free: 7.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3642, allocations: 19.98 kB / 0.5671 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.3655, allocations: 3.555 MB / 0.5706 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3655, allocations: 4 kB / 0.5706 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.3661, allocations: 0.6036 MB / 0.5712 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3662, allocations: 95.58 kB / 0.5713 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.3663, allocations: 15.98 kB / 0.5713 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3665, allocations: 24.03 kB / 0.5713 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3665, allocations: 39.88 kB / 0.5714 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.3666, allocations: 35.98 kB / 0.5714 GB, free: 2.488 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002582/0.3668, allocations: 338.8 kB / 0.5717 GB, free: 2.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3668, allocations: 4 kB / 0.5717 GB, free: 2.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006074/0.3674, allocations: 251.7 kB / 0.572 GB, free: 1.91 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.0004826/0.3679, allocations: 287.6 kB / 0.5722 GB, free: 1.621 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.3685, allocations: 381.1 kB / 0.5726 GB, free: 1.246 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3685, allocations: 1.5 kB / 0.5726 GB, free: 1.246 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.369, allocations: 398.1 kB / 0.573 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/0.3698, allocations: 321.2 kB / 0.5733 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.3716, allocations: 1.142 MB / 0.5744 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3717, allocations: 170.4 kB / 0.5746 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005627/0.3723, allocations: 418.4 kB / 0.575 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.3724, allocations: 92.47 kB / 0.575 GB, free: 14.66 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3724, allocations: 0 / 0.575 GB, free: 14.66 MB / 458.7 MB Notification: Performance of Templates: time 0.01707/0.3895, allocations: 15.46 MB / 0.5902 GB, free: 15.43 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.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.758854202926159]