Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002538/0.002538, allocations: 186 kB / 8.148 MB, free: 0.8594 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.2 MB / 213.7 MB, free: 8.594 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 89.11 kB / 261.7 MB, free: 5.133 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.93e-05, allocations: 4 kB / 314.3 MB, free: 2.422 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 47.56 MB / 361.9 MB, free: 2.742 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.872/7.982, allocations: 3.559 GB / 3.913 GB, free: 106.1 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/7.983, allocations: 99.36 kB / 3.913 GB, free: 106 MB / 418.8 MB Notification: Performance of FrontEnd: time 1.514/9.497, allocations: 317.1 MB / 4.222 GB, free: 53.95 MB / 418.8 MB Notification: Performance of Transformations before backend: time 3.089e-05/9.497, allocations: 7.719 kB / 4.222 GB, free: 53.95 MB / 418.8 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.005817/9.503, allocations: 1.56 MB / 4.224 GB, free: 53.12 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/9.503, allocations: 6.406 kB / 4.224 GB, free: 53.12 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/9.504, allocations: 66.47 kB / 4.224 GB, free: 53.1 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/9.504, allocations: 353 kB / 4.224 GB, free: 52.89 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/9.505, allocations: 13.25 kB / 4.224 GB, free: 52.89 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/9.505, allocations: 29.62 kB / 4.224 GB, free: 52.89 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001476/9.506, allocations: 0.5617 MB / 4.225 GB, free: 52.89 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/9.507, allocations: 439.6 kB / 4.225 GB, free: 52.85 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/9.507, allocations: 0 / 4.225 GB, free: 52.85 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/9.507, allocations: 0 / 4.225 GB, free: 52.85 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/9.507, allocations: 14.94 kB / 4.225 GB, free: 52.84 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/9.512, allocations: 2.079 MB / 4.227 GB, free: 51.68 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/9.514, allocations: 369.1 kB / 4.228 GB, free: 51.67 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/9.514, allocations: 241.1 kB / 4.228 GB, free: 51.66 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/9.515, allocations: 0.7007 MB / 4.229 GB, free: 50.91 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/9.515, allocations: 40.94 kB / 4.229 GB, free: 50.87 MB / 418.8 MB Notification: Performance of pre-optimization done (n=53): time 3.356e-06/9.515, allocations: 0 / 4.229 GB, free: 50.87 MB / 418.8 MB Notification: Performance of matching and sorting (n=65): time 0.01959/9.535, allocations: 2.901 MB / 4.231 GB, free: 50.49 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/9.535, allocations: 61.62 kB / 4.231 GB, free: 50.43 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/9.535, allocations: 208.8 kB / 4.232 GB, free: 50.33 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/9.535, allocations: 28.02 kB / 4.232 GB, free: 50.3 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/9.535, allocations: 238.3 kB / 4.232 GB, free: 50.12 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/9.535, allocations: 218 kB / 4.232 GB, free: 50 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/9.535, allocations: 0 / 4.232 GB, free: 50 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/9.536, allocations: 332.7 kB / 4.232 GB, free: 49.69 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/9.536, allocations: 263.9 kB / 4.233 GB, free: 49.69 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/9.537, allocations: 330.5 kB / 4.233 GB, free: 49.64 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/9.538, allocations: 373 kB / 4.233 GB, free: 49.63 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/9.538, allocations: 2.625 kB / 4.233 GB, free: 49.63 MB / 418.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003211/9.542, allocations: 0.9073 MB / 4.234 GB, free: 49.55 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/9.542, allocations: 3.875 kB / 4.234 GB, free: 49.55 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/9.542, allocations: 4.688 kB / 4.234 GB, free: 49.55 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/9.544, allocations: 267.9 kB / 4.235 GB, free: 49.53 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/9.545, allocations: 124.2 kB / 4.235 GB, free: 49.53 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/9.548, allocations: 3.345 MB / 4.238 GB, free: 46.62 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/9.55, allocations: 47.56 kB / 4.238 GB, free: 46.62 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/9.55, allocations: 32.91 kB / 4.238 GB, free: 46.62 MB / 418.8 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.0003442/9.55, allocations: 49.53 kB / 4.238 GB, free: 46.59 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/9.55, allocations: 35.09 kB / 4.238 GB, free: 46.57 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/9.558, allocations: 1.302 MB / 4.239 GB, free: 46.48 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/9.558, allocations: 10.53 kB / 4.239 GB, free: 46.48 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/9.558, allocations: 3.906 kB / 4.239 GB, free: 46.48 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006946/9.565, allocations: 1.334 MB / 4.241 GB, free: 46.12 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/9.57, allocations: 1.669 MB / 4.242 GB, free: 45.73 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/9.57, allocations: 3.031 kB / 4.242 GB, free: 45.73 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/9.571, allocations: 121.6 kB / 4.242 GB, free: 45.73 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/9.574, allocations: 311.5 kB / 4.243 GB, free: 45.71 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/9.574, allocations: 18.48 kB / 4.243 GB, free: 45.71 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/9.576, allocations: 0.8315 MB / 4.244 GB, free: 45.2 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/9.576, allocations: 2.812 kB / 4.244 GB, free: 45.2 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003727/9.579, allocations: 1.402 MB / 4.245 GB, free: 44.77 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/9.58, allocations: 123.1 kB / 4.245 GB, free: 44.66 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/9.58, allocations: 9.047 kB / 4.245 GB, free: 44.66 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/9.581, allocations: 52.73 kB / 4.245 GB, free: 44.65 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/9.581, allocations: 47.72 kB / 4.245 GB, free: 44.65 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/9.581, allocations: 31.12 kB / 4.245 GB, free: 44.65 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.000262/9.582, allocations: 175.7 kB / 4.245 GB, free: 44.57 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.002541/9.584, allocations: 0.5027 MB / 4.246 GB, free: 44.48 MB / 418.8 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.00399/9.588, allocations: 1.357 MB / 4.247 GB, free: 44.24 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.002652/9.591, allocations: 0.8713 MB / 4.248 GB, free: 44.03 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/9.591, allocations: 1.406 kB / 4.248 GB, free: 44.03 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/9.592, allocations: 377.8 kB / 4.248 GB, free: 44.03 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/9.595, allocations: 217.4 kB / 4.249 GB, free: 44.02 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/9.599, allocations: 1.12 MB / 4.25 GB, free: 43.7 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/9.6, allocations: 0.9323 MB / 4.251 GB, free: 42.99 MB / 418.8 MB Notification: Performance of SimCode: time 1.092e-06/9.6, allocations: 0 / 4.251 GB, free: 42.99 MB / 418.8 MB Notification: Performance of Templates: time 0.04271/9.643, allocations: 19.96 MB / 4.27 GB, free: 41.95 MB / 418.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches