Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 110.5 kB / 17.93 MB, free: 5.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.001835/0.001835, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.399/1.399, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001236/0.001236, allocations: 55.92 kB / 280.8 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09886, allocations: 46.63 MB / 327.4 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0315/0.1304, allocations: 26.74 MB / 354.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1332, allocations: 2.243 MB / 356.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.1333, allocations: 0 / 356.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.1337, allocations: 55.7 kB / 356.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.1342, allocations: 147.2 kB / 356.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/0.1491, allocations: 5.534 MB / 362.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.1496, allocations: 314.6 kB / 362.5 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.477e-05/0.1497, allocations: 12.91 kB / 362.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1499, allocations: 131.5 kB / 362.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1501, allocations: 127.6 kB / 362.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1502, allocations: 12 kB / 362.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.1656, allocations: 9.346 MB / 372.1 MB, free: 8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1658, allocations: 67.83 kB / 372.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.166, allocations: 95.59 kB / 372.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.1728, allocations: 3.17 MB / 375.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1728, allocations: 4 kB / 375.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1728, allocations: 0 / 375.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1728, allocations: 0 / 375.4 MB, free: 4.664 MB / 318.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.003654/0.1765, allocations: 1.112 MB / 376.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1766, allocations: 8.031 kB / 376.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.1767, allocations: 24.5 kB / 376.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.177, allocations: 214.7 kB / 376.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.177, allocations: 20.27 kB / 376.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.1771, allocations: 16 kB / 376.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.1778, allocations: 293.3 kB / 377.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1778, allocations: 4 kB / 377.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1779, allocations: 4 kB / 377.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.1779, allocations: 8 kB / 377.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.1787, allocations: 311.7 kB / 377.4 MB, free: 2.57 MB / 318.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.00146/0.1801, allocations: 0.8204 MB / 378.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.1809, allocations: 253.1 kB / 378.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1812, allocations: 129.6 kB / 378.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1717/0.3528, allocations: 12.85 MB / 391.5 MB, free: 41.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.3529, allocations: 37.77 kB / 391.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.305e-06/0.3529, allocations: 0 / 391.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002955/0.3559, allocations: 0.6875 MB / 392.2 MB, free: 41.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.356, allocations: 84.02 kB / 392.3 MB, free: 41.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3561, allocations: 124.4 kB / 392.4 MB, free: 40.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.3561, allocations: 35.55 kB / 392.4 MB, free: 40.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.3562, allocations: 107.6 kB / 392.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3563, allocations: 124.5 kB / 392.6 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3564, allocations: 74.03 kB / 392.7 MB, free: 40.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.3565, allocations: 328.9 kB / 393 MB, free: 40.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.3569, allocations: 135 kB / 393.2 MB, free: 40.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.3574, allocations: 208.5 kB / 393.4 MB, free: 40.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/0.3583, allocations: 366.3 kB / 393.7 MB, free: 40.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3584, allocations: 1.219 kB / 393.7 MB, free: 40.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001201/0.3596, allocations: 417.2 kB / 394.1 MB, free: 39.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3596, allocations: 6.344 kB / 394.1 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3596, allocations: 2.703 kB / 394.2 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3596, allocations: 4.219 kB / 394.2 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.3601, allocations: 89.42 kB / 394.2 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.3602, allocations: 8.984 kB / 394.3 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.3605, allocations: 31.47 kB / 394.3 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.3606, allocations: 18.94 kB / 394.3 MB, free: 39.94 MB / 318.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.0001448/0.3607, allocations: 147.6 kB / 394.4 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3609, allocations: 19.22 kB / 394.5 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.3614, allocations: 187.7 kB / 394.6 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3614, allocations: 8.156 kB / 394.7 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3614, allocations: 1.25 kB / 394.7 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3614, allocations: 1.922 kB / 394.7 MB, free: 39.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.3632, allocations: 0.7806 MB / 395.4 MB, free: 39.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3632, allocations: 1.875 kB / 395.4 MB, free: 39.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.3636, allocations: 79.77 kB / 395.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.3637, allocations: 3.531 kB / 395.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.3637, allocations: 12.16 kB / 395.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3637, allocations: 11.14 kB / 395.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3637, allocations: 1.531 kB / 395.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.3652, allocations: 0.7033 MB / 396.2 MB, free: 38.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.3654, allocations: 122.7 kB / 396.4 MB, free: 38.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.3654, allocations: 12.27 kB / 396.4 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.3658, allocations: 17.47 kB / 396.4 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3659, allocations: 23.67 kB / 396.4 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.3659, allocations: 19.05 kB / 396.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.366, allocations: 98.55 kB / 396.5 MB, free: 38.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.366, allocations: 4 kB / 396.5 MB, free: 38.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002921/0.3689, allocations: 0.9269 MB / 397.5 MB, free: 38.46 MB / 318.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 (37): * Single equations (assignments): 37 * 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.005466/0.3744, allocations: 1.268 MB / 398.7 MB, free: 38.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.3757, allocations: 361 kB / 399.1 MB, free: 38.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3758, allocations: 5.531 kB / 399.1 MB, free: 38.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.3762, allocations: 183.3 kB / 399.3 MB, free: 38.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.377, allocations: 100.6 kB / 399.4 MB, free: 38.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3784, allocations: 0.7107 MB / 400.1 MB, free: 37.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.3786, allocations: 0.7335 MB / 400.8 MB, free: 36.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.3788, allocations: 45.47 kB / 400.9 MB, free: 36.86 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3788, allocations: 3.844 kB / 400.9 MB, free: 36.86 MB / 318.1 MB Notification: Performance of Templates: time 0.02614/0.4049, allocations: 20.96 MB / 421.8 MB, free: 20.69 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches