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.002433/0.002433, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001101/0.001101, allocations: 93.25 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.974/8.315, allocations: 2.742 GB / 3.108 GB, free: 54.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/8.316, allocations: 103.5 kB / 3.108 GB, free: 54.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.306/10.62, allocations: 428.1 MB / 3.526 GB, free: 49.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/10.62, allocations: 0 / 3.526 GB, free: 49.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.406e-05/10.62, allocations: 6.531 kB / 3.526 GB, free: 49.51 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.005772/10.63, allocations: 1.285 MB / 3.527 GB, free: 49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/10.63, allocations: 9 kB / 3.527 GB, free: 49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/10.63, allocations: 163.7 kB / 3.527 GB, free: 48.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/10.63, allocations: 309.3 kB / 3.527 GB, free: 48.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/10.63, allocations: 34.47 kB / 3.527 GB, free: 48.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.834e-05/10.63, allocations: 33.47 kB / 3.528 GB, free: 48.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/10.63, allocations: 0.5598 MB / 3.528 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/10.63, allocations: 2.375 kB / 3.528 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/10.63, allocations: 14.59 kB / 3.528 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/10.63, allocations: 8.312 kB / 3.528 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/10.64, allocations: 0.5375 MB / 3.529 GB, free: 48.66 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.004446/10.64, allocations: 2.641 MB / 3.531 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/10.64, allocations: 485.3 kB / 3.532 GB, free: 46.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/10.64, allocations: 0.5631 MB / 3.532 GB, free: 46.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/10.64, allocations: 36.06 kB / 3.532 GB, free: 46.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/10.64, allocations: 0 / 3.532 GB, free: 46.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.008376/10.65, allocations: 1.593 MB / 3.534 GB, free: 45.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/10.65, allocations: 55.12 kB / 3.534 GB, free: 45.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/10.65, allocations: 224 kB / 3.534 GB, free: 45.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/10.65, allocations: 31.36 kB / 3.534 GB, free: 45.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/10.65, allocations: 243.4 kB / 3.534 GB, free: 45.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/10.65, allocations: 108 kB / 3.534 GB, free: 45.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/10.65, allocations: 11.22 kB / 3.534 GB, free: 45.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/10.65, allocations: 329.6 kB / 3.535 GB, free: 45.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/10.66, allocations: 152.7 kB / 3.535 GB, free: 45.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007777/10.66, allocations: 245.6 kB / 3.535 GB, free: 44.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/10.66, allocations: 179.5 kB / 3.535 GB, free: 44.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/10.66, allocations: 1.281 kB / 3.535 GB, free: 44.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002193/10.66, allocations: 0.5155 MB / 3.536 GB, free: 44.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/10.66, allocations: 7.594 kB / 3.536 GB, free: 44.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/10.66, allocations: 3.938 kB / 3.536 GB, free: 44.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/10.66, allocations: 120.2 kB / 3.536 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/10.66, allocations: 94.84 kB / 3.536 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/10.66, allocations: 2.429 MB / 3.538 GB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/10.66, allocations: 64.8 kB / 3.538 GB, free: 42.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/10.66, allocations: 14.94 kB / 3.538 GB, free: 42.53 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.0002852/10.66, allocations: 156.5 kB / 3.539 GB, free: 42.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/10.66, allocations: 34.42 kB / 3.539 GB, free: 42.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/10.67, allocations: 1.369 MB / 3.54 GB, free: 42.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/10.67, allocations: 20.73 kB / 3.54 GB, free: 42.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/10.67, allocations: 0 / 3.54 GB, free: 42.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002482/10.67, allocations: 1.458 MB / 3.541 GB, free: 41.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/10.67, allocations: 2.135 MB / 3.544 GB, free: 41.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/10.67, allocations: 0 / 3.544 GB, free: 41.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/10.67, allocations: 104.6 kB / 3.544 GB, free: 41.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005651/10.67, allocations: 78.73 kB / 3.544 GB, free: 41.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/10.68, allocations: 7.625 kB / 3.544 GB, free: 41.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003957/10.68, allocations: 0.5947 MB / 3.544 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/10.68, allocations: 0 / 3.544 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/10.68, allocations: 1.316 MB / 3.546 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/10.68, allocations: 167 kB / 3.546 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/10.68, allocations: 7.375 kB / 3.546 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/10.68, allocations: 44.28 kB / 3.546 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/10.68, allocations: 34.5 kB / 3.546 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/10.68, allocations: 23 kB / 3.546 GB, free: 40.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003391/10.68, allocations: 231.4 kB / 3.546 GB, free: 40.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.68, allocations: 2.594 kB / 3.546 GB, free: 40.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004546/10.68, allocations: 0.8943 MB / 3.547 GB, free: 40.21 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.008505/10.69, allocations: 1.32 MB / 3.548 GB, free: 39.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/10.7, allocations: 0.6677 MB / 3.549 GB, free: 39.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/10.7, allocations: 0 / 3.549 GB, free: 39.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/10.7, allocations: 422 kB / 3.549 GB, free: 39.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/10.7, allocations: 186.5 kB / 3.549 GB, free: 39.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/10.7, allocations: 1.579 MB / 3.551 GB, free: 39.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/10.7, allocations: 0.8874 MB / 3.552 GB, free: 38.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/10.7, allocations: 36.16 kB / 3.552 GB, free: 38.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/10.7, allocations: 1.719 kB / 3.552 GB, free: 38.46 MB / 442.7 MB Notification: Performance of Templates: time 0.05271/10.75, allocations: 27.74 MB / 3.579 GB, free: 36.63 MB / 442.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