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.00163/0.00163, allocations: 181.4 kB / 17.01 MB, free: 5.121 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.647/1.647, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008267/0.0008266, allocations: 96.89 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3321, allocations: 47.57 MB / 375.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.411/6.743, allocations: 2.742 GB / 3.109 GB, free: 53.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/6.744, allocations: 96.56 kB / 3.109 GB, free: 53.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664/8.407, allocations: 428.2 MB / 3.527 GB, free: 50.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/8.408, allocations: 0.9688 kB / 3.527 GB, free: 50.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/8.408, allocations: 9.281 kB / 3.527 GB, free: 50.38 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.004673/8.412, allocations: 1.278 MB / 3.528 GB, free: 49.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/8.412, allocations: 8.938 kB / 3.528 GB, free: 49.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/8.414, allocations: 163.2 kB / 3.528 GB, free: 49.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/8.414, allocations: 311.3 kB / 3.529 GB, free: 49.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/8.414, allocations: 29.78 kB / 3.529 GB, free: 49.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/8.414, allocations: 31.12 kB / 3.529 GB, free: 49.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/8.415, allocations: 0.5641 MB / 3.529 GB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/8.416, allocations: 5.281 kB / 3.529 GB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/8.416, allocations: 16.56 kB / 3.529 GB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/8.416, allocations: 8.125 kB / 3.529 GB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/8.417, allocations: 0.5348 MB / 3.53 GB, free: 49.52 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.002592/8.42, allocations: 2.633 MB / 3.532 GB, free: 47.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/8.421, allocations: 0.4891 MB / 3.533 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/8.422, allocations: 0.5532 MB / 3.533 GB, free: 47.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/8.422, allocations: 36.81 kB / 3.533 GB, free: 47.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 1.754e-06/8.422, allocations: 0 / 3.533 GB, free: 47.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.004397/8.426, allocations: 1.595 MB / 3.535 GB, free: 46.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/8.426, allocations: 58.75 kB / 3.535 GB, free: 46.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/8.426, allocations: 227.4 kB / 3.535 GB, free: 46.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/8.427, allocations: 29.58 kB / 3.535 GB, free: 46.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/8.427, allocations: 190.8 kB / 3.536 GB, free: 46.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/8.427, allocations: 113.1 kB / 3.536 GB, free: 46.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/8.427, allocations: 7.062 kB / 3.536 GB, free: 46.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/8.427, allocations: 338.3 kB / 3.536 GB, free: 45.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/8.427, allocations: 147.6 kB / 3.536 GB, free: 45.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/8.428, allocations: 253.1 kB / 3.536 GB, free: 45.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/8.428, allocations: 170.5 kB / 3.537 GB, free: 45.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/8.428, allocations: 3.656 kB / 3.537 GB, free: 45.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001163/8.429, allocations: 0.5301 MB / 3.537 GB, free: 45.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/8.429, allocations: 6.594 kB / 3.537 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/8.429, allocations: 6.094 kB / 3.537 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/8.43, allocations: 120 kB / 3.537 GB, free: 45.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/8.43, allocations: 93.73 kB / 3.537 GB, free: 45.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/8.431, allocations: 2.421 MB / 3.54 GB, free: 43.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/8.432, allocations: 56.95 kB / 3.54 GB, free: 43.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/8.432, allocations: 15.03 kB / 3.54 GB, free: 43.44 MB / 442.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.0001837/8.432, allocations: 170.9 kB / 3.54 GB, free: 43.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/8.432, allocations: 32.44 kB / 3.54 GB, free: 43.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/8.434, allocations: 1.361 MB / 3.541 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/8.434, allocations: 18.56 kB / 3.541 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/8.434, allocations: 0 / 3.541 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/8.435, allocations: 1.472 MB / 3.543 GB, free: 42.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/8.438, allocations: 2.129 MB / 3.545 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/8.438, allocations: 3.656 kB / 3.545 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/8.438, allocations: 107.4 kB / 3.545 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/8.439, allocations: 76.91 kB / 3.545 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/8.439, allocations: 7.219 kB / 3.545 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003027/8.439, allocations: 0.5914 MB / 3.546 GB, free: 41.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/8.439, allocations: 0 / 3.546 GB, free: 41.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/8.441, allocations: 1.314 MB / 3.547 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/8.441, allocations: 172.6 kB / 3.547 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/8.441, allocations: 5.375 kB / 3.547 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/8.441, allocations: 45.3 kB / 3.547 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/8.441, allocations: 35.05 kB / 3.547 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/8.441, allocations: 23.16 kB / 3.547 GB, free: 41.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001992/8.441, allocations: 228.5 kB / 3.547 GB, free: 41.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.441, allocations: 0 / 3.547 GB, free: 41.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004393/8.446, allocations: 0.8992 MB / 3.548 GB, free: 41.11 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: 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.004977/8.451, allocations: 1.324 MB / 3.549 GB, free: 40.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/8.452, allocations: 0.6701 MB / 3.55 GB, free: 40.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/8.452, allocations: 0 / 3.55 GB, free: 40.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005825/8.453, allocations: 424.3 kB / 3.551 GB, free: 40.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/8.454, allocations: 188.3 kB / 3.551 GB, free: 40.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/8.456, allocations: 1.543 MB / 3.552 GB, free: 40.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/8.456, allocations: 0.8884 MB / 3.553 GB, free: 39.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003924/8.456, allocations: 152.8 kB / 3.553 GB, free: 39.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/8.456, allocations: 35.19 kB / 3.553 GB, free: 39.39 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/8.456, allocations: 0 / 3.553 GB, free: 39.39 MB / 442.7 MB Notification: Performance of Templates: time 0.03588/8.492, allocations: 30.4 MB / 3.583 GB, free: 38.36 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