Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) 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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.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.0009129/0.000913, allocations: 186.2 kB / 7.799 MB, free: 2.488 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.059/1.059, 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.0007955/0.0007955, allocations: 92.56 kB / 261.4 MB, free: 13.61 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.1525/0.1525, allocations: 43.48 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.543e-06/6.803e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.955/4.179, allocations: 2.795 GB / 3.26 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/4.179, allocations: 95.22 kB / 3.26 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.338/5.518, allocations: 0.4897 GB / 3.75 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.74e-05/5.518, allocations: 14.3 kB / 3.75 GB, free: 4.859 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.006353/5.524, allocations: 1.729 MB / 3.752 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/5.524, allocations: 8.031 kB / 3.752 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/5.527, allocations: 338.6 kB / 3.752 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/5.528, allocations: 0.6015 MB / 3.753 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/5.528, allocations: 100.6 kB / 3.753 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/5.528, allocations: 32 kB / 3.753 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/5.529, allocations: 0.6625 MB / 3.753 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/5.531, allocations: 0.8955 MB / 3.754 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/5.531, allocations: 7.938 kB / 3.754 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/5.531, allocations: 4 kB / 3.754 GB, free: 316 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/5.531, allocations: 49.28 kB / 3.754 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3041/5.835, allocations: 83.1 MB / 3.835 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/5.835, allocations: 231.2 kB / 3.836 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/5.836, allocations: 158.7 kB / 3.836 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06496/5.901, allocations: 38.41 MB / 3.873 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/5.901, allocations: 43.38 kB / 3.873 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.916e-06/5.901, allocations: 0 / 3.873 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.003512/5.904, allocations: 1.368 MB / 3.875 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/5.904, allocations: 132.5 kB / 3.875 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/5.905, allocations: 498.4 kB / 3.875 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/5.905, allocations: 29.27 kB / 3.875 GB, free: 42.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/5.905, allocations: 362.8 kB / 3.876 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/5.905, allocations: 144 kB / 3.876 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/5.905, allocations: 0 / 3.876 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001327/5.905, allocations: 366.2 kB / 3.876 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/5.906, allocations: 218.8 kB / 3.876 GB, free: 42.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/5.906, allocations: 0.5551 MB / 3.877 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/5.907, allocations: 335.5 kB / 3.877 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/5.907, allocations: 7.281 kB / 3.877 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001835/5.908, allocations: 0.9981 MB / 3.878 GB, free: 41.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/5.909, allocations: 8.625 kB / 3.878 GB, free: 41.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/5.909, allocations: 11.62 kB / 3.878 GB, free: 41.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/5.909, allocations: 63.52 kB / 3.878 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/5.91, allocations: 278.2 kB / 3.879 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/5.911, allocations: 1.976 MB / 3.881 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/5.912, allocations: 47.19 kB / 3.881 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/5.912, allocations: 44.31 kB / 3.881 GB, free: 39.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],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.0001676/5.912, allocations: 139.3 kB / 3.881 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006757/5.913, allocations: 270 kB / 3.881 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/5.915, allocations: 1.767 MB / 3.883 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/5.915, allocations: 19.77 kB / 3.883 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/5.915, allocations: 0 / 3.883 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/5.915, allocations: 4.672 kB / 3.883 GB, free: 39.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/5.917, allocations: 2.671 MB / 3.885 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.917, allocations: 4.172 kB / 3.885 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/5.918, allocations: 167.9 kB / 3.886 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/5.918, allocations: 76.92 kB / 3.886 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/5.918, allocations: 6 kB / 3.886 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/5.92, allocations: 2.027 MB / 3.888 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.92, allocations: 1.031 kB / 3.888 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002231/5.922, allocations: 2.063 MB / 3.89 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/5.922, allocations: 228.6 kB / 3.89 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/5.922, allocations: 7.844 kB / 3.89 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/5.923, allocations: 44.97 kB / 3.89 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/5.923, allocations: 26.45 kB / 3.89 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/5.923, allocations: 24.41 kB / 3.89 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003888/5.923, allocations: 359.7 kB / 3.89 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004817/5.928, allocations: 1.115 MB / 3.891 GB, free: 36.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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.006243/5.935, allocations: 1.714 MB / 3.893 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002299/5.937, allocations: 1.122 MB / 3.894 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/5.937, allocations: 0 / 3.894 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/5.938, allocations: 0.9062 MB / 3.895 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/5.94, allocations: 255.5 kB / 3.895 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/5.942, allocations: 1.608 MB / 3.897 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/5.943, allocations: 1.153 MB / 3.898 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/5.943, allocations: 0 / 3.898 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.04735/5.99, allocations: 37.98 MB / 3.935 GB, free: 32.11 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches