Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.7 kB / 8.52 MB, free: 1.789 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.33/1.33, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0008753/0.0008753, allocations: 88.72 kB / 281.2 MB, free: 5.441 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.1766/0.1766, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.743e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1266, allocations: 61.9 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.73/5.857, allocations: 3.082 GB / 3.577 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/5.857, allocations: 72.33 kB / 3.577 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.731/6.588, allocations: 209.4 MB / 3.781 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.39e-05/6.588, allocations: 0 / 3.781 GB, free: 74.35 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.005089/6.593, allocations: 1.16 MB / 3.782 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/6.593, allocations: 11.97 kB / 3.782 GB, free: 73.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/6.594, allocations: 27.72 kB / 3.782 GB, free: 73.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/6.594, allocations: 221.4 kB / 3.782 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/6.594, allocations: 119.2 kB / 3.783 GB, free: 72.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/6.594, allocations: 12 kB / 3.783 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006283/6.595, allocations: 0.7198 MB / 3.783 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/6.595, allocations: 280.6 kB / 3.784 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/6.595, allocations: 0 / 3.784 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/6.595, allocations: 0 / 3.784 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/6.595, allocations: 8 kB / 3.784 GB, free: 72.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/6.597, allocations: 3.509 MB / 3.787 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/6.598, allocations: 50.61 kB / 3.787 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/6.598, allocations: 16.66 kB / 3.787 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/6.598, allocations: 448.7 kB / 3.788 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/6.598, allocations: 34.47 kB / 3.788 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/6.598, allocations: 4 kB / 3.788 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001758/6.598, allocations: 61.67 kB / 3.788 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/6.598, allocations: 51.41 kB / 3.788 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/6.598, allocations: 209.5 kB / 3.788 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/6.598, allocations: 33.59 kB / 3.788 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/6.598, allocations: 248.9 kB / 3.788 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-06/6.599, allocations: 8 kB / 3.788 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/6.599, allocations: 0 / 3.788 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/6.599, allocations: 334.4 kB / 3.788 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/6.599, allocations: 32.88 kB / 3.788 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/6.599, allocations: 334.3 kB / 3.789 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/6.599, allocations: 121.1 kB / 3.789 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/6.599, allocations: 7.938 kB / 3.789 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005855/6.6, allocations: 342.7 kB / 3.789 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/6.6, allocations: 4 kB / 3.789 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/6.6, allocations: 15.94 kB / 3.789 GB, free: 65.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/6.6, allocations: 16 kB / 3.789 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/6.6, allocations: 98.88 kB / 3.789 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/6.6, allocations: 19.94 kB / 3.789 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/6.6, allocations: 55.81 kB / 3.789 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/6.6, allocations: 27.7 kB / 3.789 GB, free: 65.5 MB / 0.5105 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 6.822e-05/6.6, allocations: 124.7 kB / 3.79 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/6.6, allocations: 23.72 kB / 3.79 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/6.601, allocations: 16.42 kB / 3.79 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/6.601, allocations: 0 / 3.79 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/6.601, allocations: 0 / 3.79 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/6.601, allocations: 4 kB / 3.79 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/6.601, allocations: 181.1 kB / 3.79 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/6.601, allocations: 4 kB / 3.79 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/6.601, allocations: 0 / 3.79 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/6.601, allocations: 0 / 3.79 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/6.601, allocations: 3.984 kB / 3.79 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/6.601, allocations: 0 / 3.79 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/6.601, allocations: 0 / 3.79 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.89e-05/6.601, allocations: 159.6 kB / 3.79 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/6.601, allocations: 104.7 kB / 3.79 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/6.601, allocations: 4.031 kB / 3.79 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/6.601, allocations: 0 / 3.79 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/6.601, allocations: 3.562 kB / 3.79 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/6.601, allocations: 4 kB / 3.79 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.11e-05/6.601, allocations: 148.7 kB / 3.79 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005746/6.602, allocations: 103.8 kB / 3.79 GB, free: 64.61 MB / 0.5105 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.0003576/6.602, allocations: 304 kB / 3.791 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002065/6.602, allocations: 140.5 kB / 3.791 GB, free: 64.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/6.602, allocations: 0 / 3.791 GB, free: 64.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/6.602, allocations: 4 kB / 3.791 GB, free: 64.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/6.603, allocations: 12.5 kB / 3.791 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5117/7.114, allocations: 96.91 MB / 3.885 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/7.115, allocations: 0.7515 MB / 3.886 GB, free: 123 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/7.115, allocations: 3.656 kB / 3.886 GB, free: 123 MB / 0.5105 GB Notification: Performance of Templates: time 0.006958/7.122, allocations: 3.426 MB / 3.889 GB, free: 123 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches