Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001472/0.001472, allocations: 175.3 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 82.69 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.813e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.015/7.132, allocations: 2.741 GB / 3.096 GB, free: 120.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/7.132, allocations: 96.94 kB / 3.096 GB, free: 120.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.398/8.53, allocations: 423 MB / 3.509 GB, free: 40.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/8.53, allocations: 0 / 3.509 GB, free: 40.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/8.53, allocations: 11.47 kB / 3.509 GB, free: 40.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.004941/8.535, allocations: 1.252 MB / 3.51 GB, free: 39.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/8.535, allocations: 7.125 kB / 3.51 GB, free: 39.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/8.537, allocations: 157.6 kB / 3.51 GB, free: 39.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/8.537, allocations: 321.3 kB / 3.511 GB, free: 39.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/8.537, allocations: 18.28 kB / 3.511 GB, free: 39.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/8.537, allocations: 20.66 kB / 3.511 GB, free: 39.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000499/8.538, allocations: 300.3 kB / 3.511 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/8.539, allocations: 363 kB / 3.511 GB, free: 39.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/8.539, allocations: 4.5 kB / 3.511 GB, free: 39.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/8.539, allocations: 1.156 kB / 3.511 GB, free: 39.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/8.539, allocations: 8.094 kB / 3.511 GB, free: 39.08 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.002699/8.541, allocations: 2.548 MB / 3.514 GB, free: 36.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/8.542, allocations: 235.5 kB / 3.514 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/8.542, allocations: 123.1 kB / 3.514 GB, free: 36.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/8.543, allocations: 0.5517 MB / 3.515 GB, free: 36.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/8.543, allocations: 38.31 kB / 3.515 GB, free: 36.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.195e-06/8.543, allocations: 3.375 kB / 3.515 GB, free: 36.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002735/8.545, allocations: 0.9941 MB / 3.516 GB, free: 35.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/8.546, allocations: 58.22 kB / 3.516 GB, free: 35.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/8.546, allocations: 196.5 kB / 3.516 GB, free: 35.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/8.546, allocations: 25.7 kB / 3.516 GB, free: 35.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/8.546, allocations: 187.8 kB / 3.516 GB, free: 35.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/8.546, allocations: 115.5 kB / 3.516 GB, free: 35.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/8.546, allocations: 3.656 kB / 3.516 GB, free: 35.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/8.546, allocations: 333.1 kB / 3.517 GB, free: 34.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/8.546, allocations: 96.28 kB / 3.517 GB, free: 34.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/8.546, allocations: 193 kB / 3.517 GB, free: 34.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/8.547, allocations: 123.6 kB / 3.517 GB, free: 34.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/8.547, allocations: 0 / 3.517 GB, free: 34.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007736/8.547, allocations: 402.6 kB / 3.517 GB, free: 34.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/8.548, allocations: 11.17 kB / 3.517 GB, free: 34.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/8.548, allocations: 0 / 3.517 GB, free: 34.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/8.548, allocations: 85.48 kB / 3.518 GB, free: 34.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/8.548, allocations: 88.14 kB / 3.518 GB, free: 34.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/8.549, allocations: 2.339 MB / 3.52 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/8.55, allocations: 55.11 kB / 3.52 GB, free: 31.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/8.55, allocations: 22.3 kB / 3.52 GB, free: 31.92 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete 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.0001034/8.55, allocations: 115.7 kB / 3.52 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/8.55, allocations: 25.59 kB / 3.52 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/8.551, allocations: 1.117 MB / 3.521 GB, free: 31.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/8.551, allocations: 19.7 kB / 3.521 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/8.551, allocations: 3.938 kB / 3.521 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009473/8.552, allocations: 1.242 MB / 3.522 GB, free: 30.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/8.554, allocations: 1.771 MB / 3.524 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/8.554, allocations: 3.406 kB / 3.524 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/8.554, allocations: 90.19 kB / 3.524 GB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/8.555, allocations: 67.39 kB / 3.524 GB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/8.555, allocations: 7.984 kB / 3.524 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002655/8.555, allocations: 0.6108 MB / 3.525 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/8.555, allocations: 6.938 kB / 3.525 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/8.556, allocations: 1.018 MB / 3.526 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/8.556, allocations: 144.4 kB / 3.526 GB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/8.556, allocations: 4 kB / 3.526 GB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/8.556, allocations: 39.38 kB / 3.526 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/8.557, allocations: 31.95 kB / 3.526 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/8.557, allocations: 15.98 kB / 3.526 GB, free: 27.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001691/8.557, allocations: 212.7 kB / 3.526 GB, free: 26.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.557, allocations: 0 / 3.526 GB, free: 26.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004751/8.562, allocations: 0.8587 MB / 3.527 GB, free: 25.97 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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00788/8.569, allocations: 1.414 MB / 3.529 GB, free: 24.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009673/8.57, allocations: 0.5221 MB / 3.529 GB, free: 24.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/8.57, allocations: 0 / 3.529 GB, free: 24.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/8.571, allocations: 325.2 kB / 3.529 GB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/8.572, allocations: 144.4 kB / 3.53 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/8.573, allocations: 0.825 MB / 3.53 GB, free: 23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/8.573, allocations: 0.8586 MB / 3.531 GB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000405/8.574, allocations: 165.9 kB / 3.531 GB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/8.574, allocations: 35.42 kB / 3.531 GB, free: 21.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/8.574, allocations: 0 / 3.531 GB, free: 21.94 MB / 426.7 MB Notification: Performance of Templates: time 0.03764/8.611, allocations: 25.96 MB / 3.557 GB, free: 12.26 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches