Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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 4.0.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 182.8 kB / 8.521 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.4 MB / 230.3 MB, free: 7.625 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.97 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1922/0.1922, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.734e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.272/6.424, allocations: 3.126 GB / 3.62 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/6.424, allocations: 87.95 kB / 3.62 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.288/9.712, allocations: 1.136 GB / 4.756 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000155/9.713, allocations: 17.78 kB / 4.756 GB, free: 97.41 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.008783/9.722, allocations: 1.581 MB / 4.758 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/9.722, allocations: 11.55 kB / 4.758 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/9.722, allocations: 91.39 kB / 4.758 GB, free: 96.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/9.724, allocations: 0.535 MB / 4.758 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/9.724, allocations: 88.7 kB / 4.758 GB, free: 96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/9.724, allocations: 27.44 kB / 4.758 GB, free: 96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/9.726, allocations: 0.5615 MB / 4.759 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/9.727, allocations: 0.7464 MB / 4.76 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/9.727, allocations: 1.438 kB / 4.76 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/9.727, allocations: 2.938 kB / 4.76 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/9.727, allocations: 43.47 kB / 4.76 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/9.733, allocations: 4.008 MB / 4.764 GB, free: 92.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/9.733, allocations: 220.3 kB / 4.764 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/9.733, allocations: 172.6 kB / 4.764 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/9.734, allocations: 345.7 kB / 4.764 GB, free: 91.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/9.734, allocations: 44.78 kB / 4.764 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/9.734, allocations: 0.7188 kB / 4.764 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.00337/9.737, allocations: 1.265 MB / 4.766 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/9.737, allocations: 142.5 kB / 4.766 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/9.738, allocations: 448.2 kB / 4.766 GB, free: 90.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/9.738, allocations: 32.47 kB / 4.766 GB, free: 90.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/9.738, allocations: 322.1 kB / 4.766 GB, free: 90.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/9.738, allocations: 140.7 kB / 4.767 GB, free: 90.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/9.738, allocations: 0 / 4.767 GB, free: 90.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001055/9.738, allocations: 372.8 kB / 4.767 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/9.739, allocations: 199.8 kB / 4.767 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/9.739, allocations: 0.4915 MB / 4.768 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/9.74, allocations: 328.4 kB / 4.768 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/9.74, allocations: 3.156 kB / 4.768 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002186/9.742, allocations: 0.883 MB / 4.769 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/9.742, allocations: 4.875 kB / 4.769 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/9.742, allocations: 12.09 kB / 4.769 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/9.743, allocations: 238.2 kB / 4.769 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/9.744, allocations: 129 kB / 4.769 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/9.745, allocations: 0.8878 MB / 4.77 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/9.745, allocations: 37.84 kB / 4.77 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/9.746, allocations: 36.47 kB / 4.77 GB, free: 88.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001664/9.746, allocations: 128.1 kB / 4.77 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/9.746, allocations: 61.03 kB / 4.77 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/9.747, allocations: 0.6236 MB / 4.771 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/9.747, allocations: 14.22 kB / 4.771 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/9.747, allocations: 0 / 4.771 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/9.747, allocations: 3.75 kB / 4.771 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/9.75, allocations: 1.498 MB / 4.772 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/9.75, allocations: 3.531 kB / 4.772 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/9.751, allocations: 179.6 kB / 4.772 GB, free: 86.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/9.751, allocations: 52.8 kB / 4.773 GB, free: 86.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/9.751, allocations: 10.86 kB / 4.773 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/9.753, allocations: 2.673 MB / 4.775 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/9.753, allocations: 8.266 kB / 4.775 GB, free: 83.81 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001391/9.754, allocations: 0.9865 MB / 4.776 GB, free: 82.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/9.755, allocations: 198.8 kB / 4.776 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/9.755, allocations: 4 kB / 4.776 GB, free: 82.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/9.755, allocations: 11.56 kB / 4.776 GB, free: 82.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/9.755, allocations: 35.38 kB / 4.776 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/9.755, allocations: 26.94 kB / 4.776 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003673/9.756, allocations: 324.8 kB / 4.777 GB, free: 82.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001177/9.757, allocations: 219.5 kB / 4.777 GB, free: 82.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007888/9.758, allocations: 417 kB / 4.777 GB, free: 81.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001032/9.759, allocations: 0.5426 MB / 4.778 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/9.759, allocations: 0 / 4.778 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/9.76, allocations: 475.4 kB / 4.778 GB, free: 80.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/9.761, allocations: 262.7 kB / 4.779 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/9.764, allocations: 0.9705 MB / 4.779 GB, free: 79.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/9.764, allocations: 1.019 MB / 4.78 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/9.764, allocations: 0 / 4.78 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.02351/9.788, allocations: 13.22 MB / 4.793 GB, free: 71.55 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches