Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [: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.00117/0.00117, allocations: 179.5 kB / 8.479 MB, free: 1.891 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.41/1.41, allocations: 205.2 MB / 214.1 MB, free: 5.438 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.0008585/0.0008585, allocations: 86.33 kB / 262.1 MB, free: 5.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.983e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09069, allocations: 47.58 MB / 362.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/5.996, allocations: 2.741 GB / 3.095 GB, free: 130.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/5.997, allocations: 91.22 kB / 3.095 GB, free: 130.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.369/7.366, allocations: 423.8 MB / 3.509 GB, free: 56.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.658e-05/7.366, allocations: 13.36 kB / 3.509 GB, free: 56.86 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005798/7.372, allocations: 1.205 MB / 3.51 GB, free: 56.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/7.372, allocations: 6.344 kB / 3.51 GB, free: 56.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/7.373, allocations: 180.2 kB / 3.51 GB, free: 56.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/7.374, allocations: 317.6 kB / 3.511 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/7.374, allocations: 10.53 kB / 3.511 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/7.374, allocations: 17.12 kB / 3.511 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005127/7.375, allocations: 248.3 kB / 3.511 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/7.375, allocations: 361.8 kB / 3.511 GB, free: 55.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/7.375, allocations: 3.938 kB / 3.511 GB, free: 55.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/7.376, allocations: 7.594 kB / 3.511 GB, free: 55.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/7.376, allocations: 6.844 kB / 3.511 GB, free: 55.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07448/7.45, allocations: 33.25 MB / 3.544 GB, free: 32.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/7.45, allocations: 147.8 kB / 3.544 GB, free: 32.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/7.451, allocations: 99.95 kB / 3.544 GB, free: 32.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07999/7.531, allocations: 30.9 MB / 3.574 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/7.531, allocations: 34.56 kB / 3.574 GB, free: 15.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/7.531, allocations: 4 kB / 3.574 GB, free: 15.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.003272/7.534, allocations: 0.8746 MB / 3.575 GB, free: 14.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/7.534, allocations: 55.41 kB / 3.575 GB, free: 14.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/7.534, allocations: 203.8 kB / 3.575 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/7.534, allocations: 33.64 kB / 3.575 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/7.535, allocations: 191.6 kB / 3.576 GB, free: 13.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/7.535, allocations: 98.5 kB / 3.576 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/7.535, allocations: 0 / 3.576 GB, free: 13.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/7.535, allocations: 338.8 kB / 3.576 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/7.535, allocations: 88.86 kB / 3.576 GB, free: 13.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/7.535, allocations: 202 kB / 3.576 GB, free: 12.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/7.536, allocations: 123.9 kB / 3.576 GB, free: 12.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/7.536, allocations: 4 kB / 3.576 GB, free: 12.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001093/7.537, allocations: 458.7 kB / 3.577 GB, free: 12.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/7.537, allocations: 4 kB / 3.577 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/7.537, allocations: 4 kB / 3.577 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/7.537, allocations: 66.12 kB / 3.577 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/7.538, allocations: 83.89 kB / 3.577 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/7.539, allocations: 2.391 MB / 3.579 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/7.54, allocations: 24.09 kB / 3.579 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/7.54, allocations: 22.17 kB / 3.579 GB, free: 9.492 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * 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.0001336/7.54, allocations: 120.7 kB / 3.579 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/7.54, allocations: 143.5 kB / 3.58 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/7.542, allocations: 0.8334 MB / 3.58 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/7.542, allocations: 11.98 kB / 3.58 GB, free: 8.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/7.542, allocations: 0 / 3.58 GB, free: 8.371 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/7.543, allocations: 1.02 MB / 3.581 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/7.544, allocations: 1.402 MB / 3.583 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/7.544, allocations: 0 / 3.583 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/7.545, allocations: 59.97 kB / 3.583 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/7.545, allocations: 69.25 kB / 3.583 GB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/7.545, allocations: 4 kB / 3.583 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004775/7.545, allocations: 0.6263 MB / 3.583 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/7.545, allocations: 4.031 kB / 3.583 GB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001465/7.547, allocations: 1.043 MB / 3.584 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/7.547, allocations: 114.2 kB / 3.585 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/7.547, allocations: 8 kB / 3.585 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/7.547, allocations: 35.97 kB / 3.585 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/7.548, allocations: 19.88 kB / 3.585 GB, free: 3.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/7.548, allocations: 19.98 kB / 3.585 GB, free: 3.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001798/7.548, allocations: 156.5 kB / 3.585 GB, free: 3.566 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005685/7.553, allocations: 0.8781 MB / 3.586 GB, free: 2.688 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007181/7.561, allocations: 1.484 MB / 3.587 GB, free: 1.336 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/7.562, allocations: 0.5738 MB / 3.588 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/7.562, allocations: 4 kB / 3.588 GB, free: 0.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/7.563, allocations: 372.2 kB / 3.588 GB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/7.564, allocations: 134.9 kB / 3.588 GB, free: 260 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2864/7.85, allocations: 0.7558 MB / 3.589 GB, free: 110 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/7.851, allocations: 0.859 MB / 3.59 GB, free: 109.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.844e-06/7.851, allocations: 3.188 kB / 3.59 GB, free: 109.3 MB / 442.7 MB Notification: Performance of Templates: time 0.05357/7.904, allocations: 28.65 MB / 3.618 GB, free: 109 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches