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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009774, allocations: 92.25 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002784, allocations: 11.92 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.301/6.569, allocations: 3.337 GB / 3.729 GB, free: 78.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/6.57, allocations: 71.97 kB / 3.729 GB, free: 78.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1023/6.672, allocations: 49.17 MB / 3.777 GB, free: 28.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/6.672, allocations: 0 / 3.777 GB, free: 28.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/6.672, allocations: 4 kB / 3.777 GB, free: 28.85 MB / 442.7 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.001744/6.674, allocations: 0.6315 MB / 3.778 GB, free: 28.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/6.674, allocations: 8.031 kB / 3.778 GB, free: 28.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/6.674, allocations: 27.77 kB / 3.778 GB, free: 28.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/6.674, allocations: 210.9 kB / 3.778 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/6.674, allocations: 12.33 kB / 3.778 GB, free: 27.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/6.674, allocations: 24 kB / 3.778 GB, free: 27.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/6.675, allocations: 257.4 kB / 3.778 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/6.675, allocations: 0 / 3.778 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/6.675, allocations: 4 kB / 3.778 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/6.675, allocations: 15.89 kB / 3.778 GB, free: 27.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/6.676, allocations: 267.7 kB / 3.778 GB, free: 27.31 MB / 442.7 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.001237/6.677, allocations: 0.683 MB / 3.779 GB, free: 26.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/6.677, allocations: 225.1 kB / 3.779 GB, free: 26.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/6.678, allocations: 360.3 kB / 3.78 GB, free: 25.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/6.678, allocations: 46.5 kB / 3.78 GB, free: 25.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/6.678, allocations: 0 / 3.78 GB, free: 25.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002195/6.68, allocations: 0.6636 MB / 3.78 GB, free: 25.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/6.68, allocations: 85.23 kB / 3.78 GB, free: 25.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/6.68, allocations: 117.2 kB / 3.781 GB, free: 24.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/6.68, allocations: 33.7 kB / 3.781 GB, free: 24.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/6.68, allocations: 108.8 kB / 3.781 GB, free: 24.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/6.68, allocations: 122.1 kB / 3.781 GB, free: 24.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/6.68, allocations: 8 kB / 3.781 GB, free: 24.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/6.68, allocations: 326.8 kB / 3.781 GB, free: 24.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/6.681, allocations: 143.8 kB / 3.781 GB, free: 24.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/6.681, allocations: 199.8 kB / 3.781 GB, free: 23.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/6.681, allocations: 160.6 kB / 3.782 GB, free: 23.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/6.681, allocations: 0 / 3.782 GB, free: 23.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007927/6.682, allocations: 407.3 kB / 3.782 GB, free: 23.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/6.682, allocations: 4 kB / 3.782 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/6.682, allocations: 4.219 kB / 3.782 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/6.682, allocations: 8 kB / 3.782 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/6.683, allocations: 87.88 kB / 3.782 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/6.683, allocations: 7.953 kB / 3.782 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/6.683, allocations: 23.97 kB / 3.782 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/6.683, allocations: 19.98 kB / 3.782 GB, free: 23.27 MB / 442.7 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.0001192/6.683, allocations: 153.6 kB / 3.782 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/6.683, allocations: 15.81 kB / 3.782 GB, free: 23.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/6.684, allocations: 174.4 kB / 3.782 GB, free: 22.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/6.684, allocations: 4 kB / 3.782 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/6.684, allocations: 3.953 kB / 3.782 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/6.684, allocations: 3.984 kB / 3.782 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/6.685, allocations: 0.767 MB / 3.783 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/6.685, allocations: 0 / 3.783 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/6.685, allocations: 80.25 kB / 3.783 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/6.685, allocations: 4 kB / 3.783 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/6.685, allocations: 8 kB / 3.783 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/6.685, allocations: 7.984 kB / 3.783 GB, free: 21.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.685, allocations: 7.938 kB / 3.783 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/6.687, allocations: 0.7756 MB / 3.784 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/6.687, allocations: 124.9 kB / 3.784 GB, free: 20.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/6.687, allocations: 8 kB / 3.784 GB, free: 20.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/6.687, allocations: 23.88 kB / 3.784 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/6.687, allocations: 27.92 kB / 3.784 GB, free: 20.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/6.687, allocations: 16 kB / 3.784 GB, free: 20.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.08e-05/6.687, allocations: 99.27 kB / 3.784 GB, free: 20.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/6.687, allocations: 4 kB / 3.784 GB, free: 20.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007291/6.688, allocations: 183.8 kB / 3.785 GB, free: 20.62 MB / 442.7 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.0009557/6.689, allocations: 0.6372 MB / 3.785 GB, free: 19.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007688/6.69, allocations: 336.3 kB / 3.785 GB, free: 19.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/6.69, allocations: 448 / 3.785 GB, free: 19.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/6.69, allocations: 183.7 kB / 3.786 GB, free: 19.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/6.691, allocations: 93.52 kB / 3.786 GB, free: 19.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/6.692, allocations: 0.7333 MB / 3.786 GB, free: 18.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/6.692, allocations: 0.7374 MB / 3.787 GB, free: 17.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004053/6.693, allocations: 77.91 kB / 3.787 GB, free: 17.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/6.693, allocations: 35.42 kB / 3.787 GB, free: 17.73 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/6.693, allocations: 0 / 3.787 GB, free: 17.73 MB / 442.7 MB Notification: Performance of Templates: time 0.0153/6.708, allocations: 12.21 MB / 3.799 GB, free: 5.582 MB / 442.7 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