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_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009398/0.0009401, allocations: 177.2 kB / 17.41 MB, free: 4.398 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.377/1.377, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007969/0.0007971, allocations: 87.33 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003818, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2515, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.842/6.094, allocations: 2.74 GB / 3.107 GB, free: 130.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/6.094, allocations: 99.42 kB / 3.107 GB, free: 130.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7506/6.845, allocations: 282.1 MB / 3.383 GB, free: 38.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/6.845, allocations: 4 kB / 3.383 GB, free: 38.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/6.845, allocations: 8 kB / 3.383 GB, free: 38.36 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.002514/6.848, allocations: 0.9343 MB / 3.384 GB, free: 37.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/6.848, allocations: 8.031 kB / 3.384 GB, free: 37.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/6.848, allocations: 84.52 kB / 3.384 GB, free: 37.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/6.849, allocations: 312.5 kB / 3.384 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/6.849, allocations: 25.03 kB / 3.384 GB, free: 36.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/6.849, allocations: 32.38 kB / 3.384 GB, free: 36.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/6.849, allocations: 446.7 kB / 3.385 GB, free: 36.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/6.849, allocations: 192 / 3.385 GB, free: 36.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/6.85, allocations: 23.92 kB / 3.385 GB, free: 36.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/6.85, allocations: 11.98 kB / 3.385 GB, free: 36.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/6.85, allocations: 313.8 kB / 3.385 GB, free: 36.07 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.002028/6.852, allocations: 2.617 MB / 3.388 GB, free: 33.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/6.853, allocations: 253.9 kB / 3.388 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/6.853, allocations: 101.7 kB / 3.388 GB, free: 32.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/6.879, allocations: 15.34 MB / 3.403 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/6.879, allocations: 39 kB / 3.403 GB, free: 15.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.865e-06/6.879, allocations: 7.984 kB / 3.403 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004267/6.883, allocations: 1.293 MB / 3.404 GB, free: 14.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/6.883, allocations: 55.41 kB / 3.404 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/6.884, allocations: 270.5 kB / 3.404 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/6.884, allocations: 29.7 kB / 3.405 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/6.884, allocations: 203.7 kB / 3.405 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/6.884, allocations: 110.4 kB / 3.405 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/6.884, allocations: 8 kB / 3.405 GB, free: 13.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/6.884, allocations: 338.8 kB / 3.405 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/6.884, allocations: 96.83 kB / 3.405 GB, free: 13.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/6.884, allocations: 222.9 kB / 3.405 GB, free: 12.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/6.885, allocations: 354.3 kB / 3.406 GB, free: 12.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/6.885, allocations: 0 / 3.406 GB, free: 12.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006667/6.885, allocations: 434.6 kB / 3.406 GB, free: 12.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/6.886, allocations: 8 kB / 3.406 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/6.886, allocations: 4 kB / 3.406 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003912/6.889, allocations: 261.9 kB / 3.406 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/6.89, allocations: 79.84 kB / 3.407 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/6.891, allocations: 1.875 MB / 3.408 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/6.891, allocations: 24.14 kB / 3.408 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/6.891, allocations: 20 kB / 3.408 GB, free: 9.648 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): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002143/6.892, allocations: 169.8 kB / 3.409 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/6.892, allocations: 31.62 kB / 3.409 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/6.893, allocations: 0.9397 MB / 3.41 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/6.893, allocations: 19.92 kB / 3.41 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/6.893, allocations: 0 / 3.41 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007062/6.893, allocations: 1.118 MB / 3.411 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/6.895, allocations: 1.595 MB / 3.412 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/6.895, allocations: 0 / 3.412 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/6.895, allocations: 55.91 kB / 3.412 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/6.897, allocations: 287.9 kB / 3.413 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/6.897, allocations: 7.938 kB / 3.413 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003785/6.897, allocations: 0.6618 MB / 3.413 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/6.897, allocations: 48 / 3.413 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/6.898, allocations: 0.9602 MB / 3.414 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/6.898, allocations: 144.4 kB / 3.414 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/6.898, allocations: 4.125 kB / 3.414 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/6.899, allocations: 16 kB / 3.414 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/6.899, allocations: 23.91 kB / 3.414 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/6.899, allocations: 15.98 kB / 3.414 GB, free: 3.367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002211/6.899, allocations: 235.1 kB / 3.415 GB, free: 3.133 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/6.899, allocations: 0 / 3.415 GB, free: 3.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002635/6.902, allocations: 0.5427 MB / 3.415 GB, free: 2.59 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.T) * 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 (30): * Single equations (assignments): 27 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003987/6.906, allocations: 0.8506 MB / 3.416 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000966/6.907, allocations: 0.511 MB / 3.416 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/6.907, allocations: 4 kB / 3.416 GB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/6.907, allocations: 300.3 kB / 3.417 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/6.908, allocations: 183.1 kB / 3.417 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2011/7.109, allocations: 1.256 MB / 3.418 GB, free: 65.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/7.11, allocations: 0.8195 MB / 3.419 GB, free: 65.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/7.11, allocations: 37.56 kB / 3.419 GB, free: 65.2 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/7.11, allocations: 0 / 3.419 GB, free: 65.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02144/7.131, allocations: 16.95 MB / 3.435 GB, free: 65.02 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_pT/WaterIF97_pT.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches