Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002522/0.002522, allocations: 180.6 kB / 8.152 MB, free: 2.199 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.737/1.737, allocations: 205.2 MB / 213.8 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 94.8 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.192e-05, allocations: 7.938 kB / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2373, allocations: 47.55 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.117/6.354, allocations: 2.741 GB / 3.094 GB, free: 85.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/6.355, allocations: 95.69 kB / 3.094 GB, free: 85.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.787/8.142, allocations: 423.8 MB / 3.508 GB, free: 44.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.582e-05/8.142, allocations: 7.031 kB / 3.508 GB, free: 44.33 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.005105/8.147, allocations: 1.212 MB / 3.509 GB, free: 43.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/8.147, allocations: 10.66 kB / 3.51 GB, free: 43.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/8.149, allocations: 175.3 kB / 3.51 GB, free: 43.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/8.15, allocations: 319 kB / 3.51 GB, free: 43.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/8.15, allocations: 7.469 kB / 3.51 GB, free: 43.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/8.15, allocations: 18.72 kB / 3.51 GB, free: 43.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007044/8.151, allocations: 249.2 kB / 3.51 GB, free: 43.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/8.151, allocations: 360.9 kB / 3.511 GB, free: 42.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/8.151, allocations: 3.938 kB / 3.511 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/8.151, allocations: 3.906 kB / 3.511 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/8.151, allocations: 11 kB / 3.511 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/8.264, allocations: 33.24 MB / 3.543 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/8.264, allocations: 149.9 kB / 3.543 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/8.264, allocations: 88.86 kB / 3.543 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2813/8.546, allocations: 30.91 MB / 3.573 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/8.546, allocations: 30.56 kB / 3.574 GB, free: 106.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.226e-06/8.546, allocations: 2.781 kB / 3.574 GB, free: 106.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.003917/8.55, allocations: 0.8779 MB / 3.574 GB, free: 106.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/8.55, allocations: 57.56 kB / 3.574 GB, free: 106.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/8.55, allocations: 206.4 kB / 3.575 GB, free: 106.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/8.55, allocations: 30.02 kB / 3.575 GB, free: 106.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/8.55, allocations: 242.4 kB / 3.575 GB, free: 106.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/8.551, allocations: 100 kB / 3.575 GB, free: 106 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/8.551, allocations: 0 / 3.575 GB, free: 106 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/8.551, allocations: 328.5 kB / 3.575 GB, free: 105.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/8.551, allocations: 87.53 kB / 3.575 GB, free: 105.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/8.552, allocations: 210.6 kB / 3.576 GB, free: 105.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/8.552, allocations: 123.8 kB / 3.576 GB, free: 105.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/8.552, allocations: 3.188 kB / 3.576 GB, free: 105.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001954/8.554, allocations: 455.2 kB / 3.576 GB, free: 105.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/8.554, allocations: 6.594 kB / 3.576 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/8.555, allocations: 4.078 kB / 3.576 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/8.555, allocations: 53.5 kB / 3.576 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/8.556, allocations: 91.78 kB / 3.576 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/8.558, allocations: 2.388 MB / 3.579 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/8.558, allocations: 22.25 kB / 3.579 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/8.558, allocations: 19.8 kB / 3.579 GB, free: 103.2 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.0001643/8.558, allocations: 43.52 kB / 3.579 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006581/8.559, allocations: 133.7 kB / 3.579 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/8.561, allocations: 0.8381 MB / 3.58 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/8.561, allocations: 7.5 kB / 3.58 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/8.561, allocations: 3.469 kB / 3.58 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/8.562, allocations: 1.022 MB / 3.581 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/8.565, allocations: 1.415 MB / 3.582 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/8.565, allocations: 0 / 3.582 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/8.565, allocations: 53.55 kB / 3.582 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/8.566, allocations: 69.5 kB / 3.582 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/8.566, allocations: 6.25 kB / 3.582 GB, free: 102.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/8.566, allocations: 0.6216 MB / 3.583 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/8.566, allocations: 3.906 kB / 3.583 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002104/8.568, allocations: 1.057 MB / 3.584 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/8.568, allocations: 106.1 kB / 3.584 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/8.569, allocations: 3.562 kB / 3.584 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/8.569, allocations: 43.83 kB / 3.584 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/8.569, allocations: 17.55 kB / 3.584 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/8.569, allocations: 18.2 kB / 3.584 GB, free: 101.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002142/8.57, allocations: 161.8 kB / 3.584 GB, free: 101.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00486/8.575, allocations: 0.8729 MB / 3.585 GB, free: 101.2 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.009635/8.584, allocations: 1.48 MB / 3.586 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00176/8.586, allocations: 0.5736 MB / 3.587 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/8.586, allocations: 0 / 3.587 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006692/8.587, allocations: 372.7 kB / 3.587 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/8.588, allocations: 125.2 kB / 3.587 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/8.59, allocations: 0.7991 MB / 3.588 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/8.591, allocations: 0.86 MB / 3.589 GB, free: 100.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/8.591, allocations: 3.562 kB / 3.589 GB, free: 100.1 MB / 442.7 MB Notification: Performance of Templates: time 0.05179/8.643, allocations: 25.52 MB / 3.614 GB, free: 99.19 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches