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.001011/0.001011, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009625/0.0009623, allocations: 86.38 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.739e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.061/8.167, allocations: 3.559 GB / 3.914 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/8.168, allocations: 99.94 kB / 3.914 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25/9.418, allocations: 314 MB / 4.221 GB, free: 40.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.697e-06/9.418, allocations: 0 / 4.221 GB, free: 40.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.039e-05/9.418, allocations: 11.98 kB / 4.221 GB, free: 40.64 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.007607/9.425, allocations: 1.553 MB / 4.222 GB, free: 39.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/9.425, allocations: 8.031 kB / 4.222 GB, free: 39.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/9.426, allocations: 63.42 kB / 4.222 GB, free: 38.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/9.427, allocations: 346.3 kB / 4.223 GB, free: 38.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/9.427, allocations: 18.23 kB / 4.223 GB, free: 38.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/9.427, allocations: 31.89 kB / 4.223 GB, free: 38.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/9.428, allocations: 0.557 MB / 4.223 GB, free: 37.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/9.429, allocations: 435.9 kB / 4.224 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/9.429, allocations: 0 / 4.224 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/9.429, allocations: 0 / 4.224 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/9.429, allocations: 16 kB / 4.224 GB, free: 37.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/9.433, allocations: 2.073 MB / 4.226 GB, free: 35.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/9.434, allocations: 0.5296 MB / 4.226 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/9.434, allocations: 242.4 kB / 4.227 GB, free: 34.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/9.435, allocations: 0.7009 MB / 4.227 GB, free: 33.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/9.435, allocations: 43 kB / 4.227 GB, free: 33.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.236e-06/9.435, allocations: 0 / 4.227 GB, free: 33.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01023/9.445, allocations: 2.83 MB / 4.23 GB, free: 30.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/9.445, allocations: 55.97 kB / 4.23 GB, free: 30.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/9.446, allocations: 210.9 kB / 4.23 GB, free: 30.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/9.446, allocations: 25.7 kB / 4.23 GB, free: 30.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/9.446, allocations: 193 kB / 4.231 GB, free: 30.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/9.446, allocations: 216.8 kB / 4.231 GB, free: 29.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/9.446, allocations: 0 / 4.231 GB, free: 29.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/9.446, allocations: 346.8 kB / 4.231 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/9.447, allocations: 261.4 kB / 4.231 GB, free: 29.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/9.447, allocations: 328.1 kB / 4.232 GB, free: 29.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/9.448, allocations: 364.4 kB / 4.232 GB, free: 28.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/9.448, allocations: 0 / 4.232 GB, free: 28.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001794/9.45, allocations: 0.9003 MB / 4.233 GB, free: 27.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/9.45, allocations: 8.156 kB / 4.233 GB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/9.45, allocations: 7.938 kB / 4.233 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/9.451, allocations: 266.3 kB / 4.233 GB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/9.451, allocations: 115.9 kB / 4.233 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/9.454, allocations: 3.332 MB / 4.236 GB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/9.454, allocations: 55.98 kB / 4.237 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/9.454, allocations: 27.98 kB / 4.237 GB, free: 23.69 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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.0003198/9.455, allocations: 121.4 kB / 4.237 GB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/9.455, allocations: 39.62 kB / 4.237 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/9.459, allocations: 1.251 MB / 4.238 GB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/9.459, allocations: 7.984 kB / 4.238 GB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/9.459, allocations: 3.953 kB / 4.238 GB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003371/9.462, allocations: 1.305 MB / 4.239 GB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/9.465, allocations: 1.535 MB / 4.241 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/9.465, allocations: 0 / 4.241 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/9.466, allocations: 111.9 kB / 4.241 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/9.467, allocations: 304.4 kB / 4.241 GB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/9.467, allocations: 19.94 kB / 4.241 GB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007221/9.468, allocations: 0.7943 MB / 4.242 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/9.468, allocations: 0 / 4.242 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/9.472, allocations: 1.514 MB / 4.243 GB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/9.472, allocations: 124.6 kB / 4.243 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/9.472, allocations: 11.95 kB / 4.244 GB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/9.473, allocations: 43.95 kB / 4.244 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/9.473, allocations: 40.59 kB / 4.244 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/9.473, allocations: 35.95 kB / 4.244 GB, free: 16.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002323/9.473, allocations: 172.5 kB / 4.244 GB, free: 16.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/9.473, allocations: 0 / 4.244 GB, free: 16.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002735/9.476, allocations: 0.4955 MB / 4.244 GB, free: 15.55 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.003749/9.48, allocations: 1.317 MB / 4.246 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/9.482, allocations: 0.8731 MB / 4.246 GB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/9.482, allocations: 4 kB / 4.246 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/9.482, allocations: 362.3 kB / 4.247 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/9.484, allocations: 220.9 kB / 4.247 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/9.487, allocations: 0.9794 MB / 4.248 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/9.487, allocations: 0.857 MB / 4.249 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008829/9.488, allocations: 132.2 kB / 4.249 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/9.489, allocations: 51.42 kB / 4.249 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.755e-06/9.489, allocations: 0 / 4.249 GB, free: 10.68 MB / 426.7 MB Notification: Performance of Templates: time 0.3199/9.808, allocations: 21.93 MB / 4.27 GB, free: 64.38 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