Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 171.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009723/0.0009726, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.086e-05, allocations: 4 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 47.58 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.332/8.444, allocations: 3.56 GB / 3.921 GB, free: 30.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/8.444, allocations: 105.9 kB / 3.921 GB, free: 29.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.181/9.625, allocations: 317 MB / 4.231 GB, free: 45.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/9.625, allocations: 4 kB / 4.231 GB, free: 45.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/9.625, allocations: 12 kB / 4.231 GB, free: 45.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005677/9.631, allocations: 1.558 MB / 4.232 GB, free: 43.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/9.631, allocations: 12.03 kB / 4.232 GB, free: 43.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/9.631, allocations: 59.42 kB / 4.232 GB, free: 43.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/9.632, allocations: 350.2 kB / 4.233 GB, free: 43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/9.632, allocations: 33 kB / 4.233 GB, free: 42.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/9.632, allocations: 47.89 kB / 4.233 GB, free: 42.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/9.632, allocations: 498.4 kB / 4.233 GB, free: 42.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/9.632, allocations: 4 kB / 4.233 GB, free: 42.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/9.633, allocations: 20 kB / 4.233 GB, free: 42.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/9.633, allocations: 12 kB / 4.233 GB, free: 42.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/9.633, allocations: 0.5818 MB / 4.234 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/9.636, allocations: 2.171 MB / 4.236 GB, free: 39.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/9.637, allocations: 0.5515 MB / 4.237 GB, free: 38.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/9.637, allocations: 254.4 kB / 4.237 GB, free: 38.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/9.638, allocations: 0.7048 MB / 4.238 GB, free: 37.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/9.638, allocations: 42.95 kB / 4.238 GB, free: 37.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/9.638, allocations: 0 / 4.238 GB, free: 37.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.0124/9.65, allocations: 3.357 MB / 4.241 GB, free: 34.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/9.651, allocations: 59.97 kB / 4.241 GB, free: 34.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/9.651, allocations: 263 kB / 4.241 GB, free: 33.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/9.651, allocations: 41.7 kB / 4.241 GB, free: 33.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/9.651, allocations: 185.2 kB / 4.241 GB, free: 33.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/9.651, allocations: 224.7 kB / 4.242 GB, free: 33.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/9.651, allocations: 20 kB / 4.242 GB, free: 33.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/9.651, allocations: 346.8 kB / 4.242 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/9.652, allocations: 269.5 kB / 4.242 GB, free: 32.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/9.652, allocations: 353.5 kB / 4.243 GB, free: 32.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/9.652, allocations: 314 kB / 4.243 GB, free: 32.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/9.652, allocations: 4 kB / 4.243 GB, free: 32.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00148/9.654, allocations: 0.8927 MB / 4.244 GB, free: 31.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/9.654, allocations: 4 kB / 4.244 GB, free: 31.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/9.654, allocations: 4 kB / 4.244 GB, free: 31.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/9.655, allocations: 270.3 kB / 4.244 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/9.656, allocations: 127.8 kB / 4.244 GB, free: 30.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/9.658, allocations: 3.403 MB / 4.247 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/9.658, allocations: 59.95 kB / 4.248 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/9.658, allocations: 31.98 kB / 4.248 GB, free: 27.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002044/9.659, allocations: 140.8 kB / 4.248 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/9.659, allocations: 51.48 kB / 4.248 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/9.662, allocations: 1.259 MB / 4.249 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/9.662, allocations: 4 kB / 4.249 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/9.662, allocations: 4 kB / 4.249 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0032/9.666, allocations: 1.301 MB / 4.25 GB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/9.668, allocations: 1.619 MB / 4.252 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/9.668, allocations: 4.031 kB / 4.252 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/9.669, allocations: 115.9 kB / 4.252 GB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/9.67, allocations: 300.5 kB / 4.252 GB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/9.67, allocations: 27.97 kB / 4.252 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007288/9.671, allocations: 0.7787 MB / 4.253 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/9.671, allocations: 0 / 4.253 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/9.674, allocations: 1.534 MB / 4.255 GB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/9.675, allocations: 124.7 kB / 4.255 GB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/9.675, allocations: 12 kB / 4.255 GB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/9.675, allocations: 63.86 kB / 4.255 GB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/9.675, allocations: 44.48 kB / 4.255 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/9.675, allocations: 27.98 kB / 4.255 GB, free: 19.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002436/9.676, allocations: 223.1 kB / 4.255 GB, free: 19.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/9.676, allocations: 0 / 4.255 GB, free: 19.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002765/9.679, allocations: 0.5385 MB / 4.256 GB, free: 18.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/9.681, allocations: 1.189 MB / 4.257 GB, free: 17.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/9.682, allocations: 0.9087 MB / 4.258 GB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/9.682, allocations: 0 / 4.258 GB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/9.683, allocations: 379.4 kB / 4.258 GB, free: 16.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/9.684, allocations: 289.3 kB / 4.258 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/9.686, allocations: 1.022 MB / 4.259 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/9.687, allocations: 0.8611 MB / 4.26 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005634/9.687, allocations: 128.6 kB / 4.26 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/9.687, allocations: 59.41 kB / 4.26 GB, free: 13.79 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/9.687, allocations: 0 / 4.26 GB, free: 13.79 MB / 426.7 MB Notification: Performance of Templates: time 0.3052/9.993, allocations: 31.72 MB / 4.291 GB, free: 61.83 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches