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.0009708/0.0009708, allocations: 179.9 kB / 14.15 MB, free: 1.176 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.232/1.232, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008229/0.0008229, allocations: 95.55 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1795/0.1795, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.836e-05, allocations: 4 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1273, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.382/6.51, allocations: 2.746 GB / 3.248 GB, free: 160 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/6.51, allocations: 77.84 kB / 3.248 GB, free: 160 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.1575/6.667, allocations: 65.88 MB / 3.313 GB, free: 128 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.363e-06/6.667, allocations: 0 / 3.313 GB, free: 128 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.47e-06/6.667, allocations: 4 kB / 3.313 GB, free: 127.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.002368/6.67, allocations: 0.5594 MB / 3.313 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/6.67, allocations: 8.031 kB / 3.313 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/6.67, allocations: 15.61 kB / 3.313 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/6.67, allocations: 159.1 kB / 3.313 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/6.67, allocations: 7.953 kB / 3.313 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/6.67, allocations: 0 / 3.313 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/6.67, allocations: 98.45 kB / 3.313 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/6.67, allocations: 4 kB / 3.313 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/6.67, allocations: 3.984 kB / 3.313 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/6.67, allocations: 3.703 kB / 3.313 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/6.671, allocations: 55.23 kB / 3.313 GB, free: 127 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0003685/6.671, allocations: 360.4 kB / 3.314 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/6.671, allocations: 66.22 kB / 3.314 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/6.671, allocations: 20.56 kB / 3.314 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/6.681, allocations: 4.547 MB / 3.318 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/6.681, allocations: 34.56 kB / 3.318 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/6.681, allocations: 0 / 3.318 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003931/6.682, allocations: 109.5 kB / 3.318 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/6.682, allocations: 55.41 kB / 3.318 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/6.682, allocations: 96.91 kB / 3.319 GB, free: 122 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/6.682, allocations: 25.7 kB / 3.319 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/6.682, allocations: 84.08 kB / 3.319 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/6.682, allocations: 15.8 kB / 3.319 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/6.682, allocations: 4 kB / 3.319 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/6.682, allocations: 314.8 kB / 3.319 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/6.682, allocations: 12.06 kB / 3.319 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/6.682, allocations: 26.58 kB / 3.319 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/6.682, allocations: 11.98 kB / 3.319 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/6.682, allocations: 0 / 3.319 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.539e-05/6.682, allocations: 57.62 kB / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/6.682, allocations: 8 kB / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/6.682, allocations: 4.062 kB / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/6.682, allocations: 0 / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/6.682, allocations: 19.94 kB / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/6.682, allocations: 0 / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/6.682, allocations: 7.844 kB / 3.319 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/6.682, allocations: 7.938 kB / 3.319 GB, free: 121.3 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.381e-05/6.682, allocations: 108.9 kB / 3.319 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/6.682, allocations: 4 kB / 3.319 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/6.683, allocations: 378.6 kB / 3.32 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/6.683, allocations: 4 kB / 3.32 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/6.683, allocations: 0 / 3.32 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/6.683, allocations: 0 / 3.32 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/6.683, allocations: 282.1 kB / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/6.683, allocations: 0 / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/6.683, allocations: 12.19 kB / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/6.683, allocations: 0 / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/6.683, allocations: 4 kB / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/6.683, allocations: 3.984 kB / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/6.683, allocations: 0 / 3.32 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/6.683, allocations: 281.8 kB / 3.32 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/6.683, allocations: 88.95 kB / 3.32 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/6.683, allocations: 0 / 3.32 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/6.683, allocations: 8.094 kB / 3.32 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/6.683, allocations: 7.984 kB / 3.32 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/6.683, allocations: 7.938 kB / 3.32 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.857e-05/6.683, allocations: 75.28 kB / 3.32 GB, free: 120 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/6.683, allocations: 0 / 3.32 GB, free: 120 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002379/6.686, allocations: 459.7 kB / 3.321 GB, free: 119.6 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.001913/6.688, allocations: 0.6221 MB / 3.321 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001361/6.688, allocations: 87.84 kB / 3.321 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/6.688, allocations: 0 / 3.321 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/6.688, allocations: 83.98 kB / 3.322 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/6.688, allocations: 20.06 kB / 3.322 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/6.688, allocations: 207.8 kB / 3.322 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/6.689, allocations: 0.7125 MB / 3.322 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.018e-05/6.689, allocations: 27.97 kB / 3.323 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/6.689, allocations: 11.44 kB / 3.323 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/6.689, allocations: 0 / 3.323 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01743/6.706, allocations: 13.89 MB / 3.336 GB, free: 103.8 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