Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 104.4 kB / 18.35 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 191 kB / 19.29 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07187/0.07305, allocations: 46.62 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2808/0.3539, allocations: 152.7 MB / 481.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.3547, allocations: 0.5921 MB / 482 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.3548, allocations: 4 kB / 482 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.3551, allocations: 59.64 kB / 482.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.3555, allocations: 150.3 kB / 482.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3581, allocations: 1.087 MB / 483.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3585, allocations: 330.8 kB / 483.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3585, allocations: 9.453 kB / 483.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.3587, allocations: 147.5 kB / 483.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.359, allocations: 123.6 kB / 483.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.359, allocations: 16 kB / 483.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.3614, allocations: 1.614 MB / 485.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.3615, allocations: 71.83 kB / 485.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3616, allocations: 95.53 kB / 485.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.3629, allocations: 0.9954 MB / 486.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3629, allocations: 0 / 486.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3629, allocations: 0 / 486.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.3629, allocations: 0 / 486.7 MB, free: 8.547 MB / 382.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.001583/0.3645, allocations: 0.6715 MB / 487.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3646, allocations: 12.03 kB / 487.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3647, allocations: 28.73 kB / 487.4 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.365, allocations: 217.3 kB / 487.6 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.365, allocations: 8.328 kB / 487.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3651, allocations: 16 kB / 487.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.3656, allocations: 265.4 kB / 487.9 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3656, allocations: 4 kB / 487.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3657, allocations: 8 kB / 487.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3657, allocations: 11.94 kB / 487.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.3663, allocations: 259.8 kB / 488.2 MB, free: 6.969 MB / 382.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.001339/0.3676, allocations: 0.7897 MB / 489 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.3683, allocations: 229.2 kB / 489.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3686, allocations: 129.6 kB / 489.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.3689, allocations: 360.3 kB / 489.7 MB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3689, allocations: 38.55 kB / 489.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.006e-06/0.3689, allocations: 4 kB / 489.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002278/0.3712, allocations: 0.6713 MB / 490.4 MB, free: 4.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3713, allocations: 81.11 kB / 490.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3714, allocations: 121.8 kB / 490.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3714, allocations: 30.08 kB / 490.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.3714, allocations: 112.8 kB / 490.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/0.3715, allocations: 122.2 kB / 490.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3717, allocations: 69.55 kB / 490.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.3717, allocations: 330.8 kB / 491.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3721, allocations: 131.9 kB / 491.4 MB, free: 3.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.3725, allocations: 211.5 kB / 491.6 MB, free: 3.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.3733, allocations: 364.8 kB / 491.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3733, allocations: 4 kB / 491.9 MB, free: 2.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009049/0.3742, allocations: 401.3 kB / 492.3 MB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3742, allocations: 15.92 kB / 492.3 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3742, allocations: 0 / 492.3 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3742, allocations: 4 kB / 492.4 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.3747, allocations: 87.88 kB / 492.4 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3747, allocations: 4.781 kB / 492.4 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.3751, allocations: 35.86 kB / 492.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.3751, allocations: 19.98 kB / 492.5 MB, free: 2.363 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3752, allocations: 145.7 kB / 492.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.3753, allocations: 15.81 kB / 492.7 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.3757, allocations: 173.3 kB / 492.8 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3757, allocations: 4 kB / 492.8 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3757, allocations: 4 kB / 492.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3757, allocations: 3.984 kB / 492.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.3772, allocations: 0.7636 MB / 493.6 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3772, allocations: 4 kB / 493.6 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.3777, allocations: 75.83 kB / 493.7 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.3777, allocations: 7.984 kB / 493.7 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.3777, allocations: 12 kB / 493.7 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3778, allocations: 4 kB / 493.7 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3778, allocations: 0 / 493.7 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.379, allocations: 0.7099 MB / 494.4 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3792, allocations: 124.8 kB / 494.5 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.3792, allocations: 4 kB / 494.5 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.3796, allocations: 24.05 kB / 494.6 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.3796, allocations: 27.95 kB / 494.6 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3796, allocations: 23.92 kB / 494.6 MB, free: 116 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.3797, allocations: 95.2 kB / 494.7 MB, free: 20 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3797, allocations: 0 / 494.7 MB, free: 20 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.3803, allocations: 147.9 kB / 494.8 MB, free: 15.88 MB / 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 (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.0004248/0.3807, allocations: 234.9 kB / 495.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008178/0.3815, allocations: 347.5 kB / 495.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3815, allocations: 448 / 495.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3819, allocations: 176.5 kB / 495.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.3826, allocations: 90.38 kB / 495.7 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3839, allocations: 0.6133 MB / 496.3 MB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3841, allocations: 0.7332 MB / 497 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.3844, allocations: 85.86 kB / 497.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3846, allocations: 35.42 kB / 497.1 MB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3846, allocations: 0 / 497.1 MB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.009653/0.3942, allocations: 6.061 MB / 0.4914 GB, free: 7.453 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches