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.001043/0.001043, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007715/0.0007718, allocations: 102.4 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3755/0.3755, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4211, allocations: 62.94 MB / 0.5184 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.858/7.279, allocations: 2.748 GB / 3.266 GB, free: 55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/7.279, allocations: 83.94 kB / 3.266 GB, free: 54.92 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.4902/7.769, allocations: 66.06 MB / 3.331 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/7.769, allocations: 0 / 3.331 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.275e-06/7.769, allocations: 2.812 kB / 3.331 GB, free: 121.2 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.003508/7.773, allocations: 0.5789 MB / 3.331 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/7.773, allocations: 12.81 kB / 3.331 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/7.773, allocations: 12.86 kB / 3.331 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/7.773, allocations: 163 kB / 3.331 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/7.774, allocations: 384 / 3.331 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/7.774, allocations: 3.594 kB / 3.331 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/7.774, allocations: 86.2 kB / 3.332 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/7.774, allocations: 2.062 kB / 3.332 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/7.774, allocations: 14.03 kB / 3.332 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/7.774, allocations: 0 / 3.332 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/7.774, allocations: 48.14 kB / 3.332 GB, free: 120.5 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.0006234/7.775, allocations: 360.9 kB / 3.332 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/7.775, allocations: 60.47 kB / 3.332 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/7.775, allocations: 20.48 kB / 3.332 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01627/7.792, allocations: 4.993 MB / 3.337 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/7.792, allocations: 41.81 kB / 3.337 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 3.897e-06/7.792, allocations: 0 / 3.337 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0007214/7.792, allocations: 101.4 kB / 3.337 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/7.793, allocations: 53.16 kB / 3.337 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/7.793, allocations: 94.98 kB / 3.337 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/7.793, allocations: 28.48 kB / 3.337 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/7.793, allocations: 89.58 kB / 3.337 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/7.793, allocations: 16.83 kB / 3.337 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/7.793, allocations: 0.5 kB / 3.337 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/7.793, allocations: 319.3 kB / 3.338 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/7.793, allocations: 8.203 kB / 3.338 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/7.793, allocations: 27.77 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.3e-05/7.793, allocations: 44.97 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/7.793, allocations: 1.031 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000149/7.793, allocations: 61.27 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/7.793, allocations: 11.84 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/7.793, allocations: 2.625 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/7.793, allocations: 3.094 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/7.793, allocations: 11.8 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/7.793, allocations: 4.344 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/7.794, allocations: 6.5 kB / 3.338 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/7.794, allocations: 3.125 kB / 3.338 GB, free: 117.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 0.0001013/7.794, allocations: 112.3 kB / 3.338 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/7.794, allocations: 5.562 kB / 3.338 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/7.794, allocations: 375.2 kB / 3.338 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/7.794, allocations: 9.609 kB / 3.338 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/7.794, allocations: 0 / 3.338 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/7.794, allocations: 3.297 kB / 3.338 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/7.795, allocations: 289.9 kB / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/7.795, allocations: 0.5156 kB / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/7.795, allocations: 6.188 kB / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/7.795, allocations: 0 / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/7.795, allocations: 0.7031 kB / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/7.795, allocations: 2.312 kB / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/7.795, allocations: 3.938 kB / 3.339 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/7.795, allocations: 284.5 kB / 3.339 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/7.795, allocations: 90.53 kB / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/7.795, allocations: 0 / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/7.795, allocations: 7.172 kB / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/7.796, allocations: 6.328 kB / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/7.796, allocations: 2.625 kB / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.049e-05/7.796, allocations: 82.09 kB / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/7.796, allocations: 0 / 3.339 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003502/7.799, allocations: 470.6 kB / 3.339 GB, free: 116.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.005344/7.804, allocations: 0.6353 MB / 3.34 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003079/7.805, allocations: 84.84 kB / 3.34 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/7.805, allocations: 3 kB / 3.34 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/7.805, allocations: 89.98 kB / 3.34 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/7.806, allocations: 16.89 kB / 3.34 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/7.807, allocations: 348.9 kB / 3.341 GB, free: 116 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/7.807, allocations: 0.7061 MB / 3.341 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002185/7.807, allocations: 22.61 kB / 3.341 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/7.807, allocations: 16.38 kB / 3.341 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/7.807, allocations: 0 / 3.341 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.04472/7.852, allocations: 14.35 MB / 3.355 GB, free: 114.7 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/jenkins1/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