Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009426/0.0009426, allocations: 92.05 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009813/0.0009814, allocations: 51.92 kB / 356.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1987, allocations: 50.46 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3554/0.5541, allocations: 149.3 MB / 0.5433 GB, free: 11.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.5557, allocations: 1.592 MB / 0.5449 GB, free: 11.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.5558, allocations: 0 / 0.5449 GB, free: 11.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.5562, allocations: 59.97 kB / 0.545 GB, free: 11.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.5565, allocations: 147.8 kB / 0.5451 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.5589, allocations: 0.8862 MB / 0.546 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.5595, allocations: 479.6 kB / 0.5464 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.5596, allocations: 18.8 kB / 0.5464 GB, free: 11.06 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.5598, allocations: 136.1 kB / 0.5466 GB, free: 11.03 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.5601, allocations: 131 kB / 0.5467 GB, free: 11 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.5601, allocations: 12.73 kB / 0.5467 GB, free: 10.99 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.563, allocations: 1.678 MB / 0.5483 GB, free: 10.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.5631, allocations: 67.95 kB / 0.5484 GB, free: 10.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.5632, allocations: 93.72 kB / 0.5485 GB, free: 10.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.5648, allocations: 1.041 MB / 0.5495 GB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5648, allocations: 0 / 0.5495 GB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.5648, allocations: 1.094 kB / 0.5495 GB, free: 10.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.5649, allocations: 2.125 kB / 0.5495 GB, free: 10.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001715/0.5666, allocations: 0.6834 MB / 0.5502 GB, free: 9.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5666, allocations: 7.094 kB / 0.5502 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.5668, allocations: 16.97 kB / 0.5502 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.567, allocations: 219.6 kB / 0.5504 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.567, allocations: 13.86 kB / 0.5504 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.5671, allocations: 18.88 kB / 0.5505 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.5676, allocations: 258.3 kB / 0.5507 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5676, allocations: 0 / 0.5507 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.5677, allocations: 12.62 kB / 0.5507 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.5677, allocations: 8.297 kB / 0.5507 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.5683, allocations: 274.2 kB / 0.551 GB, free: 9.148 MB / 394.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.001395/0.5697, allocations: 0.7833 MB / 0.5517 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.5703, allocations: 220.7 kB / 0.552 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.5707, allocations: 136.8 kB / 0.5521 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.571, allocations: 354.7 kB / 0.5524 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.571, allocations: 40.94 kB / 0.5525 GB, free: 8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.571, allocations: 1.203 kB / 0.5525 GB, free: 8 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002369/0.5734, allocations: 0.6731 MB / 0.5531 GB, free: 7.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.5735, allocations: 81.95 kB / 0.5532 GB, free: 7.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.5736, allocations: 124 kB / 0.5533 GB, free: 7.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5736, allocations: 31.73 kB / 0.5533 GB, free: 7.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.5737, allocations: 102.4 kB / 0.5534 GB, free: 7.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.5738, allocations: 128.1 kB / 0.5536 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.5739, allocations: 70.47 kB / 0.5536 GB, free: 7.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.574, allocations: 327.4 kB / 0.5539 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.5744, allocations: 138.7 kB / 0.5541 GB, free: 7.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.5748, allocations: 204.4 kB / 0.5543 GB, free: 6.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007881/0.5756, allocations: 366.1 kB / 0.5546 GB, free: 6.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5756, allocations: 1.188 kB / 0.5546 GB, free: 6.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009157/0.5765, allocations: 406.7 kB / 0.555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5765, allocations: 10.69 kB / 0.555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5765, allocations: 2.531 kB / 0.555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5766, allocations: 4.094 kB / 0.555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.577, allocations: 88.06 kB / 0.5551 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5771, allocations: 6.594 kB / 0.5551 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.5774, allocations: 32.47 kB / 0.5552 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.5774, allocations: 20.06 kB / 0.5552 GB, free: 6.629 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * 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 0.0001266/0.5776, allocations: 140.6 kB / 0.5553 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.5777, allocations: 21.98 kB / 0.5553 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.578, allocations: 176.6 kB / 0.5555 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.578, allocations: 4.375 kB / 0.5555 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.578, allocations: 0.8125 kB / 0.5555 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.578, allocations: 1.203 kB / 0.5555 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.5797, allocations: 0.7629 MB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5797, allocations: 0 / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.5801, allocations: 80.78 kB / 0.5563 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5801, allocations: 7 kB / 0.5563 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.5802, allocations: 16.88 kB / 0.5563 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5802, allocations: 5.125 kB / 0.5563 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5802, allocations: 3.938 kB / 0.5564 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.5825, allocations: 1.705 MB / 0.558 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5827, allocations: 120.6 kB / 0.5581 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.5827, allocations: 6.062 kB / 0.5581 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.5831, allocations: 23.14 kB / 0.5582 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.5831, allocations: 29.62 kB / 0.5582 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.5832, allocations: 13.95 kB / 0.5582 GB, free: 4.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.5832, allocations: 98.58 kB / 0.5583 GB, free: 4.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.5832, allocations: 0 / 0.5583 GB, free: 4.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000649/0.5839, allocations: 158 kB / 0.5584 GB, free: 4.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * 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.0004482/0.5843, allocations: 245 kB / 0.5587 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008443/0.5852, allocations: 334 kB / 0.559 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5852, allocations: 0.8438 kB / 0.559 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.5856, allocations: 182 kB / 0.5592 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.5864, allocations: 93.17 kB / 0.5593 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.5879, allocations: 0.9305 MB / 0.5602 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5882, allocations: 0.7388 MB / 0.5609 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004073/0.5886, allocations: 80.98 kB / 0.561 GB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.5888, allocations: 34.64 kB / 0.561 GB, free: 2.707 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5888, allocations: 0 / 0.561 GB, free: 2.707 MB / 394.7 MB Notification: Performance of Templates: time 0.009693/0.5985, allocations: 5.982 MB / 0.5668 GB, free: 15.71 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches