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.0009458/0.0009459, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008496/0.0008497, allocations: 88.39 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.172e-05/1.173e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.099/7.207, allocations: 2.747 GB / 3.251 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/7.207, allocations: 71.14 kB / 3.251 GB, free: 94.85 MB / 0.5261 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.1534/7.361, allocations: 64.99 MB / 3.315 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.452e-06/7.361, allocations: 0 / 3.315 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.211e-06/7.361, allocations: 0 / 3.315 GB, free: 40.93 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.002448/7.363, allocations: 0.5762 MB / 3.315 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/7.363, allocations: 8.031 kB / 3.315 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/7.364, allocations: 11.98 kB / 3.315 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/7.364, allocations: 167 kB / 3.315 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/7.364, allocations: 3.938 kB / 3.315 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/7.364, allocations: 4 kB / 3.315 GB, free: 40.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.683e-05/7.364, allocations: 20 kB / 3.315 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/7.364, allocations: 63.33 kB / 3.316 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/7.364, allocations: 4 kB / 3.316 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/7.364, allocations: 4 kB / 3.316 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/7.364, allocations: 0 / 3.316 GB, free: 39.98 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.0003306/7.364, allocations: 329.5 kB / 3.316 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.703e-05/7.364, allocations: 34.59 kB / 3.316 GB, free: 39.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/7.364, allocations: 16.86 kB / 3.316 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009836/7.374, allocations: 5.006 MB / 3.321 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/7.374, allocations: 42.48 kB / 3.321 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/7.374, allocations: 0 / 3.321 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0003554/7.375, allocations: 77.66 kB / 3.321 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/7.375, allocations: 55.36 kB / 3.321 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/7.375, allocations: 96.84 kB / 3.321 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/7.375, allocations: 25.7 kB / 3.321 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/7.375, allocations: 92.03 kB / 3.321 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/7.375, allocations: 11.84 kB / 3.321 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/7.375, allocations: 0 / 3.321 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/7.375, allocations: 315 kB / 3.321 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/7.375, allocations: 8 kB / 3.321 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/7.375, allocations: 26.58 kB / 3.322 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/7.375, allocations: 11.92 kB / 3.322 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/7.375, allocations: 0 / 3.322 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.726e-05/7.375, allocations: 57.66 kB / 3.322 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/7.375, allocations: 13.09 kB / 3.322 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/7.375, allocations: 0 / 3.322 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/7.375, allocations: 3.938 kB / 3.322 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/7.375, allocations: 15.94 kB / 3.322 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/7.375, allocations: 7.984 kB / 3.322 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/7.375, allocations: 3.953 kB / 3.322 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/7.375, allocations: 4 kB / 3.322 GB, free: 33.18 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 5.683e-05/7.375, allocations: 101 kB / 3.322 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/7.375, allocations: 0 / 3.322 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/7.376, allocations: 379.2 kB / 3.322 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/7.376, allocations: 7.922 kB / 3.322 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/7.376, allocations: 4.188 kB / 3.322 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/7.376, allocations: 0 / 3.322 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/7.376, allocations: 250.6 kB / 3.322 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/7.376, allocations: 4.094 kB / 3.322 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/7.376, allocations: 11.98 kB / 3.322 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/7.376, allocations: 3.984 kB / 3.322 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/7.376, allocations: 0 / 3.322 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/7.376, allocations: 0 / 3.322 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/7.376, allocations: 0 / 3.322 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/7.376, allocations: 273.9 kB / 3.323 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/7.376, allocations: 92.89 kB / 3.323 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/7.376, allocations: 4 kB / 3.323 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/7.376, allocations: 0 / 3.323 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/7.376, allocations: 7.984 kB / 3.323 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/7.376, allocations: 0 / 3.323 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.781e-05/7.376, allocations: 83.28 kB / 3.323 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.22e-07/7.376, allocations: 3.938 kB / 3.323 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001876/7.378, allocations: 459.7 kB / 3.323 GB, free: 31.45 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.001675/7.38, allocations: 0.6532 MB / 3.324 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001251/7.38, allocations: 87.84 kB / 3.324 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/7.38, allocations: 4.125 kB / 3.324 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/7.38, allocations: 79.98 kB / 3.324 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/7.38, allocations: 11.94 kB / 3.324 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/7.381, allocations: 198.8 kB / 3.324 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/7.381, allocations: 0.7161 MB / 3.325 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.187e-05/7.381, allocations: 31.95 kB / 3.325 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/7.381, allocations: 11.44 kB / 3.325 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/7.381, allocations: 0 / 3.325 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01371/7.395, allocations: 12.05 MB / 3.337 GB, free: 17.54 MB / 0.5261 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