Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 196.7 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000825/0.000825, allocations: 104 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002457, allocations: 4 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2125, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.43, allocations: 6.124 GB / 6.524 GB, free: 14.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/11.43, allocations: 75.97 kB / 6.524 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.308/13.74, allocations: 0.6443 GB / 7.168 GB, free: 32.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.166e-06/13.74, allocations: 0 / 7.168 GB, free: 32.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.245e-05/13.74, allocations: 16.62 kB / 7.168 GB, free: 32.71 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01065/13.75, allocations: 2.376 MB / 7.171 GB, free: 31.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/13.75, allocations: 7.75 kB / 7.171 GB, free: 31.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/13.75, allocations: 87.48 kB / 7.171 GB, free: 31.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/13.75, allocations: 447.2 kB / 7.171 GB, free: 31.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/13.75, allocations: 46.03 kB / 7.171 GB, free: 31.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/13.75, allocations: 63.97 kB / 7.171 GB, free: 31.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/13.75, allocations: 0.7864 MB / 7.172 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/13.75, allocations: 4.094 kB / 7.172 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/13.75, allocations: 33.06 kB / 7.172 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/13.75, allocations: 15.5 kB / 7.172 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/13.75, allocations: 0.9984 MB / 7.173 GB, free: 30.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/13.77, allocations: 12.44 MB / 7.185 GB, free: 19.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/13.77, allocations: 0.7725 MB / 7.186 GB, free: 19.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/13.77, allocations: 406.1 kB / 7.186 GB, free: 19.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03664/13.8, allocations: 30.66 MB / 7.216 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/13.8, allocations: 46.94 kB / 7.216 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 3.436e-06/13.8, allocations: 0 / 7.216 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01052/13.82, allocations: 3.501 MB / 7.22 GB, free: 20.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/13.82, allocations: 62.06 kB / 7.22 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/13.82, allocations: 349.8 kB / 7.22 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/13.82, allocations: 44.8 kB / 7.22 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/13.82, allocations: 242.8 kB / 7.221 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/13.82, allocations: 306.6 kB / 7.221 GB, free: 19.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/13.82, allocations: 15.06 kB / 7.221 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001402/13.82, allocations: 363.7 kB / 7.221 GB, free: 19.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/13.82, allocations: 356.9 kB / 7.222 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/13.82, allocations: 482.7 kB / 7.222 GB, free: 18.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/13.82, allocations: 0.8648 MB / 7.223 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/13.82, allocations: 6.344 kB / 7.223 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002383/13.82, allocations: 1.092 MB / 7.224 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/13.82, allocations: 7.125 kB / 7.224 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/13.82, allocations: 3.969 kB / 7.224 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007807/13.82, allocations: 171 kB / 7.224 GB, free: 17.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/13.82, allocations: 187.7 kB / 7.224 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/13.83, allocations: 3.92 MB / 7.228 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/13.83, allocations: 63.3 kB / 7.228 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/13.83, allocations: 53.42 kB / 7.228 GB, free: 29.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003898/13.83, allocations: 223.8 kB / 7.228 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/13.83, allocations: 63.88 kB / 7.228 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/13.83, allocations: 1.314 MB / 7.23 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/13.83, allocations: 10.09 kB / 7.23 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/13.83, allocations: 3.938 kB / 7.23 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/13.83, allocations: 1.336 MB / 7.231 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/13.84, allocations: 1.99 MB / 7.233 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/13.84, allocations: 7.938 kB / 7.233 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/13.84, allocations: 171.8 kB / 7.233 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/13.84, allocations: 297.5 kB / 7.233 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/13.84, allocations: 38.7 kB / 7.234 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007613/13.84, allocations: 1.301 MB / 7.235 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/13.84, allocations: 3.938 kB / 7.235 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/13.84, allocations: 1.428 MB / 7.236 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/13.84, allocations: 144 kB / 7.236 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/13.84, allocations: 21.12 kB / 7.236 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/13.84, allocations: 55.03 kB / 7.236 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/13.84, allocations: 57.17 kB / 7.236 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/13.84, allocations: 48.94 kB / 7.237 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002805/13.84, allocations: 276.9 kB / 7.237 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/13.84, allocations: 0 / 7.237 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008033/13.85, allocations: 2.294 MB / 7.239 GB, free: 24.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01396/13.86, allocations: 3.199 MB / 7.242 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002379/13.87, allocations: 1.156 MB / 7.243 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/13.87, allocations: 0 / 7.243 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009182/13.87, allocations: 0.5003 MB / 7.244 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/13.87, allocations: 384.9 kB / 7.244 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/13.87, allocations: 2.005 MB / 7.246 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/13.87, allocations: 0.9079 MB / 7.247 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008995/13.87, allocations: 215.2 kB / 7.247 GB, free: 21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/13.87, allocations: 84.31 kB / 7.247 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/13.87, allocations: 0 / 7.247 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.3528/14.23, allocations: 71.4 MB / 7.317 GB, free: 81.29 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches