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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001804/0.001804, allocations: 180.4 kB / 8.476 MB, free: 1.789 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.2 MB / 214.1 MB, free: 5.164 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.0009633/0.0009633, allocations: 82.8 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.855e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09272, allocations: 47.57 MB / 362.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.317/6.41, allocations: 3.559 GB / 3.913 GB, free: 43.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/6.41, allocations: 95.94 kB / 3.913 GB, free: 43.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.048/7.458, allocations: 317.1 MB / 4.223 GB, free: 62.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/7.458, allocations: 12 kB / 4.223 GB, free: 62.56 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.005034/7.463, allocations: 1.558 MB / 4.224 GB, free: 60.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/7.463, allocations: 8.031 kB / 4.224 GB, free: 60.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/7.464, allocations: 59.42 kB / 4.225 GB, free: 60.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/7.464, allocations: 353.6 kB / 4.225 GB, free: 60.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/7.464, allocations: 24 kB / 4.225 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/7.464, allocations: 24 kB / 4.225 GB, free: 60.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008304/7.465, allocations: 0.5642 MB / 4.225 GB, free: 59.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/7.466, allocations: 440.4 kB / 4.226 GB, free: 59.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/7.466, allocations: 0 / 4.226 GB, free: 59.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/7.466, allocations: 3.906 kB / 4.226 GB, free: 59.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/7.466, allocations: 12 kB / 4.226 GB, free: 59.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/7.469, allocations: 2.082 MB / 4.228 GB, free: 57.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/7.469, allocations: 367.2 kB / 4.228 GB, free: 56.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/7.47, allocations: 243.8 kB / 4.229 GB, free: 56.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/7.47, allocations: 0.7003 MB / 4.229 GB, free: 55.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/7.47, allocations: 42.98 kB / 4.229 GB, free: 55.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 2.003e-06/7.47, allocations: 4 kB / 4.229 GB, free: 55.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01017/7.48, allocations: 2.895 MB / 4.232 GB, free: 52.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/7.48, allocations: 60.06 kB / 4.232 GB, free: 52.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/7.481, allocations: 203 kB / 4.232 GB, free: 52.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/7.481, allocations: 29.7 kB / 4.232 GB, free: 52.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/7.481, allocations: 180.9 kB / 4.233 GB, free: 52.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/7.481, allocations: 216.8 kB / 4.233 GB, free: 52.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/7.481, allocations: 0 / 4.233 GB, free: 52.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/7.481, allocations: 350.8 kB / 4.233 GB, free: 51.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/7.481, allocations: 261.2 kB / 4.233 GB, free: 51.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/7.482, allocations: 338.9 kB / 4.234 GB, free: 51.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/7.482, allocations: 367 kB / 4.234 GB, free: 50.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/7.483, allocations: 4 kB / 4.234 GB, free: 50.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00174/7.484, allocations: 0.926 MB / 4.235 GB, free: 49.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/7.484, allocations: 4 kB / 4.235 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/7.484, allocations: 5.953 kB / 4.235 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/7.485, allocations: 274 kB / 4.235 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/7.486, allocations: 119.8 kB / 4.235 GB, free: 49.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/7.489, allocations: 3.328 MB / 4.239 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/7.489, allocations: 67.86 kB / 4.239 GB, free: 45.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/7.489, allocations: 27.98 kB / 4.239 GB, free: 45.7 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.0002777/7.49, allocations: 125 kB / 4.239 GB, free: 45.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/7.49, allocations: 35.62 kB / 4.239 GB, free: 45.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/7.494, allocations: 1.303 MB / 4.24 GB, free: 44.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/7.494, allocations: 4 kB / 4.24 GB, free: 44.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/7.494, allocations: 0 / 4.24 GB, free: 44.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003459/7.497, allocations: 1.349 MB / 4.241 GB, free: 42.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/7.5, allocations: 1.662 MB / 4.243 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/7.5, allocations: 4 kB / 4.243 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/7.501, allocations: 120.1 kB / 4.243 GB, free: 40.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/7.502, allocations: 308.5 kB / 4.243 GB, free: 40.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/7.502, allocations: 23.89 kB / 4.243 GB, free: 40.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007398/7.503, allocations: 0.8217 MB / 4.244 GB, free: 39.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/7.503, allocations: 4 kB / 4.244 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001877/7.505, allocations: 1.393 MB / 4.246 GB, free: 38.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/7.505, allocations: 120.6 kB / 4.246 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/7.505, allocations: 15.98 kB / 4.246 GB, free: 38.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/7.506, allocations: 51.89 kB / 4.246 GB, free: 38.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/7.506, allocations: 40.34 kB / 4.246 GB, free: 38.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/7.506, allocations: 41.05 kB / 4.246 GB, free: 37.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001484/7.506, allocations: 172.5 kB / 4.246 GB, free: 37.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001922/7.508, allocations: 0.5072 MB / 4.247 GB, free: 37.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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.002294/7.51, allocations: 1.366 MB / 4.248 GB, free: 36.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/7.512, allocations: 0.8725 MB / 4.249 GB, free: 35.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/7.512, allocations: 0 / 4.249 GB, free: 35.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/7.512, allocations: 375.3 kB / 4.249 GB, free: 34.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/7.514, allocations: 221.1 kB / 4.249 GB, free: 34.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/7.516, allocations: 1.081 MB / 4.25 GB, free: 33.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/7.517, allocations: 0.9322 MB / 4.251 GB, free: 32.53 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/7.517, allocations: 0 / 4.251 GB, free: 32.53 MB / 426.7 MB Notification: Performance of Templates: time 0.03114/7.548, allocations: 23.22 MB / 4.274 GB, free: 9.32 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