Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009881/0.0009935, allocations: 179.5 kB / 8.519 MB, free: 1.855 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.278/1.278, allocations: 221.4 MB / 230.3 MB, free: 7.633 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.0009508/0.0009508, allocations: 91.8 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.2748/0.2748, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.064e-05/1.076e-05, allocations: 4 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 61.9 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.151/6.326, allocations: 2.746 GB / 3.24 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/6.327, allocations: 78.72 kB / 3.24 GB, free: 165.2 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.1698/6.496, allocations: 64.35 MB / 3.303 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.054e-06/6.496, allocations: 0 / 3.303 GB, free: 137.5 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.002856/6.499, allocations: 0.5632 MB / 3.303 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/6.499, allocations: 13.22 kB / 3.303 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/6.5, allocations: 15.14 kB / 3.303 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/6.5, allocations: 168.4 kB / 3.303 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/6.5, allocations: 4 kB / 3.303 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/6.5, allocations: 0 / 3.303 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.526e-05/6.5, allocations: 17.45 kB / 3.303 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/6.5, allocations: 64.95 kB / 3.304 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/6.5, allocations: 4 kB / 3.304 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/6.5, allocations: 3.984 kB / 3.304 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/6.5, allocations: 0 / 3.304 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/6.5, allocations: 344.9 kB / 3.304 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/6.5, allocations: 36.64 kB / 3.304 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/6.501, allocations: 12.86 kB / 3.304 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/6.514, allocations: 4.622 MB / 3.308 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/6.514, allocations: 35.02 kB / 3.308 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/6.514, allocations: 0 / 3.308 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003982/6.515, allocations: 87.05 kB / 3.309 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/6.515, allocations: 52.02 kB / 3.309 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/6.515, allocations: 89.52 kB / 3.309 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/6.515, allocations: 25.7 kB / 3.309 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/6.515, allocations: 97.05 kB / 3.309 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/6.515, allocations: 12.98 kB / 3.309 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/6.515, allocations: 0 / 3.309 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/6.515, allocations: 315.9 kB / 3.309 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/6.515, allocations: 8.781 kB / 3.309 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/6.515, allocations: 27.66 kB / 3.309 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/6.515, allocations: 10.25 kB / 3.309 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/6.515, allocations: 0 / 3.309 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002215/6.515, allocations: 91.84 kB / 3.309 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/6.515, allocations: 4 kB / 3.309 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/6.515, allocations: 4.719 kB / 3.309 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/6.515, allocations: 4 kB / 3.309 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/6.515, allocations: 9.781 kB / 3.309 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/6.515, allocations: 3.938 kB / 3.309 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/6.515, allocations: 12.59 kB / 3.309 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/6.515, allocations: 4 kB / 3.309 GB, free: 131 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 5.528e-05/6.515, allocations: 105.6 kB / 3.309 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/6.516, allocations: 25.89 kB / 3.309 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/6.516, allocations: 430.7 kB / 3.31 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/6.516, allocations: 14.95 kB / 3.31 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/6.516, allocations: 0 / 3.31 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/6.516, allocations: 0.9375 kB / 3.31 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/6.516, allocations: 245.2 kB / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/6.516, allocations: 0 / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/6.516, allocations: 9.25 kB / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/6.516, allocations: 4 kB / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/6.516, allocations: 0.6094 kB / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/6.516, allocations: 192 / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/6.516, allocations: 4.797 kB / 3.31 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003882/6.517, allocations: 433.5 kB / 3.311 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/6.517, allocations: 85.91 kB / 3.311 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/6.517, allocations: 0 / 3.311 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/6.517, allocations: 8.594 kB / 3.311 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/6.517, allocations: 5.359 kB / 3.311 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/6.517, allocations: 0 / 3.311 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.838e-05/6.517, allocations: 79.84 kB / 3.311 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00256/6.52, allocations: 469.6 kB / 3.311 GB, free: 129.2 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.002083/6.522, allocations: 0.674 MB / 3.312 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001887/6.522, allocations: 168.1 kB / 3.312 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.522, allocations: 0 / 3.312 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/6.522, allocations: 174.7 kB / 3.312 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/6.522, allocations: 10.91 kB / 3.312 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/6.523, allocations: 264.6 kB / 3.312 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/6.523, allocations: 0.722 MB / 3.313 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/6.523, allocations: 3.938 kB / 3.313 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02078/6.544, allocations: 14.33 MB / 3.327 GB, free: 114.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches