Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008739/0.000874, allocations: 103.6 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3159/0.3159, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.000247, allocations: 8 kB / 468.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3302, allocations: 63.25 MB / 0.5192 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.11/5.44, allocations: 2.748 GB / 3.267 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/5.441, allocations: 75.95 kB / 3.267 GB, free: 1.973 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.4321/5.873, allocations: 66.1 MB / 3.331 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.874e-06/5.873, allocations: 0 / 3.331 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.11e-06/5.873, allocations: 0 / 3.331 GB, free: 156.1 MB / 0.5417 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.002238/5.875, allocations: 0.5703 MB / 3.332 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/5.875, allocations: 9.812 kB / 3.332 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/5.875, allocations: 14.48 kB / 3.332 GB, free: 155.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.555e-05/5.875, allocations: 171 kB / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/5.876, allocations: 3.25 kB / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/5.876, allocations: 0 / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/5.876, allocations: 86.08 kB / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/5.876, allocations: 7.156 kB / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/5.876, allocations: 0 / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/5.876, allocations: 3.984 kB / 3.332 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/5.876, allocations: 44.52 kB / 3.332 GB, free: 155.4 MB / 0.5417 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.0003552/5.876, allocations: 367.9 kB / 3.333 GB, free: 155 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/5.876, allocations: 60.88 kB / 3.333 GB, free: 154.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/5.887, allocations: 4.989 MB / 3.338 GB, free: 151.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/5.887, allocations: 34.56 kB / 3.338 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/5.887, allocations: 0 / 3.338 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0003905/5.887, allocations: 104.5 kB / 3.338 GB, free: 151.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/5.887, allocations: 55.34 kB / 3.338 GB, free: 151.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/5.887, allocations: 96.84 kB / 3.338 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/5.887, allocations: 25.7 kB / 3.338 GB, free: 151 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/5.887, allocations: 91.98 kB / 3.338 GB, free: 150.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/5.887, allocations: 15.75 kB / 3.338 GB, free: 150.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/5.887, allocations: 0 / 3.338 GB, free: 150.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/5.887, allocations: 314.8 kB / 3.338 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/5.887, allocations: 7.656 kB / 3.338 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/5.887, allocations: 30.7 kB / 3.338 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/5.888, allocations: 11.89 kB / 3.338 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/5.888, allocations: 3.938 kB / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.32e-05/5.888, allocations: 61.44 kB / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/5.888, allocations: 8 kB / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/5.888, allocations: 0 / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/5.888, allocations: 0 / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/5.888, allocations: 8 kB / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/5.888, allocations: 15.95 kB / 3.338 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/5.888, allocations: 3.906 kB / 3.338 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/5.888, allocations: 4 kB / 3.338 GB, free: 150.4 MB / 0.5417 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.228e-05/5.888, allocations: 113.5 kB / 3.338 GB, free: 150.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/5.888, allocations: 4 kB / 3.338 GB, free: 150.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/5.888, allocations: 372.8 kB / 3.339 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/5.888, allocations: 7.797 kB / 3.339 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/5.888, allocations: 0 / 3.339 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/5.888, allocations: 3.953 kB / 3.339 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/5.888, allocations: 281.3 kB / 3.339 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/5.888, allocations: 0 / 3.339 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/5.888, allocations: 8.125 kB / 3.339 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/5.888, allocations: 8 kB / 3.339 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/5.888, allocations: 4 kB / 3.339 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/5.889, allocations: 0 / 3.339 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/5.889, allocations: 0 / 3.339 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/5.889, allocations: 284.7 kB / 3.339 GB, free: 149.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/5.889, allocations: 88.95 kB / 3.339 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/5.889, allocations: 0 / 3.339 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/5.889, allocations: 4 kB / 3.339 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/5.889, allocations: 7.938 kB / 3.339 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/5.889, allocations: 7.797 kB / 3.34 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.831e-05/5.889, allocations: 75.28 kB / 3.34 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/5.889, allocations: 4 kB / 3.34 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002359/5.891, allocations: 467.5 kB / 3.34 GB, free: 148.7 MB / 0.5417 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.003448/5.895, allocations: 0.6392 MB / 3.341 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001347/5.895, allocations: 83.61 kB / 3.341 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/5.895, allocations: 3.938 kB / 3.341 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/5.895, allocations: 87.83 kB / 3.341 GB, free: 148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/5.895, allocations: 18.7 kB / 3.341 GB, free: 148 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/5.896, allocations: 340.8 kB / 3.341 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/5.896, allocations: 0.716 MB / 3.342 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.884e-05/5.896, allocations: 19.78 kB / 3.342 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/5.896, allocations: 11.44 kB / 3.342 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/5.896, allocations: 4 kB / 3.342 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.01907/5.915, allocations: 13.09 MB / 3.355 GB, free: 139.7 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches