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.001426/0.001426, allocations: 173.3 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008082/0.0008081, allocations: 104.2 kB / 281.6 MB, free: 5.328 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.2059/0.2059, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.562e-05, allocations: 0 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1605, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.944/8.104, allocations: 2.746 GB / 3.24 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/8.105, allocations: 70.94 kB / 3.241 GB, free: 112.2 MB / 0.5105 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.1603/8.265, allocations: 64.92 MB / 3.304 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/8.265, allocations: 0 / 3.304 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.751e-06/8.265, allocations: 0 / 3.304 GB, free: 94.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002512/8.267, allocations: 0.5652 MB / 3.304 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/8.268, allocations: 15.98 kB / 3.304 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/8.268, allocations: 12 kB / 3.304 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/8.268, allocations: 162.8 kB / 3.305 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/8.268, allocations: 3.953 kB / 3.305 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/8.268, allocations: 4 kB / 3.305 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/8.268, allocations: 16 kB / 3.305 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/8.268, allocations: 66.81 kB / 3.305 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/8.268, allocations: 0 / 3.305 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/8.268, allocations: 4 kB / 3.305 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/8.268, allocations: 7.938 kB / 3.305 GB, free: 93.37 MB / 0.5105 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.0003929/8.269, allocations: 332 kB / 3.305 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.946e-05/8.269, allocations: 34.61 kB / 3.305 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/8.269, allocations: 16.86 kB / 3.305 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/8.281, allocations: 4.552 MB / 3.31 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/8.281, allocations: 34.56 kB / 3.31 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 2.585e-06/8.281, allocations: 0 / 3.31 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.000426/8.281, allocations: 77.66 kB / 3.31 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/8.281, allocations: 55.39 kB / 3.31 GB, free: 88.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/8.281, allocations: 100.8 kB / 3.31 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/8.281, allocations: 25.7 kB / 3.31 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/8.281, allocations: 88.08 kB / 3.31 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/8.281, allocations: 7.812 kB / 3.31 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/8.281, allocations: 0 / 3.31 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/8.281, allocations: 322.8 kB / 3.31 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/8.281, allocations: 4 kB / 3.31 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/8.281, allocations: 22.58 kB / 3.31 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/8.282, allocations: 20.02 kB / 3.31 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/8.282, allocations: 0 / 3.31 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001196/8.282, allocations: 57.69 kB / 3.31 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/8.282, allocations: 9.391 kB / 3.31 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/8.282, allocations: 0 / 3.31 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/8.282, allocations: 4 kB / 3.31 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/8.282, allocations: 11.94 kB / 3.31 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/8.282, allocations: 0 / 3.31 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/8.282, allocations: 11.91 kB / 3.31 GB, free: 87.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/8.282, allocations: 7.938 kB / 3.31 GB, free: 87.82 MB / 0.5105 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.931e-05/8.282, allocations: 104.9 kB / 3.31 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/8.282, allocations: 4 kB / 3.31 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/8.282, allocations: 371.3 kB / 3.311 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/8.282, allocations: 11.98 kB / 3.311 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/8.282, allocations: 0 / 3.311 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/8.282, allocations: 0 / 3.311 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/8.283, allocations: 246.8 kB / 3.311 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/8.283, allocations: 0 / 3.311 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/8.283, allocations: 4 kB / 3.311 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/8.283, allocations: 4.047 kB / 3.311 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/8.283, allocations: 4 kB / 3.311 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/8.283, allocations: 0 / 3.311 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/8.283, allocations: 7.984 kB / 3.311 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/8.283, allocations: 273.8 kB / 3.311 GB, free: 86.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/8.283, allocations: 92.94 kB / 3.311 GB, free: 86.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/8.283, allocations: 7.953 kB / 3.311 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/8.283, allocations: 0 / 3.311 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/8.283, allocations: 0 / 3.311 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/8.283, allocations: 8 kB / 3.311 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.282e-05/8.283, allocations: 83.22 kB / 3.312 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/8.283, allocations: 3.938 kB / 3.312 GB, free: 86.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002708/8.286, allocations: 451.7 kB / 3.312 GB, free: 86.09 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: 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.003834/8.29, allocations: 0.6471 MB / 3.313 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001887/8.29, allocations: 79.84 kB / 3.313 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/8.29, allocations: 0 / 3.313 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/8.29, allocations: 83.98 kB / 3.313 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/8.29, allocations: 8 kB / 3.313 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/8.291, allocations: 220 kB / 3.313 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/8.291, allocations: 0.7045 MB / 3.314 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001155/8.291, allocations: 31.89 kB / 3.314 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/8.291, allocations: 11.44 kB / 3.314 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/8.291, allocations: 0 / 3.314 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.01654/8.308, allocations: 11.99 MB / 3.325 GB, free: 72.26 MB / 0.5105 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