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.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 177.2 kB / 17.41 MB, free: 4.281 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.273/1.273, 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.0007209/0.0007208, allocations: 97.41 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.329/5.518, allocations: 2.742 GB / 3.109 GB, free: 131.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.519, allocations: 97.42 kB / 3.109 GB, free: 131.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327/6.845, allocations: 409.5 MB / 3.509 GB, free: 52.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.166e-06/6.845, allocations: 3.938 kB / 3.509 GB, free: 52.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/6.845, allocations: 6 kB / 3.509 GB, free: 52.43 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.006042/6.851, allocations: 1.237 MB / 3.51 GB, free: 51.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/6.852, allocations: 10.53 kB / 3.51 GB, free: 51.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/6.853, allocations: 166.8 kB / 3.51 GB, free: 51.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/6.854, allocations: 320.2 kB / 3.511 GB, free: 51.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/6.854, allocations: 28.66 kB / 3.511 GB, free: 51.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/6.854, allocations: 26.28 kB / 3.511 GB, free: 51.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/6.855, allocations: 0.5272 MB / 3.511 GB, free: 51.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/6.855, allocations: 192 / 3.511 GB, free: 51.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/6.855, allocations: 19.69 kB / 3.511 GB, free: 51.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/6.855, allocations: 10.88 kB / 3.511 GB, free: 51.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/6.856, allocations: 322.6 kB / 3.512 GB, free: 50.97 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.002567/6.859, allocations: 2.573 MB / 3.514 GB, free: 48.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/6.859, allocations: 265.5 kB / 3.514 GB, free: 48.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/6.859, allocations: 118.5 kB / 3.515 GB, free: 48.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05226/6.912, allocations: 30.76 MB / 3.545 GB, free: 25.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/6.912, allocations: 34.56 kB / 3.545 GB, free: 25.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/6.912, allocations: 0 / 3.545 GB, free: 25.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003699/6.915, allocations: 1.211 MB / 3.546 GB, free: 24.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/6.915, allocations: 59.34 kB / 3.546 GB, free: 24.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/6.916, allocations: 265.4 kB / 3.546 GB, free: 24.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/6.916, allocations: 33.7 kB / 3.546 GB, free: 24.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/6.916, allocations: 182.9 kB / 3.546 GB, free: 23.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/6.916, allocations: 114.2 kB / 3.546 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/6.916, allocations: 4 kB / 3.546 GB, free: 23.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.748e-05/6.916, allocations: 338.8 kB / 3.547 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/6.916, allocations: 92.83 kB / 3.547 GB, free: 23.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/6.916, allocations: 216 kB / 3.547 GB, free: 23.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/6.917, allocations: 338.8 kB / 3.547 GB, free: 22.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.917, allocations: 4 kB / 3.547 GB, free: 22.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006592/6.917, allocations: 410.9 kB / 3.548 GB, free: 22.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/6.917, allocations: 12.03 kB / 3.548 GB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/6.917, allocations: 4 kB / 3.548 GB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/6.918, allocations: 65.67 kB / 3.548 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/6.918, allocations: 87.84 kB / 3.548 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/6.919, allocations: 2.426 MB / 3.55 GB, free: 19.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/6.92, allocations: 31.92 kB / 3.55 GB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/6.92, allocations: 16 kB / 3.55 GB, free: 19.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/6.92, allocations: 169.7 kB / 3.55 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/6.92, allocations: 31.62 kB / 3.55 GB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/6.921, allocations: 0.8708 MB / 3.551 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/6.921, allocations: 8 kB / 3.551 GB, free: 18.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/6.921, allocations: 0 / 3.551 GB, free: 18.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007008/6.922, allocations: 1.038 MB / 3.552 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/6.923, allocations: 1.497 MB / 3.554 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/6.923, allocations: 0 / 3.554 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/6.924, allocations: 51.91 kB / 3.554 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/6.924, allocations: 80.69 kB / 3.554 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/6.924, allocations: 8 kB / 3.554 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/6.924, allocations: 0.5952 MB / 3.555 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/6.924, allocations: 0 / 3.555 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000821/6.925, allocations: 0.8234 MB / 3.555 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/6.925, allocations: 132.5 kB / 3.555 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/6.925, allocations: 8.156 kB / 3.555 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/6.926, allocations: 47.81 kB / 3.556 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/6.926, allocations: 23.91 kB / 3.556 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/6.926, allocations: 15.98 kB / 3.556 GB, free: 13.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002349/6.926, allocations: 235.1 kB / 3.556 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/6.926, allocations: 4 kB / 3.556 GB, free: 13.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004721/6.931, allocations: 0.8898 MB / 3.557 GB, free: 12.69 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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007783/6.938, allocations: 1.331 MB / 3.558 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/6.94, allocations: 483.3 kB / 3.558 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/6.94, allocations: 1 kB / 3.558 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/6.94, allocations: 244.4 kB / 3.559 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/6.941, allocations: 182.4 kB / 3.559 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/6.943, allocations: 1.232 MB / 3.56 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/6.943, allocations: 0.8133 MB / 3.561 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/6.944, allocations: 39.42 kB / 3.561 GB, free: 8.496 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/6.944, allocations: 0 / 3.561 GB, free: 8.496 MB / 426.7 MB Notification: Performance of Templates: time 0.03928/6.983, allocations: 23.91 MB / 3.584 GB, free: 0.6484 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches