Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001135/0.001135, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.683/1.683, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008804/0.0008806, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.41e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.0883, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.735/6.823, allocations: 2.742 GB / 3.103 GB, free: 19.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/6.824, allocations: 96.88 kB / 3.103 GB, free: 19.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.705/8.529, allocations: 426.9 MB / 3.52 GB, free: 43.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/8.529, allocations: 1.125 kB / 3.52 GB, free: 43.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/8.529, allocations: 3.969 kB / 3.52 GB, free: 43.82 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.005849/8.535, allocations: 1.209 MB / 3.521 GB, free: 43.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/8.535, allocations: 11.88 kB / 3.521 GB, free: 43.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/8.536, allocations: 162 kB / 3.521 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/8.536, allocations: 315.6 kB / 3.522 GB, free: 42.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/8.536, allocations: 31.02 kB / 3.522 GB, free: 42.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/8.537, allocations: 27.25 kB / 3.522 GB, free: 42.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/8.538, allocations: 0.5379 MB / 3.522 GB, free: 42.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/8.538, allocations: 3.25 kB / 3.522 GB, free: 42.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/8.538, allocations: 15.94 kB / 3.522 GB, free: 42.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/8.538, allocations: 10.92 kB / 3.522 GB, free: 42.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/8.538, allocations: 330.4 kB / 3.523 GB, free: 42.45 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.00231/8.541, allocations: 2.565 MB / 3.525 GB, free: 40.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/8.541, allocations: 279.9 kB / 3.525 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/8.541, allocations: 112.9 kB / 3.526 GB, free: 40.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05536/8.597, allocations: 30.88 MB / 3.556 GB, free: 21.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/8.597, allocations: 42.53 kB / 3.556 GB, free: 21.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.356e-06/8.597, allocations: 0 / 3.556 GB, free: 21.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003211/8.6, allocations: 1.103 MB / 3.557 GB, free: 20.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/8.6, allocations: 55.31 kB / 3.557 GB, free: 20.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/8.6, allocations: 226.1 kB / 3.557 GB, free: 20.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/8.6, allocations: 33.55 kB / 3.557 GB, free: 20.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/8.601, allocations: 187.6 kB / 3.557 GB, free: 20.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/8.601, allocations: 110.3 kB / 3.557 GB, free: 20.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/8.601, allocations: 11.69 kB / 3.557 GB, free: 20.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/8.601, allocations: 340.8 kB / 3.558 GB, free: 19.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/8.601, allocations: 87.94 kB / 3.558 GB, free: 19.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/8.601, allocations: 207.9 kB / 3.558 GB, free: 19.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/8.601, allocations: 117.9 kB / 3.558 GB, free: 19.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/8.601, allocations: 3.938 kB / 3.558 GB, free: 19.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000608/8.602, allocations: 418.8 kB / 3.559 GB, free: 19.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/8.602, allocations: 7.875 kB / 3.559 GB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/8.602, allocations: 3.938 kB / 3.559 GB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/8.602, allocations: 61.56 kB / 3.559 GB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/8.603, allocations: 91.28 kB / 3.559 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/8.604, allocations: 2.427 MB / 3.561 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/8.604, allocations: 27.66 kB / 3.561 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/8.604, allocations: 22.86 kB / 3.561 GB, free: 16.91 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 () * 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.0001114/8.604, allocations: 124.2 kB / 3.561 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/8.604, allocations: 38.14 kB / 3.561 GB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/8.605, allocations: 0.8664 MB / 3.562 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/8.605, allocations: 7.781 kB / 3.562 GB, free: 16.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/8.605, allocations: 0 / 3.562 GB, free: 16.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007938/8.606, allocations: 1.045 MB / 3.563 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/8.608, allocations: 1.486 MB / 3.565 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/8.608, allocations: 3.688 kB / 3.565 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/8.608, allocations: 54.36 kB / 3.565 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/8.608, allocations: 77.27 kB / 3.565 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/8.608, allocations: 4 kB / 3.565 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002511/8.608, allocations: 0.592 MB / 3.565 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/8.608, allocations: 3.812 kB / 3.565 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/8.609, allocations: 0.8105 MB / 3.566 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/8.609, allocations: 129.6 kB / 3.566 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/8.609, allocations: 14 kB / 3.566 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/8.61, allocations: 50.47 kB / 3.566 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/8.61, allocations: 23.25 kB / 3.566 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/8.61, allocations: 17.89 kB / 3.566 GB, free: 13.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002138/8.61, allocations: 234.2 kB / 3.567 GB, free: 13.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/8.61, allocations: 0 / 3.567 GB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00638/8.616, allocations: 0.8869 MB / 3.567 GB, free: 13.25 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 () * 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.007681/8.624, allocations: 1.328 MB / 3.569 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/8.625, allocations: 487.5 kB / 3.569 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/8.625, allocations: 1.969 kB / 3.569 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/8.626, allocations: 242.2 kB / 3.569 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/8.627, allocations: 177.6 kB / 3.57 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/8.628, allocations: 0.7195 MB / 3.57 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/8.629, allocations: 0.8265 MB / 3.571 GB, free: 27.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003991/8.629, allocations: 188.1 kB / 3.571 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/8.629, allocations: 30.31 kB / 3.571 GB, free: 27.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/8.629, allocations: 4 kB / 3.571 GB, free: 27.4 MB / 442.7 MB Notification: Performance of Templates: time 0.042/8.671, allocations: 31.55 MB / 3.602 GB, free: 12.93 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches