Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008382/0.0008381, allocations: 107.8 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3972/0.3972, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 7.984 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3816, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.173/6.555, allocations: 2.748 GB / 3.264 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/6.555, allocations: 71.97 kB / 3.264 GB, free: 20.2 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.4063/6.962, allocations: 66.08 MB / 3.329 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.974e-06/6.962, allocations: 0 / 3.329 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.001e-06/6.962, allocations: 0 / 3.329 GB, free: 150.4 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.002586/6.964, allocations: 0.5688 MB / 3.329 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/6.964, allocations: 10.56 kB / 3.329 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/6.965, allocations: 20.36 kB / 3.329 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/6.965, allocations: 160.4 kB / 3.329 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/6.965, allocations: 2.875 kB / 3.329 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/6.965, allocations: 4.344 kB / 3.329 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/6.965, allocations: 86.33 kB / 3.33 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/6.965, allocations: 192 / 3.33 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/6.965, allocations: 7.75 kB / 3.33 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/6.965, allocations: 3.422 kB / 3.33 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/6.965, allocations: 53.59 kB / 3.33 GB, free: 149.6 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.0003842/6.966, allocations: 371.3 kB / 3.33 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/6.966, allocations: 54.55 kB / 3.33 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/6.966, allocations: 18.44 kB / 3.33 GB, free: 149.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/6.977, allocations: 5.003 MB / 3.335 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/6.977, allocations: 34.22 kB / 3.335 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/6.977, allocations: 0 / 3.335 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004564/6.977, allocations: 101.1 kB / 3.335 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/6.977, allocations: 62.12 kB / 3.335 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/6.977, allocations: 89.86 kB / 3.335 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/6.977, allocations: 33.48 kB / 3.335 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/6.977, allocations: 86.48 kB / 3.335 GB, free: 146.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/6.977, allocations: 11.75 kB / 3.335 GB, free: 146.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/6.977, allocations: 7.188 kB / 3.335 GB, free: 146.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/6.977, allocations: 314.8 kB / 3.336 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/6.977, allocations: 14.62 kB / 3.336 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/6.978, allocations: 22.39 kB / 3.336 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/6.978, allocations: 38.23 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/6.978, allocations: 0 / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.907e-05/6.978, allocations: 67.62 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/6.978, allocations: 6.656 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/6.978, allocations: 4 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/6.978, allocations: 0 / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/6.978, allocations: 17.31 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/6.978, allocations: 3.938 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/6.978, allocations: 3.906 kB / 3.336 GB, free: 146 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/6.978, allocations: 7.781 kB / 3.336 GB, free: 146 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.354e-05/6.978, allocations: 117.5 kB / 3.336 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/6.978, allocations: 0 / 3.336 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/6.978, allocations: 377.6 kB / 3.336 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/6.978, allocations: 7.188 kB / 3.336 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/6.978, allocations: 0 / 3.336 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/6.978, allocations: 0 / 3.336 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/6.979, allocations: 287.4 kB / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/6.979, allocations: 4 kB / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/6.979, allocations: 10 kB / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/6.979, allocations: 0 / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/6.979, allocations: 0 / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/6.979, allocations: 0 / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/6.979, allocations: 0 / 3.337 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/6.979, allocations: 283.5 kB / 3.337 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/6.979, allocations: 92.72 kB / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/6.979, allocations: 2.312 kB / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/6.979, allocations: 7 kB / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/6.979, allocations: 3.875 kB / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/6.979, allocations: 0 / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.902e-05/6.979, allocations: 83.03 kB / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.383e-06/6.979, allocations: 0 / 3.337 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002391/6.981, allocations: 475.4 kB / 3.337 GB, free: 145.2 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.003779/6.985, allocations: 0.6274 MB / 3.338 GB, free: 145 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000163/6.985, allocations: 83.67 kB / 3.338 GB, free: 145 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/6.985, allocations: 0 / 3.338 GB, free: 145 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/6.985, allocations: 94.67 kB / 3.338 GB, free: 145 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/6.986, allocations: 15.62 kB / 3.338 GB, free: 145 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/6.986, allocations: 375.1 kB / 3.339 GB, free: 144.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/6.986, allocations: 0.7074 MB / 3.339 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/6.986, allocations: 11.31 kB / 3.339 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/6.986, allocations: 0 / 3.339 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.01407/7.001, allocations: 9.141 MB / 3.348 GB, free: 143.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches