Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [: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.0008984/0.0008985, allocations: 184.3 kB / 7.801 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 0.9959/0.9959, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007738/0.0007738, allocations: 86.28 kB / 261.4 MB, free: 13.54 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.1664/0.1664, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.318/4.572, allocations: 2.793 GB / 3.259 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/4.572, allocations: 91.94 kB / 3.259 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.545/6.117, allocations: 499 MB / 3.746 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.193e-05/6.117, allocations: 27.78 kB / 3.746 GB, free: 58.8 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.006654/6.123, allocations: 1.696 MB / 3.748 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/6.124, allocations: 11.16 kB / 3.748 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/6.125, allocations: 240 kB / 3.748 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/6.126, allocations: 0.5855 MB / 3.748 GB, free: 57.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/6.127, allocations: 83.88 kB / 3.749 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/6.127, allocations: 42.34 kB / 3.749 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009937/6.128, allocations: 0.6401 MB / 3.749 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/6.129, allocations: 0.885 MB / 3.75 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/6.129, allocations: 7.156 kB / 3.75 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/6.129, allocations: 3.844 kB / 3.75 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/6.129, allocations: 50.03 kB / 3.75 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/6.244, allocations: 67.64 MB / 3.816 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/6.244, allocations: 225.3 kB / 3.816 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/6.244, allocations: 156.1 kB / 3.817 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08359/6.328, allocations: 47.21 MB / 3.863 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/6.328, allocations: 41.2 kB / 3.863 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/6.328, allocations: 0 / 3.863 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36): time 0.003852/6.332, allocations: 1.369 MB / 3.864 GB, free: 32.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/6.332, allocations: 141.5 kB / 3.864 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/6.333, allocations: 0.4998 MB / 3.865 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/6.333, allocations: 29.7 kB / 3.865 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/6.333, allocations: 374.1 kB / 3.865 GB, free: 31.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/6.333, allocations: 128 kB / 3.865 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/6.333, allocations: 0 / 3.865 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001476/6.333, allocations: 371.5 kB / 3.866 GB, free: 31.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/6.334, allocations: 231.3 kB / 3.866 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/6.334, allocations: 0.5855 MB / 3.866 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/6.335, allocations: 346.5 kB / 3.867 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/6.335, allocations: 3.594 kB / 3.867 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002113/6.337, allocations: 1.025 MB / 3.868 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/6.337, allocations: 5.625 kB / 3.868 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/6.337, allocations: 12.31 kB / 3.868 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/6.337, allocations: 71.98 kB / 3.868 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/6.338, allocations: 281.5 kB / 3.868 GB, free: 30.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/6.34, allocations: 2.029 MB / 3.87 GB, free: 28.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/6.341, allocations: 51.83 kB / 3.87 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/6.341, allocations: 51.22 kB / 3.87 GB, free: 28.93 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001651/6.341, allocations: 140.1 kB / 3.87 GB, free: 28.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005102/6.342, allocations: 204.4 kB / 3.87 GB, free: 28.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/6.344, allocations: 1.679 MB / 3.872 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/6.344, allocations: 20.39 kB / 3.872 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/6.344, allocations: 0 / 3.872 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/6.344, allocations: 1.125 kB / 3.872 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/6.347, allocations: 2.544 MB / 3.875 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/6.347, allocations: 0 / 3.875 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/6.348, allocations: 164.6 kB / 3.875 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/6.348, allocations: 119.1 kB / 3.875 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/6.348, allocations: 7.797 kB / 3.875 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/6.35, allocations: 2.121 MB / 3.877 GB, free: 26.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/6.35, allocations: 3.609 kB / 3.877 GB, free: 26.44 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002702/6.353, allocations: 1.967 MB / 3.879 GB, free: 26.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/6.353, allocations: 214.4 kB / 3.879 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/6.353, allocations: 2 kB / 3.879 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/6.353, allocations: 23.91 kB / 3.879 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/6.353, allocations: 24.84 kB / 3.879 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/6.354, allocations: 15.3 kB / 3.879 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0004634/6.354, allocations: 365.8 kB / 3.879 GB, free: 25.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005513/6.36, allocations: 1.117 MB / 3.881 GB, free: 25.84 MB / 0.5573 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.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006962/6.366, allocations: 1.733 MB / 3.882 GB, free: 25.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002083/6.369, allocations: 1.113 MB / 3.883 GB, free: 25.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/6.369, allocations: 0 / 3.883 GB, free: 25.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/6.37, allocations: 0.861 MB / 3.884 GB, free: 25.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/6.371, allocations: 251.2 kB / 3.884 GB, free: 25.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/6.374, allocations: 1.54 MB / 3.886 GB, free: 25.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/6.375, allocations: 1.128 MB / 3.887 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/6.375, allocations: 1.469 kB / 3.887 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.04754/6.422, allocations: 37.41 MB / 3.924 GB, free: 5.141 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_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_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches