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.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.419/1.419, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007413/0.0007412, allocations: 97.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.902/6.149, allocations: 2.742 GB / 3.109 GB, free: 131 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/6.149, allocations: 100.6 kB / 3.109 GB, free: 131 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237/7.386, allocations: 409.5 MB / 3.509 GB, free: 52.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/7.386, allocations: 0 / 3.509 GB, free: 52.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/7.386, allocations: 7.719 kB / 3.509 GB, free: 52.96 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.004106/7.39, allocations: 1.283 MB / 3.51 GB, free: 52.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/7.39, allocations: 10 kB / 3.51 GB, free: 52.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/7.391, allocations: 158.1 kB / 3.51 GB, free: 52.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/7.392, allocations: 322.5 kB / 3.511 GB, free: 51.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/7.392, allocations: 31.34 kB / 3.511 GB, free: 51.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/7.392, allocations: 30.84 kB / 3.511 GB, free: 51.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/7.393, allocations: 0.5656 MB / 3.511 GB, free: 51.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/7.393, allocations: 7.375 kB / 3.511 GB, free: 51.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/7.393, allocations: 19.62 kB / 3.511 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/7.393, allocations: 6.719 kB / 3.511 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/7.395, allocations: 0.5405 MB / 3.512 GB, free: 51.48 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.002302/7.397, allocations: 2.624 MB / 3.514 GB, free: 49.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/7.398, allocations: 485.9 kB / 3.515 GB, free: 49.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/7.399, allocations: 181.8 kB / 3.515 GB, free: 49.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/7.399, allocations: 0.5633 MB / 3.516 GB, free: 48.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/7.399, allocations: 34.56 kB / 3.516 GB, free: 48.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/7.399, allocations: 0 / 3.516 GB, free: 48.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.004369/7.404, allocations: 1.589 MB / 3.517 GB, free: 47.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/7.404, allocations: 59 kB / 3.517 GB, free: 47.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/7.404, allocations: 255.3 kB / 3.517 GB, free: 47.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/7.404, allocations: 29.7 kB / 3.518 GB, free: 47.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/7.404, allocations: 188.7 kB / 3.518 GB, free: 47.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/7.404, allocations: 114.3 kB / 3.518 GB, free: 47.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/7.404, allocations: 8 kB / 3.518 GB, free: 47.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/7.404, allocations: 342.5 kB / 3.518 GB, free: 46.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/7.405, allocations: 153.3 kB / 3.518 GB, free: 46.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/7.405, allocations: 241.4 kB / 3.519 GB, free: 46.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/7.406, allocations: 421 kB / 3.519 GB, free: 46.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/7.406, allocations: 0 / 3.519 GB, free: 46.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001151/7.407, allocations: 0.516 MB / 3.519 GB, free: 46.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/7.407, allocations: 9.469 kB / 3.519 GB, free: 46.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/7.407, allocations: 7.875 kB / 3.519 GB, free: 46.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/7.407, allocations: 117.4 kB / 3.52 GB, free: 46.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/7.408, allocations: 92.92 kB / 3.52 GB, free: 46.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/7.409, allocations: 2.428 MB / 3.522 GB, free: 43.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/7.41, allocations: 54.34 kB / 3.522 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/7.41, allocations: 16.78 kB / 3.522 GB, free: 43.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00018/7.41, allocations: 168.9 kB / 3.522 GB, free: 43.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/7.41, allocations: 29.69 kB / 3.522 GB, free: 43.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/7.411, allocations: 1.374 MB / 3.524 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/7.411, allocations: 18.53 kB / 3.524 GB, free: 43.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/7.411, allocations: 3.938 kB / 3.524 GB, free: 43.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/7.413, allocations: 1.462 MB / 3.525 GB, free: 42.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/7.415, allocations: 2.134 MB / 3.527 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/7.415, allocations: 0 / 3.527 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/7.415, allocations: 101.9 kB / 3.527 GB, free: 41.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/7.416, allocations: 83.33 kB / 3.527 GB, free: 41.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/7.416, allocations: 8 kB / 3.527 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002418/7.416, allocations: 0.5894 MB / 3.528 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/7.416, allocations: 3.094 kB / 3.528 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/7.417, allocations: 1.314 MB / 3.529 GB, free: 39.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/7.418, allocations: 164.9 kB / 3.529 GB, free: 39.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/7.418, allocations: 7.938 kB / 3.529 GB, free: 39.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/7.418, allocations: 44.16 kB / 3.529 GB, free: 39.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/7.418, allocations: 37.73 kB / 3.529 GB, free: 39.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/7.418, allocations: 10.33 kB / 3.529 GB, free: 39.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001996/7.418, allocations: 241.9 kB / 3.53 GB, free: 39.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/7.418, allocations: 0 / 3.53 GB, free: 39.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003689/7.422, allocations: 0.8963 MB / 3.531 GB, free: 39.41 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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.005308/7.427, allocations: 1.324 MB / 3.532 GB, free: 39.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/7.429, allocations: 0.6586 MB / 3.532 GB, free: 38.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/7.429, allocations: 3.938 kB / 3.532 GB, free: 38.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/7.429, allocations: 422 kB / 3.533 GB, free: 38.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/7.43, allocations: 193 kB / 3.533 GB, free: 38.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/7.432, allocations: 1.579 MB / 3.535 GB, free: 37.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/7.432, allocations: 0.8714 MB / 3.535 GB, free: 37.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/7.432, allocations: 43.52 kB / 3.536 GB, free: 37.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/7.432, allocations: 0 / 3.536 GB, free: 37.07 MB / 426.7 MB Notification: Performance of Templates: time 0.03039/7.463, allocations: 25.51 MB / 3.56 GB, free: 13.04 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches