Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007949/0.0007948, allocations: 92.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002498, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2659, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.056/6.322, allocations: 2.742 GB / 3.109 GB, free: 130.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/6.323, allocations: 101.4 kB / 3.109 GB, free: 130.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325/7.647, allocations: 428.2 MB / 3.527 GB, free: 47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.285e-06/7.647, allocations: 0 / 3.527 GB, free: 47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/7.647, allocations: 6.062 kB / 3.527 GB, free: 47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004624/7.652, allocations: 1.233 MB / 3.528 GB, free: 46.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/7.652, allocations: 10.88 kB / 3.528 GB, free: 46.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/7.653, allocations: 159.6 kB / 3.528 GB, free: 46.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/7.654, allocations: 316.7 kB / 3.529 GB, free: 45.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/7.654, allocations: 20.5 kB / 3.529 GB, free: 45.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/7.654, allocations: 38.91 kB / 3.529 GB, free: 45.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/7.655, allocations: 0.5164 MB / 3.529 GB, free: 45.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/7.655, allocations: 7.766 kB / 3.529 GB, free: 45.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/7.655, allocations: 19.34 kB / 3.529 GB, free: 45.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/7.655, allocations: 7.125 kB / 3.529 GB, free: 45.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/7.656, allocations: 323.7 kB / 3.53 GB, free: 45.56 MB / 426.7 MB 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.002386/7.658, allocations: 2.568 MB / 3.532 GB, free: 43.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/7.658, allocations: 272.2 kB / 3.532 GB, free: 43.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05112/7.71, allocations: 30.75 MB / 3.562 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/7.71, allocations: 38.5 kB / 3.562 GB, free: 9.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.677e-06/7.71, allocations: 0 / 3.562 GB, free: 9.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003467/7.713, allocations: 1.216 MB / 3.564 GB, free: 8.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/7.713, allocations: 55.41 kB / 3.564 GB, free: 8.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/7.713, allocations: 235.7 kB / 3.564 GB, free: 8.168 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/7.713, allocations: 37.7 kB / 3.564 GB, free: 8.125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/7.714, allocations: 191.2 kB / 3.564 GB, free: 7.938 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/7.714, allocations: 107.7 kB / 3.564 GB, free: 7.832 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/7.714, allocations: 4 kB / 3.564 GB, free: 7.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/7.714, allocations: 338.8 kB / 3.565 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/7.714, allocations: 96.83 kB / 3.565 GB, free: 7.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/7.714, allocations: 206.8 kB / 3.565 GB, free: 7.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/7.714, allocations: 135.9 kB / 3.565 GB, free: 7.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/7.714, allocations: 0 / 3.565 GB, free: 7.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005682/7.715, allocations: 415 kB / 3.565 GB, free: 6.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/7.715, allocations: 12.45 kB / 3.565 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/7.715, allocations: 8 kB / 3.565 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/7.715, allocations: 61.69 kB / 3.565 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/7.715, allocations: 91.83 kB / 3.566 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/7.717, allocations: 2.437 MB / 3.568 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/7.717, allocations: 35.83 kB / 3.568 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/7.717, allocations: 12 kB / 3.568 GB, free: 3.746 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/7.717, allocations: 161.8 kB / 3.568 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/7.717, allocations: 27.72 kB / 3.568 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/7.718, allocations: 0.8745 MB / 3.569 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/7.718, allocations: 11.98 kB / 3.569 GB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/7.718, allocations: 7.953 kB / 3.569 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006503/7.719, allocations: 1.038 MB / 3.57 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/7.72, allocations: 1.49 MB / 3.572 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/7.72, allocations: 0 / 3.572 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/7.72, allocations: 63.91 kB / 3.572 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/7.721, allocations: 72.75 kB / 3.572 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/7.721, allocations: 7.984 kB / 3.572 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003828/7.721, allocations: 0.5991 MB / 3.572 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/7.721, allocations: 0 / 3.572 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/7.722, allocations: 0.8159 MB / 3.573 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/7.722, allocations: 132.6 kB / 3.573 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/7.722, allocations: 8 kB / 3.573 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/7.723, allocations: 44.05 kB / 3.573 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/7.723, allocations: 23.92 kB / 3.573 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/7.723, allocations: 11.98 kB / 3.573 GB, free: 14.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002633/7.723, allocations: 235 kB / 3.573 GB, free: 13.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/7.723, allocations: 4 kB / 3.573 GB, free: 13.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004759/7.728, allocations: 0.8899 MB / 3.574 GB, free: 13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006767/7.735, allocations: 1.334 MB / 3.576 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/7.736, allocations: 474.3 kB / 3.576 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/7.736, allocations: 3.938 kB / 3.576 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003833/7.736, allocations: 250.5 kB / 3.576 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/7.737, allocations: 179 kB / 3.577 GB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/7.739, allocations: 1.193 MB / 3.578 GB, free: 9.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/7.74, allocations: 0.8366 MB / 3.579 GB, free: 8.875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004712/7.74, allocations: 185.2 kB / 3.579 GB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/7.74, allocations: 31.44 kB / 3.579 GB, free: 8.664 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/7.74, allocations: 0 / 3.579 GB, free: 8.664 MB / 442.7 MB Notification: Performance of Templates: time 0.2759/8.016, allocations: 29.59 MB / 3.608 GB, free: 69.72 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches