Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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.0009086/0.0009128, allocations: 94.39 kB / 16.3 MB, free: 6.133 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.0008683/0.0008684, allocations: 179 kB / 17.2 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002294, allocations: 11.94 kB / 300.7 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.07921, allocations: 50.41 MB / 351.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2675/0.3468, allocations: 127.3 MB / 478.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3482, allocations: 1.361 MB / 479.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.3483, allocations: 4 kB / 479.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.3485, allocations: 43.78 kB / 479.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.3487, allocations: 115.7 kB / 480 MB, free: 4.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3502, allocations: 0.5981 MB / 480.6 MB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3504, allocations: 183.7 kB / 480.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3505, allocations: 17.42 kB / 480.7 MB, free: 3.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.3508, allocations: 167.5 kB / 480.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3509, allocations: 87.72 kB / 481 MB, free: 3.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.351, allocations: 8 kB / 481 MB, free: 3.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.3526, allocations: 1.166 MB / 482.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.3527, allocations: 63.8 kB / 482.2 MB, free: 2.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3528, allocations: 53.64 kB / 482.3 MB, free: 2.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.3534, allocations: 0.5075 MB / 482.8 MB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3534, allocations: 4 kB / 482.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3534, allocations: 4 kB / 482.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.3535, allocations: 0 / 482.8 MB, free: 1.832 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.001423/0.3549, allocations: 0.6089 MB / 483.4 MB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.3549, allocations: 14.75 kB / 483.4 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3551, allocations: 27.8 kB / 483.5 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3553, allocations: 202.9 kB / 483.7 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3553, allocations: 12.33 kB / 483.7 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.3553, allocations: 19.94 kB / 483.7 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.3559, allocations: 257.4 kB / 483.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3559, allocations: 8.781 kB / 483.9 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.3559, allocations: 11.95 kB / 484 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3559, allocations: 8 kB / 484 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.3566, allocations: 267.7 kB / 484.2 MB, free: 324 kB / 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.001312/0.3579, allocations: 0.782 MB / 485 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.3585, allocations: 221.2 kB / 485.2 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.3588, allocations: 364.4 kB / 485.6 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3588, allocations: 30.56 kB / 485.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.3588, allocations: 0 / 485.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002333/0.3612, allocations: 0.6752 MB / 486.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3612, allocations: 85.05 kB / 486.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.3613, allocations: 121.8 kB / 486.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3613, allocations: 31.2 kB / 486.5 MB, free: 13.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.3614, allocations: 104.8 kB / 486.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.3615, allocations: 130.1 kB / 486.7 MB, free: 13.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.3615, allocations: 12 kB / 486.8 MB, free: 13.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.3616, allocations: 330.8 kB / 487.1 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.362, allocations: 131.9 kB / 487.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.3624, allocations: 203.5 kB / 487.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.3628, allocations: 155.3 kB / 487.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3628, allocations: 0 / 487.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009012/0.3637, allocations: 405.1 kB / 488 MB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3637, allocations: 8 kB / 488 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3637, allocations: 5.625 kB / 488 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3638, allocations: 7.953 kB / 488 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.3642, allocations: 87.88 kB / 488.1 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3643, allocations: 4 kB / 488.1 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.3646, allocations: 32.47 kB / 488.1 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.3646, allocations: 16 kB / 488.1 MB, free: 12.17 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.0001273/0.3647, allocations: 141.8 kB / 488.3 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.3648, allocations: 11.91 kB / 488.3 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.3652, allocations: 186.9 kB / 488.4 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3652, allocations: 7.953 kB / 488.5 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3652, allocations: 0 / 488.5 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3652, allocations: 7.922 kB / 488.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3668, allocations: 0.7546 MB / 489.2 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3668, allocations: 4 kB / 489.2 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.3673, allocations: 84.69 kB / 489.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3673, allocations: 4 kB / 489.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3673, allocations: 8 kB / 489.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.3673, allocations: 12.14 kB / 489.3 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3673, allocations: 0 / 489.3 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3686, allocations: 0.7746 MB / 490.1 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3688, allocations: 116.8 kB / 490.2 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.3688, allocations: 16 kB / 490.2 MB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.3692, allocations: 23.97 kB / 490.3 MB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3692, allocations: 31.98 kB / 490.3 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.3693, allocations: 8 kB / 490.3 MB, free: 9.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.3693, allocations: 99.27 kB / 490.4 MB, free: 9.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3693, allocations: 0 / 490.4 MB, free: 9.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.3699, allocations: 135.9 kB / 490.5 MB, free: 9.582 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 (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.0003978/0.3703, allocations: 231 kB / 490.7 MB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.3711, allocations: 336.6 kB / 491.1 MB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3711, allocations: 0 / 491.1 MB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.3715, allocations: 187 kB / 491.3 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.3721, allocations: 92.38 kB / 491.3 MB, free: 8.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3735, allocations: 0.7255 MB / 492.1 MB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3737, allocations: 0.7452 MB / 492.8 MB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.3741, allocations: 69.91 kB / 492.9 MB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3743, allocations: 31.42 kB / 492.9 MB, free: 7.113 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3743, allocations: 4 kB / 492.9 MB, free: 7.109 MB / 398.1 MB Notification: Performance of Templates: time 0.008872/0.3832, allocations: 5.544 MB / 498.5 MB, free: 1.613 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches