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.002149/0.002148, allocations: 181.8 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 2.212/2.212, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001062/0.001061, allocations: 90.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.393e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09468, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.262/8.357, allocations: 2.742 GB / 3.102 GB, free: 19.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005118/8.358, allocations: 95.11 kB / 3.102 GB, free: 19.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.497/10.85, allocations: 426.9 MB / 3.519 GB, free: 43.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/10.85, allocations: 0 / 3.519 GB, free: 43.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/10.85, allocations: 6.781 kB / 3.519 GB, free: 43.79 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.005497/10.86, allocations: 1.251 MB / 3.52 GB, free: 43.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/10.86, allocations: 9.094 kB / 3.52 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/10.86, allocations: 156.6 kB / 3.52 GB, free: 43.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/10.86, allocations: 315.4 kB / 3.521 GB, free: 42.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/10.86, allocations: 31.09 kB / 3.521 GB, free: 42.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/10.86, allocations: 33.52 kB / 3.521 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/10.87, allocations: 0.5448 MB / 3.521 GB, free: 42.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/10.87, allocations: 0 / 3.521 GB, free: 42.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/10.87, allocations: 14.28 kB / 3.521 GB, free: 42.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/10.87, allocations: 7.531 kB / 3.521 GB, free: 42.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/10.87, allocations: 483.7 kB / 3.522 GB, free: 42.41 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.004065/10.87, allocations: 2.618 MB / 3.524 GB, free: 40.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/10.87, allocations: 427.4 kB / 3.525 GB, free: 40.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/10.87, allocations: 130.5 kB / 3.525 GB, free: 39.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/10.87, allocations: 0.5585 MB / 3.525 GB, free: 39.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/10.87, allocations: 42.44 kB / 3.526 GB, free: 39.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.436e-06/10.87, allocations: 0 / 3.526 GB, free: 39.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.005213/10.88, allocations: 1.247 MB / 3.527 GB, free: 38.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/10.88, allocations: 55.31 kB / 3.527 GB, free: 38.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/10.88, allocations: 226.7 kB / 3.527 GB, free: 38.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/10.88, allocations: 29.7 kB / 3.527 GB, free: 38.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/10.88, allocations: 240.4 kB / 3.527 GB, free: 38.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/10.88, allocations: 117.5 kB / 3.527 GB, free: 38.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/10.88, allocations: 4 kB / 3.527 GB, free: 38.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/10.88, allocations: 329.9 kB / 3.528 GB, free: 38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/10.88, allocations: 106.2 kB / 3.528 GB, free: 37.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/10.88, allocations: 199 kB / 3.528 GB, free: 37.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/10.88, allocations: 133.9 kB / 3.528 GB, free: 37.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/10.88, allocations: 0 / 3.528 GB, free: 37.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0012/10.88, allocations: 425.8 kB / 3.529 GB, free: 37.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/10.88, allocations: 5.438 kB / 3.529 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/10.88, allocations: 3.969 kB / 3.529 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/10.88, allocations: 91.89 kB / 3.529 GB, free: 37.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/10.88, allocations: 89.66 kB / 3.529 GB, free: 37.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/10.89, allocations: 2.369 MB / 3.531 GB, free: 35.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/10.89, allocations: 56.58 kB / 3.531 GB, free: 35.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/10.89, allocations: 18.81 kB / 3.531 GB, free: 35.1 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 () * 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.0001514/10.89, allocations: 128.6 kB / 3.531 GB, free: 34.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/10.89, allocations: 35.3 kB / 3.531 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/10.89, allocations: 1.339 MB / 3.533 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/10.89, allocations: 23.12 kB / 3.533 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/10.89, allocations: 3.938 kB / 3.533 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/10.89, allocations: 1.426 MB / 3.534 GB, free: 33.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/10.89, allocations: 2.114 MB / 3.536 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/10.89, allocations: 0 / 3.536 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/10.89, allocations: 99.69 kB / 3.536 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/10.89, allocations: 77.7 kB / 3.536 GB, free: 32.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/10.89, allocations: 7.969 kB / 3.536 GB, free: 32.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003731/10.89, allocations: 0.5924 MB / 3.537 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/10.89, allocations: 7.562 kB / 3.537 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/10.9, allocations: 1.165 MB / 3.538 GB, free: 31.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/10.9, allocations: 169.1 kB / 3.538 GB, free: 30.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/10.9, allocations: 11.81 kB / 3.538 GB, free: 30.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/10.9, allocations: 36.95 kB / 3.538 GB, free: 30.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/10.9, allocations: 46.44 kB / 3.538 GB, free: 30.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/10.9, allocations: 11.94 kB / 3.538 GB, free: 30.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00033/10.9, allocations: 228.1 kB / 3.538 GB, free: 30.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.9, allocations: 1.969 kB / 3.538 GB, free: 30.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004679/10.9, allocations: 0.8911 MB / 3.539 GB, free: 30.55 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 () * 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.008731/10.91, allocations: 1.33 MB / 3.541 GB, free: 30.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/10.91, allocations: 0.5865 MB / 3.541 GB, free: 29.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/10.91, allocations: 0 / 3.541 GB, free: 29.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000708/10.91, allocations: 375.8 kB / 3.542 GB, free: 29.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/10.92, allocations: 179.8 kB / 3.542 GB, free: 29.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/10.92, allocations: 0.9907 MB / 3.543 GB, free: 29.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/10.92, allocations: 0.8863 MB / 3.544 GB, free: 28.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/10.92, allocations: 44.28 kB / 3.544 GB, free: 28.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/10.92, allocations: 0 / 3.544 GB, free: 28.61 MB / 426.7 MB Notification: Performance of Templates: time 0.05339/10.97, allocations: 27.5 MB / 3.57 GB, free: 26.42 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