Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) 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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001562, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 84.38 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2908/0.2908, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.877e-05, allocations: 224 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3911, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.502/8.893, allocations: 2.795 GB / 3.261 GB, free: 95.98 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/8.894, allocations: 88.77 kB / 3.261 GB, free: 95.98 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.437/11.33, allocations: 0.4884 GB / 3.749 GB, free: 59.72 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.904e-06/11.33, allocations: 0.6562 kB / 3.749 GB, free: 59.72 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.573e-05/11.33, allocations: 19.88 kB / 3.749 GB, free: 59.71 MB / 0.5108 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.008126/11.34, allocations: 1.714 MB / 3.751 GB, free: 58.93 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/11.34, allocations: 10.97 kB / 3.751 GB, free: 58.93 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/11.34, allocations: 326.4 kB / 3.751 GB, free: 58.88 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/11.34, allocations: 0.5989 MB / 3.752 GB, free: 58.62 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/11.35, allocations: 94.81 kB / 3.752 GB, free: 58.56 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/11.35, allocations: 33.31 kB / 3.752 GB, free: 58.56 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/11.35, allocations: 0.6407 MB / 3.753 GB, free: 58.56 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/11.35, allocations: 0.8909 MB / 3.754 GB, free: 58.26 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/11.35, allocations: 5.75 kB / 3.754 GB, free: 58.26 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/11.35, allocations: 7.391 kB / 3.754 GB, free: 58.25 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-05/11.35, allocations: 42.16 kB / 3.754 GB, free: 58.25 MB / 0.5108 GB 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.2962/11.65, allocations: 83.09 MB / 3.835 GB, free: 35.16 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/11.65, allocations: 365.2 kB / 3.835 GB, free: 34.83 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/11.65, allocations: 157.8 kB / 3.835 GB, free: 34.68 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5053/12.15, allocations: 38.48 MB / 3.873 GB, free: 91.64 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/12.15, allocations: 42 kB / 3.873 GB, free: 91.61 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=33): time 3.516e-06/12.15, allocations: 0.7812 kB / 3.873 GB, free: 91.61 MB / 0.5421 GB Notification: Performance of matching and sorting (n=37): time 0.005953/12.16, allocations: 1.377 MB / 3.874 GB, free: 91.27 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/12.16, allocations: 134.5 kB / 3.874 GB, free: 91.12 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/12.16, allocations: 486.7 kB / 3.875 GB, free: 91 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/12.16, allocations: 26.7 kB / 3.875 GB, free: 90.97 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/12.16, allocations: 469.4 kB / 3.875 GB, free: 90.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/12.16, allocations: 134 kB / 3.875 GB, free: 90.63 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/12.16, allocations: 0 / 3.875 GB, free: 90.63 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001025/12.16, allocations: 341.5 kB / 3.876 GB, free: 90.32 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/12.16, allocations: 194.7 kB / 3.876 GB, free: 90.32 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/12.16, allocations: 0.5313 MB / 3.876 GB, free: 89.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/12.16, allocations: 314 kB / 3.877 GB, free: 89.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/12.16, allocations: 7.062 kB / 3.877 GB, free: 89.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002342/12.17, allocations: 0.7244 MB / 3.877 GB, free: 89.84 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/12.17, allocations: 10.02 kB / 3.877 GB, free: 89.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/12.17, allocations: 11.25 kB / 3.877 GB, free: 89.84 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/12.17, allocations: 64.44 kB / 3.878 GB, free: 89.83 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/12.17, allocations: 281.7 kB / 3.878 GB, free: 89.83 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/12.17, allocations: 1.929 MB / 3.88 GB, free: 88.06 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/12.17, allocations: 45.47 kB / 3.88 GB, free: 88.05 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/12.17, allocations: 41.34 kB / 3.88 GB, free: 88.05 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 () * 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.0002903/12.17, allocations: 150.8 kB / 3.88 GB, free: 87.95 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/12.17, allocations: 67.59 kB / 3.88 GB, free: 87.91 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/12.18, allocations: 1.59 MB / 3.882 GB, free: 87.73 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/12.18, allocations: 22.47 kB / 3.882 GB, free: 87.73 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/12.18, allocations: 0 / 3.882 GB, free: 87.73 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/12.18, allocations: 4.984 kB / 3.882 GB, free: 87.73 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/12.18, allocations: 2.447 MB / 3.884 GB, free: 87.34 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/12.18, allocations: 0 / 3.884 GB, free: 87.34 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/12.18, allocations: 174.9 kB / 3.884 GB, free: 87.34 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/12.18, allocations: 77.17 kB / 3.884 GB, free: 87.33 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/12.18, allocations: 7.828 kB / 3.884 GB, free: 87.33 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/12.18, allocations: 1.982 MB / 3.886 GB, free: 85.55 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/12.18, allocations: 0 / 3.886 GB, free: 85.55 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/12.19, allocations: 1.515 MB / 3.888 GB, free: 85.32 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/12.19, allocations: 216.9 kB / 3.888 GB, free: 85.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/12.19, allocations: 6.375 kB / 3.888 GB, free: 85.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009482/12.19, allocations: 46.84 kB / 3.888 GB, free: 85.18 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/12.19, allocations: 26.02 kB / 3.888 GB, free: 85.18 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/12.19, allocations: 23.34 kB / 3.888 GB, free: 85.18 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0007167/12.19, allocations: 345.7 kB / 3.888 GB, free: 85.09 MB / 0.5421 GB Notification: Performance of sort global known variables: time 5.81e-07/12.19, allocations: 0 / 3.888 GB, free: 85.09 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.006411/12.2, allocations: 1.082 MB / 3.889 GB, free: 85.08 MB / 0.5421 GB 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: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01109/12.21, allocations: 1.637 MB / 3.891 GB, free: 84.92 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002967/12.21, allocations: 0.7752 MB / 3.892 GB, free: 84.91 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/12.21, allocations: 2.281 kB / 3.892 GB, free: 84.91 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/12.21, allocations: 0.5257 MB / 3.892 GB, free: 84.91 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/12.22, allocations: 266.4 kB / 3.892 GB, free: 84.91 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/12.22, allocations: 1.461 MB / 3.894 GB, free: 84.57 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/12.22, allocations: 1.068 MB / 3.895 GB, free: 83.87 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/12.22, allocations: 62.67 kB / 3.895 GB, free: 83.86 MB / 0.5421 GB Notification: Performance of SimCode: time 9.62e-07/12.22, allocations: 2.781 kB / 3.895 GB, free: 83.86 MB / 0.5421 GB Notification: Performance of Templates: time 0.07746/12.3, allocations: 38.65 MB / 3.933 GB, free: 81.7 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches