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.001307/0.001307, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001403/0.001403, allocations: 190 kB / 18.07 MB, free: 5.414 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.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001081/0.001081, allocations: 43.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07534/0.07643, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2891/0.3655, allocations: 150.6 MB / 477.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.3664, allocations: 0.609 MB / 477.7 MB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.3664, allocations: 8 kB / 477.8 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3668, allocations: 58.59 kB / 477.8 MB, free: 352 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3671, allocations: 147.8 kB / 478 MB, free: 208 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.3696, allocations: 0.9425 MB / 478.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.37, allocations: 478.5 kB / 479.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.37, allocations: 13.44 kB / 479.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3703, allocations: 139.5 kB / 479.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.3705, allocations: 127.6 kB / 479.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.3705, allocations: 11.98 kB / 479.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.373, allocations: 1.68 MB / 481.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.3731, allocations: 67.84 kB / 481.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3732, allocations: 91.64 kB / 481.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.3747, allocations: 1.033 MB / 482.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3747, allocations: 0 / 482.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3747, allocations: 4 kB / 482.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3747, allocations: 0 / 482.5 MB, free: 11.64 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.001655/0.3764, allocations: 0.6676 MB / 483.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3764, allocations: 12.03 kB / 483.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.3766, allocations: 16.75 kB / 483.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.3768, allocations: 227.8 kB / 483.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3768, allocations: 12.33 kB / 483.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.3769, allocations: 16 kB / 483.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.3774, allocations: 265.4 kB / 483.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3774, allocations: 0 / 483.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3775, allocations: 4 kB / 483.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.3775, allocations: 8.625 kB / 483.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/0.3781, allocations: 263.7 kB / 484 MB, free: 10.07 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.001367/0.3795, allocations: 0.7816 MB / 484.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.3801, allocations: 217.8 kB / 485 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.3804, allocations: 140.4 kB / 485.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.3808, allocations: 364.3 kB / 485.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3808, allocations: 41.66 kB / 485.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.263e-06/0.3808, allocations: 0 / 485.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002312/0.3831, allocations: 0.6694 MB / 486.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.3832, allocations: 85.05 kB / 486.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.3833, allocations: 121.8 kB / 486.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3833, allocations: 33.7 kB / 486.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.3834, allocations: 108.8 kB / 486.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.3835, allocations: 122.2 kB / 486.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3836, allocations: 73.55 kB / 486.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3837, allocations: 334.8 kB / 487.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3841, allocations: 127.9 kB / 487.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.3845, allocations: 207.6 kB / 487.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.3852, allocations: 355.9 kB / 487.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3852, allocations: 0 / 487.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009058/0.3861, allocations: 409.3 kB / 488.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3862, allocations: 4 kB / 488.1 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3862, allocations: 4 kB / 488.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3862, allocations: 4 kB / 488.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.3867, allocations: 92.03 kB / 488.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3867, allocations: 8 kB / 488.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.387, allocations: 31.81 kB / 488.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.3871, allocations: 16 kB / 488.3 MB, free: 5.477 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.0001414/0.3872, allocations: 146.1 kB / 488.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.3873, allocations: 15.81 kB / 488.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.3877, allocations: 181.9 kB / 488.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3877, allocations: 4 kB / 488.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3877, allocations: 7.938 kB / 488.6 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3877, allocations: 0 / 488.6 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3893, allocations: 0.7671 MB / 489.4 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3893, allocations: 0 / 489.4 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.3897, allocations: 79.83 kB / 489.5 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3898, allocations: 7.938 kB / 489.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.3898, allocations: 16.14 kB / 489.5 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3898, allocations: 7.938 kB / 489.5 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3898, allocations: 4 kB / 489.5 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.3911, allocations: 0.7144 MB / 490.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3912, allocations: 116.8 kB / 490.3 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.3913, allocations: 11.98 kB / 490.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.3917, allocations: 19.98 kB / 490.4 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3917, allocations: 23.91 kB / 490.4 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.3917, allocations: 19.98 kB / 490.4 MB, free: 3.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.3918, allocations: 99.33 kB / 490.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3918, allocations: 0 / 490.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005665/0.3924, allocations: 135.9 kB / 490.6 MB, free: 2.984 MB / 382.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.0004889/0.3929, allocations: 243 kB / 490.9 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.3937, allocations: 340 kB / 491.2 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3938, allocations: 0 / 491.2 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.3942, allocations: 171.7 kB / 491.4 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.3948, allocations: 103.3 kB / 491.5 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3962, allocations: 0.696 MB / 492.2 MB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3965, allocations: 0.7372 MB / 492.9 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.3969, allocations: 81.88 kB / 493 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.397, allocations: 35.42 kB / 493 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.397, allocations: 0 / 493 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of Templates: time 0.009973/0.407, allocations: 5.866 MB / 498.9 MB, free: 10.66 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches