Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.705/1.705, allocations: 221.3 MB / 235.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 87.06 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.424e-05, allocations: 0 / 343.8 MB, free: 4.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 50.41 MB / 394.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.31/18.47, allocations: 6.123 GB / 6.508 GB, free: 48.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/18.47, allocations: 85.91 kB / 6.508 GB, free: 48.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.94/21.41, allocations: 0.6443 GB / 7.152 GB, free: 27.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/21.41, allocations: 2.469 kB / 7.152 GB, free: 27.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.99e-05/21.41, allocations: 14.66 kB / 7.152 GB, free: 27.99 MB / 458.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.01089/21.42, allocations: 2.323 MB / 7.155 GB, free: 26.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/21.42, allocations: 11.06 kB / 7.155 GB, free: 26.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/21.42, allocations: 83.59 kB / 7.155 GB, free: 26.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/21.42, allocations: 437.5 kB / 7.155 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/21.42, allocations: 47.81 kB / 7.155 GB, free: 26.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/21.42, allocations: 68.12 kB / 7.155 GB, free: 26.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/21.42, allocations: 0.7705 MB / 7.156 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/21.42, allocations: 11.67 kB / 7.156 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/21.42, allocations: 25.09 kB / 7.156 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/21.42, allocations: 15.53 kB / 7.156 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/21.42, allocations: 0.9759 MB / 7.157 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/21.44, allocations: 12.48 MB / 7.169 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/21.44, allocations: 0.7633 MB / 7.17 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/21.44, allocations: 398.2 kB / 7.17 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0356/21.48, allocations: 30.73 MB / 7.2 GB, free: 16.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/21.48, allocations: 47.12 kB / 7.2 GB, free: 16.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/21.48, allocations: 0 / 7.2 GB, free: 16.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.009858/21.49, allocations: 3.026 MB / 7.203 GB, free: 15.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/21.49, allocations: 63.39 kB / 7.203 GB, free: 15.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/21.49, allocations: 324.2 kB / 7.204 GB, free: 15.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/21.49, allocations: 42.05 kB / 7.204 GB, free: 15.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/21.49, allocations: 233.8 kB / 7.204 GB, free: 15.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/21.49, allocations: 310.3 kB / 7.204 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/21.49, allocations: 20.09 kB / 7.204 GB, free: 15.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/21.49, allocations: 370.4 kB / 7.205 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/21.49, allocations: 346.5 kB / 7.205 GB, free: 14.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/21.49, allocations: 460.6 kB / 7.205 GB, free: 14.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/21.49, allocations: 420.3 kB / 7.206 GB, free: 14.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/21.49, allocations: 3.5 kB / 7.206 GB, free: 14.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002478/21.49, allocations: 1.075 MB / 7.207 GB, free: 14.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/21.49, allocations: 3.531 kB / 7.207 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/21.49, allocations: 3 kB / 7.207 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008367/21.49, allocations: 174 kB / 7.207 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/21.49, allocations: 198.4 kB / 7.207 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/21.5, allocations: 3.911 MB / 7.211 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/21.5, allocations: 60.98 kB / 7.211 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/21.5, allocations: 51.86 kB / 7.211 GB, free: 10.55 MB / 490.7 MB 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 () * 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.0002617/21.5, allocations: 150.9 kB / 7.211 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/21.5, allocations: 66.61 kB / 7.211 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/21.5, allocations: 1.305 MB / 7.213 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/21.5, allocations: 15.28 kB / 7.213 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/21.5, allocations: 7.234 kB / 7.213 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/21.5, allocations: 1.313 MB / 7.214 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/21.51, allocations: 1.971 MB / 7.216 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/21.51, allocations: 5.781 kB / 7.216 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/21.51, allocations: 167.6 kB / 7.216 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/21.51, allocations: 304.2 kB / 7.216 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/21.51, allocations: 33.97 kB / 7.216 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/21.51, allocations: 1.29 MB / 7.218 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/21.51, allocations: 6.844 kB / 7.218 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/21.51, allocations: 1.42 MB / 7.219 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/21.51, allocations: 149.8 kB / 7.219 GB, free: 21.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/21.51, allocations: 19.72 kB / 7.219 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/21.51, allocations: 49.19 kB / 7.219 GB, free: 21.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/21.51, allocations: 65.73 kB / 7.219 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/21.51, allocations: 55.02 kB / 7.219 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002996/21.51, allocations: 276.4 kB / 7.22 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/21.51, allocations: 7.359 kB / 7.22 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01042/21.52, allocations: 2.271 MB / 7.222 GB, free: 21 MB / 0.4948 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 () * 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.01529/21.54, allocations: 3.181 MB / 7.225 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002355/21.54, allocations: 1.15 MB / 7.226 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/21.54, allocations: 3.031 kB / 7.226 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/21.54, allocations: 496.3 kB / 7.226 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/21.54, allocations: 369.9 kB / 7.227 GB, free: 19.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/21.55, allocations: 1.389 MB / 7.228 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/21.55, allocations: 0.9252 MB / 7.229 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007392/21.55, allocations: 208.9 kB / 7.229 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/21.55, allocations: 84.45 kB / 7.229 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/21.55, allocations: 3.625 kB / 7.229 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.4126/21.96, allocations: 70.7 MB / 7.298 GB, free: 76.2 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches