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.001466/0.001469, allocations: 180.4 kB / 13.66 MB, free: 1.664 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.974/1.974, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001077, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.32e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09267, allocations: 47.58 MB / 369.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.123/8.216, allocations: 2.742 GB / 3.102 GB, free: 19.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/8.216, allocations: 95.11 kB / 3.102 GB, free: 18.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.282/10.5, allocations: 426.9 MB / 3.519 GB, free: 43.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/10.5, allocations: 3.391 kB / 3.519 GB, free: 43.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/10.5, allocations: 10.47 kB / 3.519 GB, free: 43.89 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.005295/10.5, allocations: 1.211 MB / 3.52 GB, free: 43.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/10.5, allocations: 15.12 kB / 3.52 GB, free: 43.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/10.51, allocations: 159.1 kB / 3.52 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/10.51, allocations: 325.5 kB / 3.521 GB, free: 42.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/10.51, allocations: 24.38 kB / 3.521 GB, free: 42.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/10.51, allocations: 27.41 kB / 3.521 GB, free: 42.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/10.51, allocations: 0.5411 MB / 3.521 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/10.51, allocations: 0 / 3.521 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/10.51, allocations: 23.5 kB / 3.521 GB, free: 42.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/10.51, allocations: 7.844 kB / 3.521 GB, free: 42.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/10.51, allocations: 333.7 kB / 3.522 GB, free: 42.54 MB / 426.7 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.003922/10.51, allocations: 2.564 MB / 3.524 GB, free: 40.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/10.51, allocations: 277 kB / 3.525 GB, free: 40.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/10.51, allocations: 109.2 kB / 3.525 GB, free: 40.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1384/10.65, allocations: 30.88 MB / 3.555 GB, free: 21.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/10.65, allocations: 41.92 kB / 3.555 GB, free: 21.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.667e-06/10.65, allocations: 0 / 3.555 GB, free: 21.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.006661/10.66, allocations: 1.096 MB / 3.556 GB, free: 20.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/10.66, allocations: 62.95 kB / 3.556 GB, free: 20.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/10.66, allocations: 226 kB / 3.556 GB, free: 20.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/10.66, allocations: 33.64 kB / 3.556 GB, free: 20.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/10.66, allocations: 243.9 kB / 3.556 GB, free: 20.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/10.66, allocations: 112.8 kB / 3.557 GB, free: 20.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/10.66, allocations: 4 kB / 3.557 GB, free: 20.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/10.66, allocations: 326.8 kB / 3.557 GB, free: 19.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/10.66, allocations: 91.78 kB / 3.557 GB, free: 19.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/10.66, allocations: 208.4 kB / 3.557 GB, free: 19.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/10.66, allocations: 126.6 kB / 3.557 GB, free: 19.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/10.66, allocations: 3.875 kB / 3.557 GB, free: 19.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001582/10.66, allocations: 401.1 kB / 3.558 GB, free: 19.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/10.66, allocations: 3.719 kB / 3.558 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/10.66, allocations: 9.25 kB / 3.558 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/10.66, allocations: 61.17 kB / 3.558 GB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/10.67, allocations: 87 kB / 3.558 GB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/10.67, allocations: 2.428 MB / 3.56 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/10.67, allocations: 26.84 kB / 3.56 GB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/10.67, allocations: 24.55 kB / 3.56 GB, free: 16.98 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 () * 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.0002212/10.67, allocations: 131.7 kB / 3.56 GB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/10.67, allocations: 32.12 kB / 3.56 GB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/10.67, allocations: 0.8698 MB / 3.561 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/10.67, allocations: 6.984 kB / 3.561 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/10.67, allocations: 3.938 kB / 3.561 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/10.67, allocations: 1.036 MB / 3.562 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/10.68, allocations: 1.484 MB / 3.564 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/10.68, allocations: 4.641 kB / 3.564 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/10.68, allocations: 52.19 kB / 3.564 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/10.68, allocations: 74.86 kB / 3.564 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/10.68, allocations: 11.36 kB / 3.564 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005302/10.68, allocations: 0.5901 MB / 3.564 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/10.68, allocations: 0 / 3.564 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/10.68, allocations: 0.8154 MB / 3.565 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/10.68, allocations: 135.5 kB / 3.565 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/10.68, allocations: 7.656 kB / 3.565 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/10.68, allocations: 42.53 kB / 3.565 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/10.68, allocations: 26.75 kB / 3.565 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/10.68, allocations: 18.16 kB / 3.565 GB, free: 13.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004784/10.68, allocations: 238 kB / 3.566 GB, free: 13.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.91e-07/10.68, allocations: 0 / 3.566 GB, free: 13.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006035/10.69, allocations: 0.8835 MB / 3.566 GB, free: 13.31 MB / 426.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 () * 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.01131/10.7, allocations: 1.332 MB / 3.568 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/10.7, allocations: 480.4 kB / 3.568 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/10.7, allocations: 3.938 kB / 3.568 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007174/10.7, allocations: 248.5 kB / 3.568 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/10.7, allocations: 174.4 kB / 3.569 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/10.71, allocations: 0.7546 MB / 3.569 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/10.71, allocations: 0.8285 MB / 3.57 GB, free: 27.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/10.71, allocations: 40.69 kB / 3.57 GB, free: 27.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/10.71, allocations: 4 kB / 3.57 GB, free: 27.44 MB / 442.7 MB Notification: Performance of Templates: time 0.06671/10.78, allocations: 25.99 MB / 3.596 GB, free: 18.52 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