Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.0009803/0.0009805, allocations: 170.4 kB / 8.475 MB, free: 1.863 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.313/1.313, allocations: 205.2 MB / 214.1 MB, free: 5.086 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.0009272/0.0009272, allocations: 86.27 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.961e-06, allocations: 0 / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08138/0.0814, allocations: 47.58 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.046, allocations: 2.741 GB / 3.095 GB, free: 129.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/6.046, allocations: 91.22 kB / 3.095 GB, free: 129.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.538/7.584, allocations: 423.7 MB / 3.509 GB, free: 56.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.98e-05/7.584, allocations: 7.062 kB / 3.509 GB, free: 56.69 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.006135/7.59, allocations: 1.253 MB / 3.51 GB, free: 55.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/7.59, allocations: 7.562 kB / 3.51 GB, free: 55.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/7.592, allocations: 175.2 kB / 3.51 GB, free: 55.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/7.593, allocations: 318.6 kB / 3.511 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/7.593, allocations: 13.69 kB / 3.511 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/7.593, allocations: 18.78 kB / 3.511 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005735/7.593, allocations: 303.7 kB / 3.511 GB, free: 55.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/7.594, allocations: 372.3 kB / 3.511 GB, free: 55.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/7.594, allocations: 3.219 kB / 3.511 GB, free: 55.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/7.594, allocations: 3.906 kB / 3.511 GB, free: 55.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/7.594, allocations: 10.88 kB / 3.511 GB, free: 55.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/7.597, allocations: 2.574 MB / 3.514 GB, free: 53.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/7.597, allocations: 176 kB / 3.514 GB, free: 53.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/7.597, allocations: 126.1 kB / 3.514 GB, free: 52.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007184/7.598, allocations: 0.5463 MB / 3.515 GB, free: 52.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/7.598, allocations: 38.5 kB / 3.515 GB, free: 52.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.043e-06/7.598, allocations: 0 / 3.515 GB, free: 52.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002764/7.601, allocations: 0.9514 MB / 3.516 GB, free: 51.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/7.601, allocations: 59.16 kB / 3.516 GB, free: 51.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/7.601, allocations: 204.7 kB / 3.516 GB, free: 51.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/7.601, allocations: 25.7 kB / 3.516 GB, free: 51.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/7.601, allocations: 172.6 kB / 3.516 GB, free: 51.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/7.601, allocations: 114.5 kB / 3.516 GB, free: 51.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/7.601, allocations: 0 / 3.516 GB, free: 51.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/7.602, allocations: 332.7 kB / 3.516 GB, free: 51.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/7.602, allocations: 104.3 kB / 3.517 GB, free: 51.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/7.602, allocations: 200 kB / 3.517 GB, free: 50.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/7.602, allocations: 125.7 kB / 3.517 GB, free: 50.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/7.602, allocations: 2.812 kB / 3.517 GB, free: 50.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001556/7.604, allocations: 0.5578 MB / 3.517 GB, free: 50.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/7.604, allocations: 6.094 kB / 3.517 GB, free: 50.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/7.604, allocations: 2.688 kB / 3.517 GB, free: 50.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/7.604, allocations: 83.58 kB / 3.518 GB, free: 50.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/7.605, allocations: 98.64 kB / 3.518 GB, free: 50.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/7.606, allocations: 2.366 MB / 3.52 GB, free: 48.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/7.607, allocations: 61.95 kB / 3.52 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/7.607, allocations: 22.17 kB / 3.52 GB, free: 48.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001335/7.607, allocations: 116.8 kB / 3.52 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/7.608, allocations: 136.4 kB / 3.52 GB, free: 48.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/7.609, allocations: 0.9779 MB / 3.521 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/7.609, allocations: 3.844 kB / 3.521 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/7.609, allocations: 3.938 kB / 3.521 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009953/7.61, allocations: 1.083 MB / 3.522 GB, free: 46.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/7.612, allocations: 1.562 MB / 3.524 GB, free: 46.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/7.612, allocations: 0 / 3.524 GB, free: 46.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/7.612, allocations: 81.5 kB / 3.524 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/7.613, allocations: 72.8 kB / 3.524 GB, free: 46.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/7.613, allocations: 7.094 kB / 3.524 GB, free: 46.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003098/7.613, allocations: 0.625 MB / 3.525 GB, free: 45.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/7.613, allocations: 0 / 3.525 GB, free: 45.45 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/7.615, allocations: 1.135 MB / 3.526 GB, free: 44.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/7.615, allocations: 136.5 kB / 3.526 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/7.615, allocations: 1.875 kB / 3.526 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/7.615, allocations: 39.48 kB / 3.526 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/7.615, allocations: 35.61 kB / 3.526 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/7.615, allocations: 18.78 kB / 3.526 GB, free: 44.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002305/7.616, allocations: 216.1 kB / 3.526 GB, free: 44.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005644/7.621, allocations: 0.8819 MB / 3.527 GB, free: 44.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.009493/7.631, allocations: 1.476 MB / 3.528 GB, free: 44.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/7.633, allocations: 0.6071 MB / 3.529 GB, free: 43.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/7.633, allocations: 1.094 kB / 3.529 GB, free: 43.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/7.633, allocations: 437.4 kB / 3.529 GB, free: 43.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/7.635, allocations: 131.4 kB / 3.53 GB, free: 43.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/7.637, allocations: 0.8162 MB / 3.53 GB, free: 43.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/7.637, allocations: 0.8723 MB / 3.531 GB, free: 42.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.275e-06/7.637, allocations: 3.688 kB / 3.531 GB, free: 42.52 MB / 426.7 MB Notification: Performance of Templates: time 0.04632/7.684, allocations: 29.5 MB / 3.56 GB, free: 19.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches