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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009918/0.0009919, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 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: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007782/0.0007783, allocations: 92.95 kB / 293.3 MB, free: 10.77 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.3753/0.3753, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3465, allocations: 61.89 MB / 0.5107 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.055/6.402, allocations: 2.747 GB / 3.257 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/6.402, allocations: 77.69 kB / 3.258 GB, free: 114.1 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 - DAE generated: time 0.146/6.548, allocations: 66.03 MB / 3.322 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.454e-06/6.548, allocations: 0 / 3.322 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.751e-06/6.548, allocations: 0 / 3.322 GB, free: 47.9 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.002317/6.55, allocations: 0.5655 MB / 3.323 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/6.551, allocations: 8.031 kB / 3.323 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/6.551, allocations: 12.92 kB / 3.323 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.017e-05/6.551, allocations: 164.4 kB / 3.323 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/6.551, allocations: 12.31 kB / 3.323 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/6.551, allocations: 384 / 3.323 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/6.551, allocations: 91.88 kB / 3.323 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/6.551, allocations: 4.125 kB / 3.323 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/6.551, allocations: 3.938 kB / 3.323 GB, free: 46.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/6.551, allocations: 4 kB / 3.323 GB, free: 46.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/6.551, allocations: 43.95 kB / 3.323 GB, free: 46.89 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/6.552, allocations: 372.8 kB / 3.323 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/6.552, allocations: 50.64 kB / 3.323 GB, free: 46.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/6.552, allocations: 20.84 kB / 3.323 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009976/6.562, allocations: 4.527 MB / 3.328 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/6.562, allocations: 30.56 kB / 3.328 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/6.562, allocations: 4 kB / 3.328 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004561/6.562, allocations: 105.6 kB / 3.328 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/6.563, allocations: 55.41 kB / 3.328 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/6.563, allocations: 93.86 kB / 3.328 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/6.563, allocations: 29.69 kB / 3.328 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/6.563, allocations: 91.98 kB / 3.328 GB, free: 41.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/6.563, allocations: 7.812 kB / 3.328 GB, free: 41.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/6.563, allocations: 4 kB / 3.328 GB, free: 41.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/6.563, allocations: 322.9 kB / 3.328 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/6.563, allocations: 7.984 kB / 3.328 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/6.563, allocations: 22.58 kB / 3.329 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/6.563, allocations: 42.5 kB / 3.329 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/6.563, allocations: 0 / 3.329 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.253e-05/6.563, allocations: 69.56 kB / 3.329 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/6.563, allocations: 5.406 kB / 3.329 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/6.563, allocations: 4 kB / 3.329 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/6.563, allocations: 0 / 3.329 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/6.563, allocations: 8 kB / 3.329 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/6.563, allocations: 0 / 3.329 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/6.563, allocations: 11.84 kB / 3.329 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/6.563, allocations: 0 / 3.329 GB, free: 40.54 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 () * Number of clocked 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.103e-05/6.563, allocations: 125.8 kB / 3.329 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/6.563, allocations: 4.062 kB / 3.329 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/6.563, allocations: 374.1 kB / 3.329 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/6.564, allocations: 8 kB / 3.329 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/6.564, allocations: 4 kB / 3.329 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/6.564, allocations: 11.92 kB / 3.329 GB, free: 40.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/6.564, allocations: 278.2 kB / 3.329 GB, free: 39.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/6.564, allocations: 0 / 3.329 GB, free: 39.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/6.564, allocations: 4 kB / 3.329 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/6.564, allocations: 4 kB / 3.329 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/6.564, allocations: 3.984 kB / 3.329 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/6.564, allocations: 0 / 3.329 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/6.564, allocations: 0 / 3.329 GB, free: 39.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/6.564, allocations: 289.8 kB / 3.33 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/6.564, allocations: 88.95 kB / 3.33 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/6.564, allocations: 4 kB / 3.33 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/6.564, allocations: 0 / 3.33 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/6.564, allocations: 4 kB / 3.33 GB, free: 39.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/6.564, allocations: 240 / 3.33 GB, free: 39.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.85e-05/6.564, allocations: 79.27 kB / 3.33 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/6.564, allocations: 0 / 3.33 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002059/6.566, allocations: 459.7 kB / 3.33 GB, free: 38.73 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 () * Number of clocked 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.003255/6.569, allocations: 0.6144 MB / 3.331 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001488/6.57, allocations: 91.8 kB / 3.331 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/6.57, allocations: 0 / 3.331 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/6.57, allocations: 95.97 kB / 3.331 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/6.57, allocations: 11.98 kB / 3.331 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/6.571, allocations: 352.1 kB / 3.331 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/6.571, allocations: 0.7086 MB / 3.332 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.966e-05/6.571, allocations: 27.95 kB / 3.332 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/6.571, allocations: 11.44 kB / 3.332 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/6.571, allocations: 0 / 3.332 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.01764/6.588, allocations: 14.28 MB / 3.346 GB, free: 22.49 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/jenkins1/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