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.00107/0.00107, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.0011/0.0011, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.263/1.263, allocations: 205.1 MB / 225.1 MB, free: 12.24 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.001181/0.001181, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07169/0.07288, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2819/0.3548, allocations: 152.7 MB / 481.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000793/0.3557, allocations: 0.5882 MB / 482 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.3557, allocations: 0 / 482 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.3561, allocations: 63.64 kB / 482.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3564, allocations: 157.8 kB / 482.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.3588, allocations: 1.077 MB / 483.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.3592, allocations: 326.9 kB / 483.6 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.3592, allocations: 9.453 kB / 483.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3594, allocations: 163.2 kB / 483.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3597, allocations: 127.6 kB / 483.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3597, allocations: 12 kB / 483.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.3619, allocations: 1.614 MB / 485.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.362, allocations: 67.83 kB / 485.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3622, allocations: 95.64 kB / 485.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3634, allocations: 0.994 MB / 486.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3635, allocations: 0 / 486.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3635, allocations: 0 / 486.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3635, allocations: 0 / 486.7 MB, free: 8.508 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.001589/0.3651, allocations: 0.6793 MB / 487.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3651, allocations: 9.25 kB / 487.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3653, allocations: 20.75 kB / 487.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3655, allocations: 211.9 kB / 487.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3655, allocations: 20.27 kB / 487.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.3656, allocations: 12 kB / 487.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.3661, allocations: 269.4 kB / 487.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3662, allocations: 0 / 487.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.3662, allocations: 8 kB / 487.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3662, allocations: 4 kB / 487.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.3668, allocations: 267.7 kB / 488.2 MB, free: 6.93 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.00137/0.3682, allocations: 0.7905 MB / 489 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.3688, allocations: 225.2 kB / 489.2 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3691, allocations: 135 kB / 489.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.3694, allocations: 356.3 kB / 489.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3695, allocations: 42.5 kB / 489.7 MB, free: 5.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.3695, allocations: 4 kB / 489.7 MB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002319/0.3718, allocations: 0.6623 MB / 490.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3719, allocations: 81.11 kB / 490.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.3719, allocations: 121.8 kB / 490.6 MB, free: 4.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.372, allocations: 41.64 kB / 490.6 MB, free: 4.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.372, allocations: 108.8 kB / 490.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.3721, allocations: 126.2 kB / 490.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3723, allocations: 73.55 kB / 490.9 MB, free: 3.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3724, allocations: 326.8 kB / 491.2 MB, free: 3.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.3727, allocations: 130.9 kB / 491.4 MB, free: 3.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.3731, allocations: 211.6 kB / 491.6 MB, free: 3.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.3739, allocations: 363.9 kB / 491.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3739, allocations: 0 / 491.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000911/0.3748, allocations: 409.3 kB / 492.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3748, allocations: 4 kB / 492.3 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3749, allocations: 4 kB / 492.3 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3749, allocations: 4 kB / 492.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.3754, allocations: 83.88 kB / 492.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3754, allocations: 8.156 kB / 492.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3757, allocations: 35.83 kB / 492.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.3757, allocations: 11.98 kB / 492.5 MB, free: 2.332 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.0001268/0.3759, allocations: 149.6 kB / 492.6 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.376, allocations: 19.8 kB / 492.6 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.3763, allocations: 174.1 kB / 492.8 MB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3763, allocations: 4 kB / 492.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3763, allocations: 0 / 492.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3764, allocations: 7.922 kB / 492.8 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.3779, allocations: 0.7598 MB / 493.6 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3779, allocations: 0 / 493.6 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.3784, allocations: 87.81 kB / 493.7 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3784, allocations: 4 kB / 493.7 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.3785, allocations: 8 kB / 493.7 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3785, allocations: 0 / 493.7 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3785, allocations: 11.92 kB / 493.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3797, allocations: 0.7022 MB / 494.4 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3799, allocations: 124.8 kB / 494.5 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.3799, allocations: 12 kB / 494.5 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3803, allocations: 24.05 kB / 494.6 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.3803, allocations: 31.89 kB / 494.6 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.3804, allocations: 8 kB / 494.6 MB, free: 88 kB / 382.1 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.3805, allocations: 99.58 kB / 494.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3805, allocations: 0 / 494.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005418/0.381, allocations: 151.9 kB / 494.8 MB, free: 15.84 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.0004114/0.3814, allocations: 238.9 kB / 495.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.3823, allocations: 339.5 kB / 495.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3823, allocations: 4.438 kB / 495.4 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3827, allocations: 180.4 kB / 495.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.3834, allocations: 94.67 kB / 495.7 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3847, allocations: 0.6094 MB / 496.3 MB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3849, allocations: 0.7371 MB / 497 MB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.3852, allocations: 81.83 kB / 497.1 MB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3854, allocations: 31.42 kB / 497.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3854, allocations: 0 / 497.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.009872/0.3953, allocations: 6.066 MB / 0.4914 GB, free: 7.41 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 cvode -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