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/ModelicaServices trunk/package.mo", uses=false) 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) 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(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/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 99.94 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 204.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002083, allocations: 12 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08413/0.08436, allocations: 51.48 MB / 358 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.272/0.3564, allocations: 127.4 MB / 485.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3579, allocations: 1.372 MB / 486.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.3579, allocations: 4 kB / 486.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.3582, allocations: 43.83 kB / 486.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.3584, allocations: 111.6 kB / 486.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.36, allocations: 0.6075 MB / 487.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3603, allocations: 179.7 kB / 487.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.3603, allocations: 9.438 kB / 487.7 MB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.3606, allocations: 167.6 kB / 487.9 MB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3608, allocations: 91.72 kB / 488 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3608, allocations: 4 kB / 488 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.3627, allocations: 1.201 MB / 489.2 MB, free: 9.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.3627, allocations: 63.84 kB / 489.2 MB, free: 9.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.3628, allocations: 61.64 kB / 489.3 MB, free: 9.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.3636, allocations: 0.5231 MB / 489.8 MB, free: 8.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3636, allocations: 8 kB / 489.8 MB, free: 8.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3636, allocations: 0 / 489.8 MB, free: 8.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3636, allocations: 0 / 489.8 MB, free: 8.617 MB / 398.1 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.001437/0.365, allocations: 0.6051 MB / 490.4 MB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3651, allocations: 12.03 kB / 490.5 MB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3652, allocations: 23.75 kB / 490.5 MB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3654, allocations: 214.8 kB / 490.7 MB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3655, allocations: 12.28 kB / 490.7 MB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.3655, allocations: 19.98 kB / 490.7 MB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.366, allocations: 261.4 kB / 491 MB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3661, allocations: 7.891 kB / 491 MB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.3661, allocations: 8 kB / 491 MB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3661, allocations: 4 kB / 491 MB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.3667, allocations: 264.9 kB / 491.3 MB, free: 7.105 MB / 398.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.001335/0.3681, allocations: 0.7859 MB / 492 MB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.3687, allocations: 217.2 kB / 492.3 MB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/0.369, allocations: 352.4 kB / 492.6 MB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.369, allocations: 38.56 kB / 492.6 MB, free: 5.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.369, allocations: 0 / 492.6 MB, free: 5.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002309/0.3713, allocations: 0.6786 MB / 493.3 MB, free: 4.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3714, allocations: 85.05 kB / 493.4 MB, free: 4.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.3715, allocations: 117.8 kB / 493.5 MB, free: 4.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3715, allocations: 33.7 kB / 493.5 MB, free: 4.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.3716, allocations: 108.8 kB / 493.7 MB, free: 4.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.3717, allocations: 130.1 kB / 493.8 MB, free: 4.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.3717, allocations: 4 kB / 493.8 MB, free: 4.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3718, allocations: 327.2 kB / 494.1 MB, free: 4.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.3722, allocations: 135.9 kB / 494.2 MB, free: 3.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.3726, allocations: 207.5 kB / 494.4 MB, free: 3.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.373, allocations: 155.9 kB / 494.6 MB, free: 3.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.373, allocations: 7.891 kB / 494.6 MB, free: 3.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009035/0.3739, allocations: 401.1 kB / 495 MB, free: 3.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.374, allocations: 4 kB / 495 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.374, allocations: 4 kB / 495 MB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.374, allocations: 8.219 kB / 495 MB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.3745, allocations: 87.88 kB / 495.1 MB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3745, allocations: 11.92 kB / 495.1 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.3748, allocations: 23.89 kB / 495.1 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.3749, allocations: 19.98 kB / 495.1 MB, free: 2.957 MB / 398.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.375, allocations: 145.7 kB / 495.3 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.3751, allocations: 15.86 kB / 495.3 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.3754, allocations: 178.3 kB / 495.5 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3754, allocations: 4 kB / 495.5 MB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3755, allocations: 4 kB / 495.5 MB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3755, allocations: 3.984 kB / 495.5 MB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.3771, allocations: 0.7479 MB / 496.2 MB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3771, allocations: 0 / 496.2 MB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.3775, allocations: 85.05 kB / 496.3 MB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3776, allocations: 4 kB / 496.3 MB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.3776, allocations: 15.94 kB / 496.3 MB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3776, allocations: 4 kB / 496.3 MB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3776, allocations: 3.938 kB / 496.3 MB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.379, allocations: 0.7695 MB / 497.1 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3791, allocations: 124.8 kB / 497.2 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3792, allocations: 16.02 kB / 497.3 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.3795, allocations: 20.92 kB / 497.3 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3796, allocations: 27.91 kB / 497.3 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.3796, allocations: 15.98 kB / 497.3 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.3797, allocations: 91.27 kB / 497.4 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.3797, allocations: 0 / 497.4 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005475/0.3802, allocations: 155.9 kB / 497.6 MB, free: 368 kB / 398.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.3807, allocations: 238.8 kB / 497.8 MB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008486/0.3815, allocations: 335.8 kB / 498.1 MB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3815, allocations: 0 / 498.1 MB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3819, allocations: 184.5 kB / 498.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.3825, allocations: 87.86 kB / 498.4 MB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3838, allocations: 0.7431 MB / 499.1 MB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3841, allocations: 0.7335 MB / 499.9 MB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.3845, allocations: 77.91 kB / 499.9 MB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3846, allocations: 31.42 kB / 500 MB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3846, allocations: 7.875 kB / 500 MB, free: 13.88 MB / 414.1 MB Notification: Performance of Templates: time 0.009003/0.3936, allocations: 5.688 MB / 0.4938 GB, free: 8.234 MB / 414.1 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/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