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.001047/0.001047, allocations: 171.6 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.536/1.536, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009752/0.000975, allocations: 90.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.896e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09802, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.82/6.918, allocations: 2.742 GB / 3.103 GB, free: 19.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/6.918, allocations: 101 kB / 3.103 GB, free: 19.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698/8.616, allocations: 426.9 MB / 3.52 GB, free: 43.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/8.616, allocations: 0 / 3.52 GB, free: 43.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/8.616, allocations: 7.812 kB / 3.52 GB, free: 43.89 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.004949/8.621, allocations: 1.249 MB / 3.521 GB, free: 43.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/8.621, allocations: 11.09 kB / 3.521 GB, free: 43.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/8.622, allocations: 158.3 kB / 3.521 GB, free: 43.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/8.623, allocations: 315.1 kB / 3.522 GB, free: 42.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/8.623, allocations: 32.31 kB / 3.522 GB, free: 42.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/8.623, allocations: 34.94 kB / 3.522 GB, free: 42.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/8.624, allocations: 0.5415 MB / 3.522 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/8.624, allocations: 5.125 kB / 3.522 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/8.624, allocations: 15.27 kB / 3.522 GB, free: 42.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/8.624, allocations: 11.88 kB / 3.522 GB, free: 42.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/8.625, allocations: 480.8 kB / 3.523 GB, free: 42.5 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.002448/8.627, allocations: 2.623 MB / 3.525 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/8.629, allocations: 423.5 kB / 3.526 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/8.629, allocations: 131.2 kB / 3.526 GB, free: 40.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/8.629, allocations: 0.5618 MB / 3.526 GB, free: 39.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/8.629, allocations: 30.56 kB / 3.526 GB, free: 39.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/8.629, allocations: 0 / 3.526 GB, free: 39.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.00319/8.633, allocations: 1.261 MB / 3.528 GB, free: 38.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/8.633, allocations: 58.16 kB / 3.528 GB, free: 38.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/8.633, allocations: 223.3 kB / 3.528 GB, free: 38.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/8.633, allocations: 33.64 kB / 3.528 GB, free: 38.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/8.633, allocations: 180 kB / 3.528 GB, free: 38.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/8.633, allocations: 112.4 kB / 3.528 GB, free: 38.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/8.633, allocations: 7.781 kB / 3.528 GB, free: 38.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/8.633, allocations: 340.5 kB / 3.529 GB, free: 38.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/8.633, allocations: 109 kB / 3.529 GB, free: 38.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/8.633, allocations: 192.5 kB / 3.529 GB, free: 37.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/8.634, allocations: 131.6 kB / 3.529 GB, free: 37.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/8.634, allocations: 7.219 kB / 3.529 GB, free: 37.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006583/8.634, allocations: 428.4 kB / 3.529 GB, free: 37.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/8.634, allocations: 10.75 kB / 3.529 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/8.634, allocations: 3.812 kB / 3.529 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/8.635, allocations: 78.23 kB / 3.529 GB, free: 37.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/8.635, allocations: 99.48 kB / 3.53 GB, free: 37.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/8.636, allocations: 2.372 MB / 3.532 GB, free: 35.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/8.637, allocations: 56.41 kB / 3.532 GB, free: 35.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/8.637, allocations: 17.16 kB / 3.532 GB, free: 35.24 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 9.461e-05/8.637, allocations: 131 kB / 3.532 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/8.637, allocations: 32.64 kB / 3.532 GB, free: 35.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/8.638, allocations: 1.348 MB / 3.533 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/8.638, allocations: 17.52 kB / 3.533 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/8.638, allocations: 3.312 kB / 3.533 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/8.639, allocations: 1.429 MB / 3.535 GB, free: 33.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/8.641, allocations: 2.103 MB / 3.537 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/8.641, allocations: 3.531 kB / 3.537 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/8.641, allocations: 105.2 kB / 3.537 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/8.642, allocations: 74.56 kB / 3.537 GB, free: 32.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/8.642, allocations: 4 kB / 3.537 GB, free: 32.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002596/8.642, allocations: 0.5935 MB / 3.538 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.642, allocations: 7.453 kB / 3.538 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/8.643, allocations: 1.165 MB / 3.539 GB, free: 31.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/8.643, allocations: 168.2 kB / 3.539 GB, free: 31.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/8.643, allocations: 4 kB / 3.539 GB, free: 31.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/8.644, allocations: 48.31 kB / 3.539 GB, free: 31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/8.644, allocations: 38.47 kB / 3.539 GB, free: 31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/8.644, allocations: 15.22 kB / 3.539 GB, free: 30.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002022/8.644, allocations: 231 kB / 3.539 GB, free: 30.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.644, allocations: 1.75 kB / 3.539 GB, free: 30.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004936/8.649, allocations: 0.8902 MB / 3.54 GB, free: 30.7 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.005998/8.655, allocations: 1.334 MB / 3.541 GB, free: 30.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/8.656, allocations: 0.5886 MB / 3.542 GB, free: 30.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/8.656, allocations: 0 / 3.542 GB, free: 30.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/8.657, allocations: 374.4 kB / 3.542 GB, free: 29.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/8.658, allocations: 184.8 kB / 3.543 GB, free: 29.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/8.659, allocations: 0.9509 MB / 3.543 GB, free: 29.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/8.659, allocations: 0.8881 MB / 3.544 GB, free: 28.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003681/8.66, allocations: 149.6 kB / 3.545 GB, free: 28.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/8.66, allocations: 35.06 kB / 3.545 GB, free: 28.78 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/8.66, allocations: 0 / 3.545 GB, free: 28.78 MB / 426.7 MB Notification: Performance of Templates: time 0.04196/8.702, allocations: 32.21 MB / 3.576 GB, free: 26.11 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/jenkins/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