Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [: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 trunk/package.mo): time 0.0009981/0.0009983, allocations: 197.2 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 90.38 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.784e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 63.25 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.566/6.716, allocations: 2.747 GB / 3.251 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/6.716, allocations: 73.72 kB / 3.251 GB, free: 157.5 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Media.mo:950:7-950:66:writable] Error: Medium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd: time 0.1734/6.89, allocations: 64.42 MB / 3.313 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.583e-06/6.89, allocations: 0 / 3.313 GB, free: 113.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002318/6.892, allocations: 0.5762 MB / 3.314 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/6.892, allocations: 8.031 kB / 3.314 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/6.892, allocations: 7.984 kB / 3.314 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/6.892, allocations: 174.9 kB / 3.314 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/6.892, allocations: 0 / 3.314 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/6.892, allocations: 4 kB / 3.314 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.81e-05/6.893, allocations: 20 kB / 3.314 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.05e-05/6.893, allocations: 67.38 kB / 3.314 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/6.893, allocations: 0 / 3.314 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/6.893, allocations: 0 / 3.314 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/6.893, allocations: 4 kB / 3.314 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/6.893, allocations: 338.6 kB / 3.315 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/6.893, allocations: 42.58 kB / 3.315 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/6.893, allocations: 12.86 kB / 3.315 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/6.906, allocations: 5.222 MB / 3.32 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/6.906, allocations: 34.5 kB / 3.32 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/6.906, allocations: 3.938 kB / 3.32 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003911/6.907, allocations: 81.58 kB / 3.32 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/6.907, allocations: 51.41 kB / 3.32 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/6.907, allocations: 96.91 kB / 3.32 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/6.907, allocations: 25.7 kB / 3.32 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/6.907, allocations: 84.27 kB / 3.32 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/6.907, allocations: 23.73 kB / 3.32 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/6.907, allocations: 0 / 3.32 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/6.907, allocations: 310.8 kB / 3.32 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/6.907, allocations: 8 kB / 3.32 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/6.907, allocations: 22.58 kB / 3.321 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/6.907, allocations: 19.89 kB / 3.321 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.907, allocations: 4 kB / 3.321 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002416/6.907, allocations: 85.59 kB / 3.321 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/6.907, allocations: 4 kB / 3.321 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/6.907, allocations: 7.984 kB / 3.321 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/6.907, allocations: 0 / 3.321 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/6.907, allocations: 8 kB / 3.321 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/6.907, allocations: 7.938 kB / 3.321 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/6.907, allocations: 3.906 kB / 3.321 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/6.907, allocations: 8.062 kB / 3.321 GB, free: 105.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/6.907, allocations: 101 kB / 3.321 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/6.908, allocations: 31.95 kB / 3.321 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/6.908, allocations: 427.6 kB / 3.321 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/6.908, allocations: 7.938 kB / 3.321 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.908, allocations: 0 / 3.321 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/6.908, allocations: 3.984 kB / 3.321 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/6.908, allocations: 238.7 kB / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/6.908, allocations: 0 / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/6.908, allocations: 27.86 kB / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/6.908, allocations: 0 / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/6.908, allocations: 0 / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/6.908, allocations: 3.984 kB / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/6.908, allocations: 0 / 3.321 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004319/6.909, allocations: 423.4 kB / 3.322 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/6.909, allocations: 89 kB / 3.322 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/6.909, allocations: 4.062 kB / 3.322 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/6.909, allocations: 7.906 kB / 3.322 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/6.909, allocations: 8 kB / 3.322 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/6.909, allocations: 0 / 3.322 GB, free: 104 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.927e-05/6.909, allocations: 79.28 kB / 3.322 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002831/6.912, allocations: 483.6 kB / 3.323 GB, free: 103.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004479/6.916, allocations: 0.685 MB / 3.323 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002145/6.917, allocations: 167.8 kB / 3.323 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/6.917, allocations: 128 / 3.323 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/6.917, allocations: 176 kB / 3.324 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/6.917, allocations: 11.98 kB / 3.324 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/6.917, allocations: 262 kB / 3.324 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/6.918, allocations: 0.7267 MB / 3.324 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/6.918, allocations: 7.938 kB / 3.324 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.01965/6.937, allocations: 14.39 MB / 3.339 GB, free: 86.99 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches