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.001454/0.001454, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.298e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3437, allocations: 47.56 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.284/8.628, allocations: 2.741 GB / 3.095 GB, free: 85.72 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/8.628, allocations: 99.48 kB / 3.095 GB, free: 85.71 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.067/10.69, allocations: 423.1 MB / 3.508 GB, free: 48.18 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.653e-06/10.69, allocations: 0 / 3.508 GB, free: 48.18 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.678e-05/10.69, allocations: 14.3 kB / 3.508 GB, free: 48.18 MB / 427.1 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.005041/10.7, allocations: 1.206 MB / 3.509 GB, free: 47.4 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/10.7, allocations: 10.62 kB / 3.509 GB, free: 47.4 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/10.7, allocations: 162.7 kB / 3.51 GB, free: 47.38 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/10.7, allocations: 323.4 kB / 3.51 GB, free: 47.1 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/10.7, allocations: 11.31 kB / 3.51 GB, free: 47.1 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/10.7, allocations: 17.19 kB / 3.51 GB, free: 47.1 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005816/10.7, allocations: 252.8 kB / 3.51 GB, free: 47.01 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/10.7, allocations: 360.5 kB / 3.51 GB, free: 46.8 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/10.7, allocations: 0 / 3.51 GB, free: 46.8 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/10.7, allocations: 1.656 kB / 3.51 GB, free: 46.8 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/10.7, allocations: 9.781 kB / 3.51 GB, free: 46.8 MB / 427.1 MB 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.1016/10.81, allocations: 33.19 MB / 3.543 GB, free: 20.02 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/10.81, allocations: 190.8 kB / 3.543 GB, free: 19.82 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/10.81, allocations: 96.84 kB / 3.543 GB, free: 19.72 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1047/10.91, allocations: 30.89 MB / 3.573 GB, free: 1.312 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/10.91, allocations: 41.69 kB / 3.573 GB, free: 1.266 MB / 443.1 MB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/10.91, allocations: 0 / 3.573 GB, free: 1.266 MB / 443.1 MB Notification: Performance of matching and sorting (n=29): time 0.004409/10.92, allocations: 0.9089 MB / 3.574 GB, free: 304 kB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/10.92, allocations: 63.41 kB / 3.574 GB, free: 228 kB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/10.92, allocations: 199.8 kB / 3.574 GB, free: 24 kB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.3245/11.24, allocations: 26.3 kB / 3.574 GB, free: 74.52 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/11.24, allocations: 257.1 kB / 3.575 GB, free: 74.37 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/11.24, allocations: 100.8 kB / 3.575 GB, free: 74.32 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/11.24, allocations: 0 / 3.575 GB, free: 74.32 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/11.24, allocations: 326.2 kB / 3.575 GB, free: 74.01 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/11.24, allocations: 80.81 kB / 3.575 GB, free: 74.01 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/11.24, allocations: 194.7 kB / 3.575 GB, free: 73.87 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/11.24, allocations: 126.4 kB / 3.576 GB, free: 73.87 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/11.24, allocations: 0 / 3.576 GB, free: 73.87 MB / 443.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00118/11.24, allocations: 364 kB / 3.576 GB, free: 73.81 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/11.24, allocations: 11.09 kB / 3.576 GB, free: 73.81 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/11.24, allocations: 2.281 kB / 3.576 GB, free: 73.81 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/11.24, allocations: 60.88 kB / 3.576 GB, free: 73.8 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/11.24, allocations: 89.53 kB / 3.576 GB, free: 73.8 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/11.25, allocations: 2.38 MB / 3.578 GB, free: 71.5 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/11.25, allocations: 24.31 kB / 3.578 GB, free: 71.5 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/11.25, allocations: 17.5 kB / 3.578 GB, free: 71.5 MB / 443.1 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 () * 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.0001852/11.25, allocations: 117.7 kB / 3.579 GB, free: 71.4 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/11.25, allocations: 30.58 kB / 3.579 GB, free: 71.38 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/11.25, allocations: 0.7492 MB / 3.579 GB, free: 71.28 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/11.25, allocations: 9.953 kB / 3.579 GB, free: 71.28 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/11.25, allocations: 3.281 kB / 3.579 GB, free: 71.28 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/11.25, allocations: 0.9728 MB / 3.58 GB, free: 70.79 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/11.25, allocations: 1.319 MB / 3.582 GB, free: 70.42 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/11.25, allocations: 6.656 kB / 3.582 GB, free: 70.42 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/11.25, allocations: 51.92 kB / 3.582 GB, free: 70.42 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003406/11.25, allocations: 61.73 kB / 3.582 GB, free: 70.41 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/11.25, allocations: 8.891 kB / 3.582 GB, free: 70.41 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004214/11.25, allocations: 0.6232 MB / 3.582 GB, free: 69.89 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/11.25, allocations: 3.656 kB / 3.582 GB, free: 69.89 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/11.25, allocations: 0.8059 MB / 3.583 GB, free: 69.66 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/11.25, allocations: 115.5 kB / 3.583 GB, free: 69.55 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/11.25, allocations: 8.906 kB / 3.583 GB, free: 69.55 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/11.25, allocations: 34.53 kB / 3.583 GB, free: 69.55 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/11.25, allocations: 17.34 kB / 3.583 GB, free: 69.55 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/11.25, allocations: 18.22 kB / 3.583 GB, free: 69.55 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0001822/11.26, allocations: 152 kB / 3.583 GB, free: 69.48 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.71e-07/11.26, allocations: 0 / 3.583 GB, free: 69.48 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.004684/11.26, allocations: 0.8604 MB / 3.584 GB, free: 69.48 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.008783/11.27, allocations: 1.415 MB / 3.586 GB, free: 69.37 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/11.27, allocations: 457.9 kB / 3.586 GB, free: 69.27 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/11.27, allocations: 0 / 3.586 GB, free: 69.27 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/11.27, allocations: 227.5 kB / 3.586 GB, free: 69.27 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/11.27, allocations: 138.4 kB / 3.586 GB, free: 69.26 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/11.27, allocations: 0.7239 MB / 3.587 GB, free: 69.06 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/11.27, allocations: 0.812 MB / 3.588 GB, free: 68.36 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/11.27, allocations: 36.16 kB / 3.588 GB, free: 68.35 MB / 443.1 MB Notification: Performance of SimCode: time 9.52e-07/11.27, allocations: 0 / 3.588 GB, free: 68.35 MB / 443.1 MB Notification: Performance of Templates: time 0.05995/11.33, allocations: 25.85 MB / 3.613 GB, free: 67.23 MB / 443.1 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