Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001531/0.001531, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.915/1.915, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001129/0.001128, allocations: 100.5 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003863, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.824/8.147, allocations: 2.742 GB / 3.108 GB, free: 54.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/8.147, allocations: 99.31 kB / 3.108 GB, free: 54.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.253/10.4, allocations: 428.2 MB / 3.526 GB, free: 49.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/10.4, allocations: 0 / 3.526 GB, free: 49.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.931e-05/10.4, allocations: 11.7 kB / 3.526 GB, free: 49.55 MB / 442.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.005048/10.41, allocations: 1.239 MB / 3.527 GB, free: 49.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/10.41, allocations: 8.906 kB / 3.527 GB, free: 49.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/10.41, allocations: 164.6 kB / 3.527 GB, free: 49.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/10.41, allocations: 315.4 kB / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/10.41, allocations: 25.34 kB / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/10.41, allocations: 34.73 kB / 3.528 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/10.41, allocations: 0.5163 MB / 3.528 GB, free: 48.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/10.41, allocations: 1.562 kB / 3.528 GB, free: 48.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/10.41, allocations: 15.81 kB / 3.528 GB, free: 48.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/10.41, allocations: 8.375 kB / 3.528 GB, free: 48.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/10.41, allocations: 325.2 kB / 3.528 GB, free: 48.69 MB / 442.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.004127/10.42, allocations: 2.567 MB / 3.531 GB, free: 46.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/10.42, allocations: 277.3 kB / 3.531 GB, free: 46.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09747/10.51, allocations: 30.76 MB / 3.561 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/10.51, allocations: 39.97 kB / 3.561 GB, free: 28.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.425e-06/10.51, allocations: 0 / 3.561 GB, free: 28.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.004814/10.52, allocations: 1.217 MB / 3.562 GB, free: 28.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/10.52, allocations: 59.03 kB / 3.562 GB, free: 28.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/10.52, allocations: 227.5 kB / 3.563 GB, free: 28.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/10.52, allocations: 35.39 kB / 3.563 GB, free: 28.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/10.52, allocations: 255 kB / 3.563 GB, free: 27.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/10.52, allocations: 107.5 kB / 3.563 GB, free: 27.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/10.52, allocations: 9.781 kB / 3.563 GB, free: 27.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/10.52, allocations: 325 kB / 3.563 GB, free: 27.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/10.52, allocations: 92.89 kB / 3.563 GB, free: 27.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/10.52, allocations: 209.2 kB / 3.564 GB, free: 27.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/10.52, allocations: 128.5 kB / 3.564 GB, free: 27.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/10.52, allocations: 0 / 3.564 GB, free: 27.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001039/10.52, allocations: 400.7 kB / 3.564 GB, free: 27.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/10.52, allocations: 9.438 kB / 3.564 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/10.52, allocations: 8.359 kB / 3.564 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/10.52, allocations: 66.69 kB / 3.564 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/10.52, allocations: 84.94 kB / 3.564 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/10.52, allocations: 2.431 MB / 3.567 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/10.52, allocations: 29.38 kB / 3.567 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/10.52, allocations: 17.09 kB / 3.567 GB, free: 24.94 MB / 442.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.0002771/10.53, allocations: 166.3 kB / 3.567 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/10.53, allocations: 35.84 kB / 3.567 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/10.53, allocations: 0.8693 MB / 3.568 GB, free: 24.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/10.53, allocations: 10.5 kB / 3.568 GB, free: 24.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/10.53, allocations: 0 / 3.568 GB, free: 24.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/10.53, allocations: 1.04 MB / 3.569 GB, free: 24.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/10.53, allocations: 1.49 MB / 3.57 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/10.53, allocations: 0 / 3.57 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/10.53, allocations: 55.2 kB / 3.57 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/10.53, allocations: 83.27 kB / 3.57 GB, free: 23.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/10.53, allocations: 7.016 kB / 3.57 GB, free: 23.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003662/10.53, allocations: 0.5926 MB / 3.571 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/10.53, allocations: 2.594 kB / 3.571 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/10.53, allocations: 0.8203 MB / 3.572 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/10.53, allocations: 140.4 kB / 3.572 GB, free: 22.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/10.53, allocations: 4.844 kB / 3.572 GB, free: 22.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/10.53, allocations: 55.34 kB / 3.572 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/10.53, allocations: 20.95 kB / 3.572 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/10.53, allocations: 16.59 kB / 3.572 GB, free: 22.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003269/10.53, allocations: 233.4 kB / 3.572 GB, free: 22.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/10.53, allocations: 0 / 3.572 GB, free: 22.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004335/10.54, allocations: 0.8922 MB / 3.573 GB, free: 22.73 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.007784/10.55, allocations: 1.322 MB / 3.574 GB, free: 22.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/10.55, allocations: 482.3 kB / 3.575 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/10.55, allocations: 0 / 3.575 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/10.55, allocations: 245 kB / 3.575 GB, free: 22.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/10.55, allocations: 179.5 kB / 3.575 GB, free: 22.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/10.55, allocations: 1.228 MB / 3.576 GB, free: 21.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/10.55, allocations: 0.8278 MB / 3.577 GB, free: 20.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/10.55, allocations: 37.69 kB / 3.577 GB, free: 20.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/10.55, allocations: 0 / 3.577 GB, free: 20.96 MB / 442.7 MB Notification: Performance of Templates: time 0.04874/10.6, allocations: 26.21 MB / 3.603 GB, free: 18.44 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches