Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001654, allocations: 172.5 kB / 8.147 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 91.95 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2597/0.2597, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.394e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2716, allocations: 58.84 MB / 476.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.591/6.863, allocations: 3.119 GB / 3.585 GB, free: 39.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/6.863, allocations: 95.38 kB / 3.585 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.482/11.34, allocations: 1.132 GB / 4.717 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.868e-05/11.35, allocations: 16 kB / 4.717 GB, free: 60.54 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00705/11.35, allocations: 1.582 MB / 4.718 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/11.35, allocations: 8.031 kB / 4.718 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/11.35, allocations: 94.72 kB / 4.718 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/11.35, allocations: 0.54 MB / 4.719 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/11.35, allocations: 88.31 kB / 4.719 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/11.36, allocations: 28 kB / 4.719 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00155/11.36, allocations: 0.5565 MB / 4.719 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/11.36, allocations: 0.7474 MB / 4.72 GB, free: 57.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/11.36, allocations: 4 kB / 4.72 GB, free: 57.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/11.36, allocations: 0 / 4.72 GB, free: 57.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/11.36, allocations: 43.23 kB / 4.72 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00724/11.37, allocations: 4.009 MB / 4.724 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/11.37, allocations: 224.1 kB / 4.724 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/11.37, allocations: 164.1 kB / 4.724 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/11.37, allocations: 349.6 kB / 4.725 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/11.37, allocations: 46.78 kB / 4.725 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.915e-06/11.37, allocations: 0 / 4.725 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005178/11.37, allocations: 1.272 MB / 4.726 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/11.37, allocations: 137.5 kB / 4.726 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/11.37, allocations: 449.8 kB / 4.727 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/11.37, allocations: 29.7 kB / 4.727 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/11.37, allocations: 358.3 kB / 4.727 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/11.37, allocations: 136.1 kB / 4.727 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/11.37, allocations: 0 / 4.727 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/11.37, allocations: 348.5 kB / 4.727 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/11.37, allocations: 201.2 kB / 4.728 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/11.38, allocations: 0.4909 MB / 4.728 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/11.38, allocations: 332.8 kB / 4.728 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/11.38, allocations: 0 / 4.728 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003175/11.38, allocations: 0.8566 MB / 4.729 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/11.38, allocations: 8.156 kB / 4.729 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/11.38, allocations: 8 kB / 4.729 GB, free: 48.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/11.38, allocations: 226.9 kB / 4.729 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/11.38, allocations: 129.7 kB / 4.73 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/11.38, allocations: 0.8783 MB / 4.73 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/11.38, allocations: 35.75 kB / 4.731 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/11.38, allocations: 39.52 kB / 4.731 GB, free: 46.85 MB / 0.5105 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.0001991/11.38, allocations: 50.86 kB / 4.731 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/11.39, allocations: 59.25 kB / 4.731 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/11.39, allocations: 0.6299 MB / 4.731 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/11.39, allocations: 7.938 kB / 4.731 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/11.39, allocations: 3.906 kB / 4.731 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/11.39, allocations: 4.547 kB / 4.731 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/11.39, allocations: 1.499 MB / 4.733 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/11.39, allocations: 4 kB / 4.733 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/11.39, allocations: 181.9 kB / 4.733 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/11.39, allocations: 58.31 kB / 4.733 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/11.39, allocations: 7.891 kB / 4.733 GB, free: 44.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/11.4, allocations: 2.667 MB / 4.736 GB, free: 41.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/11.4, allocations: 4 kB / 4.736 GB, free: 41.81 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002456/11.4, allocations: 0.9835 MB / 4.737 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/11.4, allocations: 188.9 kB / 4.737 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/11.4, allocations: 12 kB / 4.737 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/11.4, allocations: 23.78 kB / 4.737 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/11.4, allocations: 23.55 kB / 4.737 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/11.4, allocations: 19.84 kB / 4.737 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005598/11.4, allocations: 333.5 kB / 4.737 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001499/11.4, allocations: 227.5 kB / 4.737 GB, free: 40.09 MB / 0.5105 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.0008921/11.4, allocations: 407.7 kB / 4.738 GB, free: 39.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001598/11.41, allocations: 0.5353 MB / 4.738 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/11.41, allocations: 0 / 4.738 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/11.41, allocations: 469.9 kB / 4.739 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/11.41, allocations: 256.5 kB / 4.739 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/11.41, allocations: 1.015 MB / 4.74 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008048/11.41, allocations: 1.015 MB / 4.741 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.133e-06/11.41, allocations: 0 / 4.741 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.0298/11.44, allocations: 15.24 MB / 4.756 GB, free: 26.22 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches