Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.0009618/0.0009617, allocations: 188.4 kB / 7.806 MB, free: 2.496 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.029/1.029, allocations: 205.2 MB / 213.4 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.0007735/0.0007734, allocations: 85.69 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1638/0.1638, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.296e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.242/4.513, allocations: 2.795 GB / 3.26 GB, free: 73.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/4.513, allocations: 91.95 kB / 3.26 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.424/5.938, allocations: 0.4896 GB / 3.75 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.363e-05/5.938, allocations: 16.38 kB / 3.75 GB, free: 55.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005939/5.944, allocations: 1.773 MB / 3.752 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/5.944, allocations: 11.59 kB / 3.752 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/5.946, allocations: 343 kB / 3.752 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/5.947, allocations: 0.6031 MB / 3.753 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/5.947, allocations: 93.7 kB / 3.753 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/5.947, allocations: 35.25 kB / 3.753 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009729/5.948, allocations: 0.7122 MB / 3.753 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/5.949, allocations: 0.9019 MB / 3.754 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/5.949, allocations: 10.09 kB / 3.754 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/5.949, allocations: 3.688 kB / 3.754 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/5.949, allocations: 46.67 kB / 3.754 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08501/6.034, allocations: 52.87 MB / 3.806 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/6.035, allocations: 253.7 kB / 3.806 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/6.035, allocations: 193 kB / 3.806 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/6.05, allocations: 8.072 MB / 3.814 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/6.05, allocations: 37.22 kB / 3.814 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.394e-06/6.05, allocations: 2.625 kB / 3.814 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.003723/6.054, allocations: 1.449 MB / 3.816 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/6.054, allocations: 133.3 kB / 3.816 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/6.054, allocations: 498.1 kB / 3.816 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/6.054, allocations: 25.7 kB / 3.816 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/6.054, allocations: 359.5 kB / 3.817 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/6.054, allocations: 146.1 kB / 3.817 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/6.054, allocations: 0 / 3.817 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001408/6.055, allocations: 373.9 kB / 3.817 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/6.055, allocations: 241.6 kB / 3.817 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/6.055, allocations: 0.5555 MB / 3.818 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/6.056, allocations: 348.4 kB / 3.818 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/6.056, allocations: 3.438 kB / 3.818 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002109/6.058, allocations: 1.107 MB / 3.819 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/6.058, allocations: 6.375 kB / 3.819 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/6.058, allocations: 14.03 kB / 3.819 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/6.058, allocations: 58.91 kB / 3.819 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/6.06, allocations: 304.6 kB / 3.82 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/6.061, allocations: 1.982 MB / 3.822 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/6.062, allocations: 88.66 kB / 3.822 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/6.062, allocations: 37.62 kB / 3.822 GB, free: 28.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001914/6.062, allocations: 149.3 kB / 3.822 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000644/6.063, allocations: 265.1 kB / 3.822 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/6.065, allocations: 1.805 MB / 3.824 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/6.065, allocations: 24.19 kB / 3.824 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/6.065, allocations: 11.41 kB / 3.824 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/6.065, allocations: 0 / 3.824 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/6.067, allocations: 2.764 MB / 3.827 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/6.067, allocations: 0 / 3.827 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009214/6.068, allocations: 195.8 kB / 3.827 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/6.068, allocations: 79.59 kB / 3.827 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/6.068, allocations: 13.25 kB / 3.827 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/6.07, allocations: 2.015 MB / 3.829 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/6.07, allocations: 0 / 3.829 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002316/6.072, allocations: 2.177 MB / 3.831 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/6.072, allocations: 235.4 kB / 3.831 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/6.072, allocations: 3.188 kB / 3.831 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/6.073, allocations: 54.69 kB / 3.831 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/6.073, allocations: 43.06 kB / 3.831 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/6.073, allocations: 20.41 kB / 3.831 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003382/6.073, allocations: 350.9 kB / 3.832 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004185/6.078, allocations: 1.113 MB / 3.833 GB, free: 25.09 MB / 0.5261 GB 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005485/6.083, allocations: 1.725 MB / 3.835 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002153/6.085, allocations: 1.169 MB / 3.836 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/6.085, allocations: 0 / 3.836 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/6.087, allocations: 0.9327 MB / 3.837 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/6.088, allocations: 277.3 kB / 3.837 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/6.091, allocations: 1.658 MB / 3.838 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/6.091, allocations: 1.15 MB / 3.84 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/6.091, allocations: 0 / 3.84 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.0472/6.138, allocations: 38.72 MB / 3.877 GB, free: 21.07 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches