Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [: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.001737/0.001737, allocations: 172.2 kB / 8.147 MB, free: 2.207 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.657/1.657, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001266/0.001266, allocations: 91.41 kB / 261.8 MB, free: 13.62 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.2945/0.2945, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.096e-06/8.285e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2845, allocations: 58.82 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.439/6.724, allocations: 3.076 GB / 3.541 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/6.724, allocations: 74.33 kB / 3.541 GB, free: 78.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.9824/7.706, allocations: 207.8 MB / 3.744 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.61e-05/7.707, allocations: 8 kB / 3.744 GB, free: 71.16 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.005215/7.712, allocations: 1.149 MB / 3.745 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/7.712, allocations: 8.031 kB / 3.745 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/7.712, allocations: 35.66 kB / 3.745 GB, free: 70.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/7.712, allocations: 225.8 kB / 3.745 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/7.713, allocations: 123.2 kB / 3.745 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/7.713, allocations: 12 kB / 3.745 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/7.714, allocations: 0.7088 MB / 3.746 GB, free: 69.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/7.714, allocations: 284.5 kB / 3.746 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/7.714, allocations: 4 kB / 3.746 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/7.714, allocations: 3.938 kB / 3.746 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/7.714, allocations: 8 kB / 3.746 GB, free: 68.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/7.718, allocations: 3.5 MB / 3.75 GB, free: 64.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/7.718, allocations: 46.36 kB / 3.75 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/7.718, allocations: 16.95 kB / 3.75 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/7.719, allocations: 454.5 kB / 3.75 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/7.719, allocations: 34.56 kB / 3.75 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.344e-06/7.719, allocations: 0 / 3.75 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002353/7.719, allocations: 53.58 kB / 3.75 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/7.719, allocations: 55.41 kB / 3.75 GB, free: 64.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/7.719, allocations: 207.4 kB / 3.751 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/7.719, allocations: 25.7 kB / 3.751 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/7.719, allocations: 326.3 kB / 3.751 GB, free: 63.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/7.719, allocations: 12.03 kB / 3.751 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/7.719, allocations: 0 / 3.751 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/7.72, allocations: 330.6 kB / 3.751 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/7.72, allocations: 28.88 kB / 3.751 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/7.72, allocations: 339 kB / 3.752 GB, free: 62.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/7.72, allocations: 123.9 kB / 3.752 GB, free: 62.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/7.72, allocations: 4 kB / 3.752 GB, free: 62.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000979/7.721, allocations: 336.8 kB / 3.752 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/7.721, allocations: 10.05 kB / 3.752 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/7.721, allocations: 12.84 kB / 3.752 GB, free: 62.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/7.721, allocations: 16 kB / 3.752 GB, free: 62.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/7.722, allocations: 102 kB / 3.752 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/7.722, allocations: 19.45 kB / 3.752 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/7.722, allocations: 31.69 kB / 3.752 GB, free: 62.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/7.722, allocations: 39.39 kB / 3.752 GB, free: 62.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/7.723, allocations: 50.86 kB / 3.752 GB, free: 62.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/7.723, allocations: 27.66 kB / 3.752 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/7.723, allocations: 12.28 kB / 3.752 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/7.723, allocations: 7.984 kB / 3.752 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/7.723, allocations: 0 / 3.752 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/7.723, allocations: 4 kB / 3.752 GB, free: 62.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/7.723, allocations: 191.2 kB / 3.753 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/7.723, allocations: 0 / 3.753 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/7.723, allocations: 0 / 3.753 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/7.723, allocations: 3.906 kB / 3.753 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/7.723, allocations: 4 kB / 3.753 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/7.723, allocations: 0 / 3.753 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/7.723, allocations: 0 / 3.753 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001552/7.723, allocations: 154.5 kB / 3.753 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/7.723, allocations: 118.5 kB / 3.753 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/7.723, allocations: 4 kB / 3.753 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/7.724, allocations: 3.938 kB / 3.753 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/7.724, allocations: 0 / 3.753 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/7.724, allocations: 7.516 kB / 3.753 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00013/7.724, allocations: 144.1 kB / 3.753 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008069/7.725, allocations: 99.33 kB / 3.753 GB, free: 61.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004588/7.725, allocations: 303.2 kB / 3.753 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003338/7.725, allocations: 137 kB / 3.754 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/7.725, allocations: 0 / 3.754 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/7.725, allocations: 7.422 kB / 3.754 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/7.726, allocations: 12.5 kB / 3.754 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5578/8.284, allocations: 96.25 MB / 3.848 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/8.284, allocations: 0.7538 MB / 3.848 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/8.284, allocations: 0 / 3.848 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.007968/8.292, allocations: 4.038 MB / 3.852 GB, free: 118.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches