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.0009421/0.0009419, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.295/1.295, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008561/0.0008563, allocations: 92.62 kB / 292.2 MB, free: 10.68 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.3536/0.3536, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 61.9 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.689/7.067, allocations: 2.747 GB / 3.256 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/7.067, allocations: 73.59 kB / 3.256 GB, free: 32.45 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.472/7.539, allocations: 66.03 MB / 3.321 GB, free: 131 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/7.54, allocations: 0 / 3.321 GB, free: 131 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.231e-06/7.54, allocations: 0 / 3.321 GB, free: 131 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.002652/7.542, allocations: 0.5651 MB / 3.321 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/7.542, allocations: 8.469 kB / 3.321 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/7.542, allocations: 14.62 kB / 3.321 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.146e-05/7.542, allocations: 169.2 kB / 3.321 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/7.542, allocations: 6.109 kB / 3.321 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/7.543, allocations: 2.188 kB / 3.321 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/7.543, allocations: 81.81 kB / 3.321 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/7.543, allocations: 7.797 kB / 3.321 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/7.543, allocations: 1.094 kB / 3.321 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/7.543, allocations: 4.562 kB / 3.321 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/7.543, allocations: 47.94 kB / 3.321 GB, free: 130.2 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.0003911/7.543, allocations: 358.1 kB / 3.322 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/7.544, allocations: 58.83 kB / 3.322 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/7.555, allocations: 4.54 MB / 3.326 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/7.555, allocations: 35.56 kB / 3.326 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/7.555, allocations: 0 / 3.326 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004675/7.555, allocations: 97.66 kB / 3.326 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/7.555, allocations: 57.31 kB / 3.327 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/7.555, allocations: 94.06 kB / 3.327 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/7.555, allocations: 25.7 kB / 3.327 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/7.555, allocations: 92.42 kB / 3.327 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/7.555, allocations: 13.16 kB / 3.327 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/7.555, allocations: 3.781 kB / 3.327 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/7.555, allocations: 314.8 kB / 3.327 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/7.555, allocations: 12.12 kB / 3.327 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/7.555, allocations: 26.36 kB / 3.327 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/7.555, allocations: 9.125 kB / 3.327 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/7.555, allocations: 1.031 kB / 3.327 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.78e-05/7.556, allocations: 68.25 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/7.556, allocations: 7.5 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/7.556, allocations: 1.406 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/7.556, allocations: 1.312 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/7.556, allocations: 8.125 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/7.556, allocations: 5.406 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/7.556, allocations: 5.406 kB / 3.327 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/7.556, allocations: 5.875 kB / 3.327 GB, free: 127.1 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.849e-05/7.556, allocations: 115.5 kB / 3.327 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/7.556, allocations: 3.25 kB / 3.327 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/7.556, allocations: 380.3 kB / 3.328 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/7.556, allocations: 6.016 kB / 3.328 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/7.556, allocations: 2.938 kB / 3.328 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/7.556, allocations: 3.938 kB / 3.328 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/7.557, allocations: 277.8 kB / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/7.557, allocations: 1.281 kB / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/7.557, allocations: 9.312 kB / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/7.557, allocations: 1.312 kB / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/7.557, allocations: 0 / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/7.557, allocations: 5.031 kB / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/7.557, allocations: 0 / 3.328 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/7.557, allocations: 283.5 kB / 3.328 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/7.557, allocations: 96.84 kB / 3.328 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/7.557, allocations: 1.375 kB / 3.328 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/7.557, allocations: 0 / 3.328 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/7.557, allocations: 5.922 kB / 3.328 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/7.557, allocations: 5.469 kB / 3.328 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.321e-05/7.557, allocations: 81.78 kB / 3.328 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/7.557, allocations: 0 / 3.328 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00265/7.56, allocations: 461.8 kB / 3.329 GB, free: 126.3 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.002102/7.562, allocations: 0.6284 MB / 3.329 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001397/7.562, allocations: 79.42 kB / 3.33 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/7.562, allocations: 0 / 3.33 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/7.562, allocations: 92.2 kB / 3.33 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/7.562, allocations: 20.39 kB / 3.33 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/7.563, allocations: 340.9 kB / 3.33 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/7.563, allocations: 0.7158 MB / 3.331 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.842e-05/7.563, allocations: 23.59 kB / 3.331 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/7.563, allocations: 15.28 kB / 3.331 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/7.563, allocations: 0 / 3.331 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.01752/7.581, allocations: 13.03 MB / 3.343 GB, free: 124.5 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