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.001277/0.001277, allocations: 182.8 kB / 18.04 MB, free: 3.754 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.301/1.301, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0009135/0.0009135, allocations: 82.42 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 8 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/5.683, allocations: 2.742 GB / 3.11 GB, free: 131.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/5.684, allocations: 99.06 kB / 3.11 GB, free: 131.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323/7.007, allocations: 409.5 MB / 3.51 GB, free: 52.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/7.007, allocations: 3.812 kB / 3.51 GB, free: 52.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/7.007, allocations: 11.47 kB / 3.51 GB, free: 52.67 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.005089/7.012, allocations: 1.235 MB / 3.512 GB, free: 51.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/7.012, allocations: 12.69 kB / 3.512 GB, free: 51.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/7.013, allocations: 160.4 kB / 3.512 GB, free: 51.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/7.014, allocations: 326.1 kB / 3.512 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/7.014, allocations: 20.69 kB / 3.512 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/7.014, allocations: 35.78 kB / 3.512 GB, free: 51.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/7.015, allocations: 0.5207 MB / 3.513 GB, free: 51.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/7.015, allocations: 4 kB / 3.513 GB, free: 51.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/7.015, allocations: 15.81 kB / 3.513 GB, free: 51.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/7.016, allocations: 7.062 kB / 3.513 GB, free: 51.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/7.016, allocations: 328.2 kB / 3.513 GB, free: 51.22 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.002605/7.019, allocations: 2.568 MB / 3.515 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/7.019, allocations: 267 kB / 3.516 GB, free: 48.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/7.019, allocations: 113.3 kB / 3.516 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05153/7.071, allocations: 30.76 MB / 3.546 GB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/7.071, allocations: 38.56 kB / 3.546 GB, free: 25.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.357e-06/7.071, allocations: 0 / 3.546 GB, free: 25.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003444/7.075, allocations: 1.218 MB / 3.547 GB, free: 24.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/7.075, allocations: 55.41 kB / 3.547 GB, free: 24.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/7.075, allocations: 258.5 kB / 3.547 GB, free: 23.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/7.075, allocations: 33.7 kB / 3.547 GB, free: 23.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/7.075, allocations: 184.1 kB / 3.548 GB, free: 23.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/7.075, allocations: 114.2 kB / 3.548 GB, free: 23.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/7.075, allocations: 8 kB / 3.548 GB, free: 23.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/7.075, allocations: 338.8 kB / 3.548 GB, free: 23.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/7.075, allocations: 88.83 kB / 3.548 GB, free: 23.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/7.075, allocations: 214.9 kB / 3.548 GB, free: 22.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/7.076, allocations: 346.8 kB / 3.549 GB, free: 22.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.076, allocations: 0 / 3.549 GB, free: 22.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00064/7.076, allocations: 414.5 kB / 3.549 GB, free: 21.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/7.077, allocations: 8 kB / 3.549 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/7.077, allocations: 4 kB / 3.549 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/7.077, allocations: 62.19 kB / 3.549 GB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/7.077, allocations: 95.89 kB / 3.549 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/7.078, allocations: 2.422 MB / 3.552 GB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/7.078, allocations: 32.17 kB / 3.552 GB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/7.079, allocations: 16 kB / 3.552 GB, free: 19.17 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): 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.0001712/7.079, allocations: 173.6 kB / 3.552 GB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/7.079, allocations: 31.62 kB / 3.552 GB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008216/7.08, allocations: 0.863 MB / 3.553 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/7.08, allocations: 11.98 kB / 3.553 GB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/7.08, allocations: 4 kB / 3.553 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007159/7.08, allocations: 1.042 MB / 3.554 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/7.082, allocations: 1.488 MB / 3.555 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.082, allocations: 0 / 3.555 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/7.082, allocations: 55.91 kB / 3.555 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/7.082, allocations: 80.69 kB / 3.555 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/7.082, allocations: 4 kB / 3.555 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002335/7.083, allocations: 0.5953 MB / 3.556 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/7.083, allocations: 0 / 3.556 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/7.083, allocations: 0.8275 MB / 3.557 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/7.083, allocations: 128.5 kB / 3.557 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/7.084, allocations: 12 kB / 3.557 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/7.084, allocations: 47.97 kB / 3.557 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/7.084, allocations: 23.91 kB / 3.557 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/7.084, allocations: 15.98 kB / 3.557 GB, free: 13.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002285/7.084, allocations: 231.1 kB / 3.557 GB, free: 13.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/7.084, allocations: 0 / 3.557 GB, free: 13.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004092/7.088, allocations: 0.8938 MB / 3.558 GB, free: 12.41 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 () * Number of clocked 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.007141/7.095, allocations: 1.325 MB / 3.559 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000867/7.096, allocations: 483.5 kB / 3.56 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/7.096, allocations: 0 / 3.56 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/7.097, allocations: 256.3 kB / 3.56 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/7.098, allocations: 181.4 kB / 3.56 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/7.1, allocations: 1.187 MB / 3.561 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/7.1, allocations: 0.8211 MB / 3.562 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004614/7.1, allocations: 193 kB / 3.562 GB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/7.101, allocations: 31.44 kB / 3.562 GB, free: 8.082 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/7.101, allocations: 4 kB / 3.562 GB, free: 8.078 MB / 426.7 MB Notification: Performance of Templates: time 0.2883/7.389, allocations: 31.46 MB / 3.593 GB, free: 71.3 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/jenkins1/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