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.001222/0.001222, allocations: 182.6 kB / 18.04 MB, free: 3.789 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.483/1.483, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0009086/0.0009087, allocations: 79.94 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.558/5.836, allocations: 2.742 GB / 3.11 GB, free: 131.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/5.837, allocations: 97.27 kB / 3.11 GB, free: 131.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184/7.021, allocations: 409.5 MB / 3.51 GB, free: 52.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/7.021, allocations: 0 / 3.51 GB, free: 52.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/7.021, allocations: 3.625 kB / 3.51 GB, free: 52.3 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.004009/7.025, allocations: 1.283 MB / 3.512 GB, free: 51.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/7.025, allocations: 12.53 kB / 3.512 GB, free: 51.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/7.026, allocations: 162.2 kB / 3.512 GB, free: 51.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/7.027, allocations: 318.4 kB / 3.512 GB, free: 51.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/7.027, allocations: 31.64 kB / 3.512 GB, free: 51.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/7.027, allocations: 33.19 kB / 3.512 GB, free: 51.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/7.028, allocations: 0.5664 MB / 3.513 GB, free: 50.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/7.028, allocations: 3.281 kB / 3.513 GB, free: 50.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/7.028, allocations: 15.78 kB / 3.513 GB, free: 50.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/7.028, allocations: 11.72 kB / 3.513 GB, free: 50.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/7.029, allocations: 0.5369 MB / 3.513 GB, free: 50.81 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.002343/7.032, allocations: 2.619 MB / 3.516 GB, free: 48.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/7.033, allocations: 492.3 kB / 3.516 GB, free: 48.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/7.033, allocations: 177.8 kB / 3.516 GB, free: 48.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/7.034, allocations: 0.5509 MB / 3.517 GB, free: 47.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/7.034, allocations: 40.64 kB / 3.517 GB, free: 47.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.015e-06/7.034, allocations: 0 / 3.517 GB, free: 47.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.004267/7.038, allocations: 1.604 MB / 3.518 GB, free: 47.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/7.038, allocations: 55 kB / 3.519 GB, free: 47.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/7.039, allocations: 249.2 kB / 3.519 GB, free: 46.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/7.039, allocations: 33.7 kB / 3.519 GB, free: 46.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/7.039, allocations: 183.4 kB / 3.519 GB, free: 46.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/7.039, allocations: 118.4 kB / 3.519 GB, free: 46.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/7.039, allocations: 7.938 kB / 3.519 GB, free: 46.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/7.039, allocations: 338 kB / 3.519 GB, free: 46.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/7.039, allocations: 150.9 kB / 3.52 GB, free: 46.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/7.04, allocations: 256.4 kB / 3.52 GB, free: 46.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/7.04, allocations: 420 kB / 3.52 GB, free: 45.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.04, allocations: 0 / 3.52 GB, free: 45.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001141/7.042, allocations: 0.5203 MB / 3.521 GB, free: 45.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/7.042, allocations: 6.031 kB / 3.521 GB, free: 45.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/7.042, allocations: 2.812 kB / 3.521 GB, free: 45.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/7.042, allocations: 118.4 kB / 3.521 GB, free: 45.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/7.042, allocations: 90.97 kB / 3.521 GB, free: 45.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/7.044, allocations: 2.425 MB / 3.523 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/7.044, allocations: 55.3 kB / 3.523 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/7.044, allocations: 15.06 kB / 3.523 GB, free: 43.22 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 () * 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.0002086/7.044, allocations: 163.5 kB / 3.524 GB, free: 43.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/7.045, allocations: 31.09 kB / 3.524 GB, free: 43.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/7.046, allocations: 1.378 MB / 3.525 GB, free: 42.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/7.046, allocations: 18.05 kB / 3.525 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/7.046, allocations: 0 / 3.525 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/7.048, allocations: 1.462 MB / 3.526 GB, free: 41.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/7.05, allocations: 2.135 MB / 3.528 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/7.05, allocations: 4 kB / 3.528 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/7.051, allocations: 107.4 kB / 3.529 GB, free: 40.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/7.051, allocations: 76.72 kB / 3.529 GB, free: 40.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/7.051, allocations: 11.5 kB / 3.529 GB, free: 40.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002356/7.051, allocations: 0.5926 MB / 3.529 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/7.051, allocations: 7.406 kB / 3.529 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/7.053, allocations: 1.303 MB / 3.53 GB, free: 39.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/7.053, allocations: 164.4 kB / 3.531 GB, free: 39.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/7.053, allocations: 11.81 kB / 3.531 GB, free: 39.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/7.053, allocations: 43.81 kB / 3.531 GB, free: 39.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/7.053, allocations: 32.72 kB / 3.531 GB, free: 39.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/7.053, allocations: 21.88 kB / 3.531 GB, free: 39.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001953/7.054, allocations: 235.7 kB / 3.531 GB, free: 38.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.054, allocations: 0 / 3.531 GB, free: 38.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003951/7.057, allocations: 0.8972 MB / 3.532 GB, free: 38.74 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 () * 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.005809/7.063, allocations: 1.321 MB / 3.533 GB, free: 38.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/7.065, allocations: 0.6653 MB / 3.534 GB, free: 38.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/7.065, allocations: 3.938 kB / 3.534 GB, free: 38.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/7.065, allocations: 418.6 kB / 3.534 GB, free: 38.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/7.066, allocations: 186 kB / 3.534 GB, free: 37.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/7.068, allocations: 1.553 MB / 3.536 GB, free: 37.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/7.068, allocations: 0.8768 MB / 3.537 GB, free: 36.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000351/7.069, allocations: 144.1 kB / 3.537 GB, free: 36.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/7.069, allocations: 35.25 kB / 3.537 GB, free: 36.22 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/7.069, allocations: 0 / 3.537 GB, free: 36.22 MB / 426.7 MB Notification: Performance of Templates: time 0.03875/7.107, allocations: 32.26 MB / 3.568 GB, free: 5.406 MB / 426.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/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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches