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.001039/0.001039, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 82.69 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.59e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.908/7.035, allocations: 2.741 GB / 3.096 GB, free: 115.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/7.035, allocations: 103.2 kB / 3.096 GB, free: 115.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483/8.518, allocations: 423.1 MB / 3.509 GB, free: 31.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/8.518, allocations: 0 / 3.509 GB, free: 31.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/8.518, allocations: 3.625 kB / 3.509 GB, free: 31.91 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.005354/8.524, allocations: 1.215 MB / 3.51 GB, free: 30.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/8.524, allocations: 8.031 kB / 3.51 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/8.525, allocations: 160.2 kB / 3.51 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/8.526, allocations: 326.6 kB / 3.511 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/8.526, allocations: 8 kB / 3.511 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/8.527, allocations: 20 kB / 3.511 GB, free: 30.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005659/8.527, allocations: 245.5 kB / 3.511 GB, free: 29.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/8.528, allocations: 359.5 kB / 3.511 GB, free: 29.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/8.528, allocations: 3.938 kB / 3.511 GB, free: 29.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/8.528, allocations: 3.938 kB / 3.511 GB, free: 29.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/8.528, allocations: 8 kB / 3.511 GB, free: 29.54 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.06005/8.588, allocations: 33.2 MB / 3.544 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/8.588, allocations: 190.3 kB / 3.544 GB, free: 8.637 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/8.589, allocations: 92.86 kB / 3.544 GB, free: 8.543 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3808/8.97, allocations: 30.87 MB / 3.574 GB, free: 52.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/8.97, allocations: 38.53 kB / 3.574 GB, free: 52.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.025e-06/8.97, allocations: 0 / 3.574 GB, free: 52.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.00301/8.973, allocations: 0.9141 MB / 3.575 GB, free: 52.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/8.973, allocations: 55.28 kB / 3.575 GB, free: 52.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/8.973, allocations: 208 kB / 3.575 GB, free: 51.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/8.973, allocations: 29.33 kB / 3.575 GB, free: 51.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/8.973, allocations: 198.4 kB / 3.576 GB, free: 51.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/8.973, allocations: 99.19 kB / 3.576 GB, free: 51.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/8.973, allocations: 0.6562 kB / 3.576 GB, free: 51.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/8.973, allocations: 339.1 kB / 3.576 GB, free: 51.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/8.973, allocations: 77.66 kB / 3.576 GB, free: 51.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/8.974, allocations: 205.1 kB / 3.576 GB, free: 51.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/8.974, allocations: 121.3 kB / 3.576 GB, free: 51.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/8.974, allocations: 0 / 3.576 GB, free: 51.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006817/8.975, allocations: 375.4 kB / 3.577 GB, free: 51.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/8.975, allocations: 13.5 kB / 3.577 GB, free: 51.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/8.975, allocations: 3.906 kB / 3.577 GB, free: 51.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/8.975, allocations: 53.36 kB / 3.577 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/8.975, allocations: 92.86 kB / 3.577 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/8.977, allocations: 2.384 MB / 3.579 GB, free: 48.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/8.977, allocations: 20.91 kB / 3.579 GB, free: 48.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/8.977, allocations: 18.2 kB / 3.579 GB, free: 48.89 MB / 442.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.0001166/8.977, allocations: 118.6 kB / 3.579 GB, free: 48.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/8.977, allocations: 29.59 kB / 3.579 GB, free: 48.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/8.978, allocations: 0.7487 MB / 3.58 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/8.978, allocations: 11.2 kB / 3.58 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/8.978, allocations: 0 / 3.58 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/8.979, allocations: 0.9738 MB / 3.581 GB, free: 48.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/8.981, allocations: 1.329 MB / 3.582 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/8.981, allocations: 0 / 3.582 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/8.981, allocations: 54.44 kB / 3.582 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/8.981, allocations: 75.98 kB / 3.583 GB, free: 47.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/8.981, allocations: 3 kB / 3.583 GB, free: 47.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003123/8.981, allocations: 0.6182 MB / 3.583 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/8.981, allocations: 0 / 3.583 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/8.982, allocations: 0.8129 MB / 3.584 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/8.982, allocations: 110 kB / 3.584 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/8.982, allocations: 7.609 kB / 3.584 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/8.983, allocations: 34.95 kB / 3.584 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/8.983, allocations: 17.73 kB / 3.584 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/8.983, allocations: 18.05 kB / 3.584 GB, free: 46.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001355/8.983, allocations: 149.7 kB / 3.584 GB, free: 46.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/8.983, allocations: 1.641 kB / 3.584 GB, free: 46.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004814/8.988, allocations: 0.8579 MB / 3.585 GB, free: 46.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00612/8.994, allocations: 1.422 MB / 3.587 GB, free: 46.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/8.995, allocations: 453.5 kB / 3.587 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/8.995, allocations: 4.906 kB / 3.587 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/8.996, allocations: 231.7 kB / 3.587 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/8.996, allocations: 139.4 kB / 3.587 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/8.998, allocations: 0.6854 MB / 3.588 GB, free: 46.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/8.998, allocations: 0.8145 MB / 3.589 GB, free: 45.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004546/8.999, allocations: 207.1 kB / 3.589 GB, free: 45.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/8.999, allocations: 32.78 kB / 3.589 GB, free: 45.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/8.999, allocations: 0 / 3.589 GB, free: 45.74 MB / 442.7 MB Notification: Performance of Templates: time 0.03733/9.036, allocations: 25.32 MB / 3.614 GB, free: 44.54 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