Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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.001129/0.001134, allocations: 181.5 kB / 17.41 MB, free: 4.281 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.447/1.447, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007222/0.0007223, allocations: 88.98 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3294/0.3294, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 8 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.477/5.583, allocations: 2.796 GB / 3.276 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/5.584, allocations: 94.69 kB / 3.276 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.481/7.065, allocations: 480.2 MB / 3.745 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/7.065, allocations: 0 / 3.745 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.895e-05/7.065, allocations: 20 kB / 3.745 GB, free: 15.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008161/7.073, allocations: 1.831 MB / 3.747 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/7.073, allocations: 12.03 kB / 3.747 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/7.076, allocations: 319.7 kB / 3.747 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/7.077, allocations: 0.6149 MB / 3.748 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/7.078, allocations: 118.2 kB / 3.748 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/7.078, allocations: 59.75 kB / 3.748 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/7.081, allocations: 1.212 MB / 3.749 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/7.081, allocations: 7.875 kB / 3.749 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/7.081, allocations: 36 kB / 3.749 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/7.081, allocations: 45.23 kB / 3.749 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/7.083, allocations: 1.047 MB / 3.75 GB, free: 9.727 MB / 0.5105 GB 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.005989/7.089, allocations: 5.621 MB / 3.756 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/7.092, allocations: 0.7957 MB / 3.756 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/7.092, allocations: 298.2 kB / 3.757 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3313/7.424, allocations: 15.73 MB / 3.772 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/7.424, allocations: 41.5 kB / 3.772 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.354e-06/7.424, allocations: 0 / 3.772 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.008245/7.432, allocations: 2.361 MB / 3.774 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/7.432, allocations: 167.8 kB / 3.775 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/7.433, allocations: 0.6033 MB / 3.775 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/7.433, allocations: 32.83 kB / 3.775 GB, free: 37.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/7.433, allocations: 389.8 kB / 3.776 GB, free: 37.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/7.434, allocations: 175.7 kB / 3.776 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/7.434, allocations: 14.92 kB / 3.776 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001187/7.434, allocations: 382 kB / 3.776 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/7.434, allocations: 287.2 kB / 3.776 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/7.435, allocations: 0.6187 MB / 3.777 GB, free: 36.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/7.437, allocations: 0.9227 MB / 3.778 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/7.437, allocations: 1.625 kB / 3.778 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001857/7.438, allocations: 0.9766 MB / 3.779 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/7.438, allocations: 11.47 kB / 3.779 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/7.438, allocations: 10 kB / 3.779 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/7.439, allocations: 66.92 kB / 3.779 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/7.44, allocations: 309.3 kB / 3.779 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/7.441, allocations: 1.989 MB / 3.781 GB, free: 34.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/7.442, allocations: 85.17 kB / 3.781 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/7.442, allocations: 43.66 kB / 3.781 GB, free: 34.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004804/7.443, allocations: 268.1 kB / 3.782 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/7.443, allocations: 74.78 kB / 3.782 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/7.446, allocations: 2.609 MB / 3.784 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/7.446, allocations: 34.19 kB / 3.784 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/7.446, allocations: 0 / 3.784 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/7.446, allocations: 3.234 kB / 3.784 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/7.451, allocations: 3.801 MB / 3.788 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/7.451, allocations: 0 / 3.788 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/7.452, allocations: 242 kB / 3.788 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/7.453, allocations: 89.45 kB / 3.788 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/7.453, allocations: 16.14 kB / 3.788 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/7.454, allocations: 1.995 MB / 3.79 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.454, allocations: 2.297 kB / 3.79 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/7.457, allocations: 2.378 MB / 3.793 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/7.458, allocations: 328.8 kB / 3.793 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/7.458, allocations: 17.81 kB / 3.793 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/7.459, allocations: 63.97 kB / 3.793 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/7.459, allocations: 47.55 kB / 3.793 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/7.459, allocations: 22.61 kB / 3.793 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008135/7.46, allocations: 0.5525 MB / 3.794 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/7.46, allocations: 0 / 3.794 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005669/7.465, allocations: 1.136 MB / 3.795 GB, free: 31.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].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 (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00828/7.474, allocations: 1.55 MB / 3.796 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002572/7.476, allocations: 1.095 MB / 3.797 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/7.476, allocations: 0 / 3.797 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/7.478, allocations: 0.8074 MB / 3.798 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/7.48, allocations: 388.6 kB / 3.798 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/7.484, allocations: 3.085 MB / 3.801 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/7.485, allocations: 1.159 MB / 3.802 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/7.485, allocations: 67.25 kB / 3.803 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/7.485, allocations: 2.531 kB / 3.803 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.06291/7.548, allocations: 40.2 MB / 3.842 GB, free: 27.11 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches