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.002561/0.002561, allocations: 181.6 kB / 17.41 MB, free: 4.289 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 / 223.6 MB, free: 9.023 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.0007465/0.0007465, allocations: 93.36 kB / 271.9 MB, free: 8.262 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.2901/0.2901, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 20 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1148, allocations: 58.86 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.011/5.125, allocations: 2.796 GB / 3.276 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/5.126, allocations: 99.84 kB / 3.276 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.45/6.576, allocations: 480.2 MB / 3.745 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.173e-06/6.576, allocations: 0 / 3.745 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.763e-05/6.576, allocations: 21.42 kB / 3.745 GB, free: 15.09 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.006944/6.583, allocations: 1.783 MB / 3.747 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/6.583, allocations: 12.03 kB / 3.747 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/6.585, allocations: 322.8 kB / 3.747 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/6.586, allocations: 0.6164 MB / 3.748 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/6.587, allocations: 113.6 kB / 3.748 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/6.587, allocations: 60 kB / 3.748 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/6.589, allocations: 1.173 MB / 3.749 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/6.589, allocations: 11.88 kB / 3.749 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/6.589, allocations: 27.94 kB / 3.749 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/6.589, allocations: 45.23 kB / 3.749 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/6.59, allocations: 0.8323 MB / 3.75 GB, free: 9.926 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.005403/6.596, allocations: 5.502 MB / 3.755 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/6.597, allocations: 0.569 MB / 3.756 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/6.597, allocations: 225.6 kB / 3.756 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3933/6.991, allocations: 45.92 MB / 3.801 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/6.991, allocations: 39.08 kB / 3.801 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.225e-06/6.991, allocations: 1.969 kB / 3.801 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.005399/6.996, allocations: 1.939 MB / 3.803 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/6.996, allocations: 160 kB / 3.803 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/6.997, allocations: 0.6217 MB / 3.804 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/6.997, allocations: 35.67 kB / 3.804 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/6.997, allocations: 387.2 kB / 3.804 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/6.998, allocations: 172.3 kB / 3.804 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/6.998, allocations: 19.66 kB / 3.804 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001696/6.998, allocations: 377.3 kB / 3.805 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/6.998, allocations: 221.9 kB / 3.805 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/6.999, allocations: 0.5705 MB / 3.805 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/7, allocations: 0.8317 MB / 3.806 GB, free: 35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/7, allocations: 3 kB / 3.806 GB, free: 35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001389/7.001, allocations: 0.8674 MB / 3.807 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/7.001, allocations: 9.875 kB / 3.807 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/7.001, allocations: 10.62 kB / 3.807 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/7.001, allocations: 65.58 kB / 3.807 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/7.003, allocations: 291 kB / 3.807 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/7.004, allocations: 1.97 MB / 3.809 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/7.005, allocations: 60.62 kB / 3.809 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/7.005, allocations: 46.89 kB / 3.809 GB, free: 33.07 MB / 0.5261 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 () * 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.0004943/7.005, allocations: 274.4 kB / 3.81 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/7.006, allocations: 69.78 kB / 3.81 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/7.008, allocations: 2.226 MB / 3.812 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/7.008, allocations: 29.64 kB / 3.812 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/7.008, allocations: 0 / 3.812 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/7.008, allocations: 2.719 kB / 3.812 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/7.012, allocations: 3.289 MB / 3.815 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/7.012, allocations: 2.125 kB / 3.815 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/7.013, allocations: 196 kB / 3.815 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/7.014, allocations: 95.03 kB / 3.815 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/7.014, allocations: 18.5 kB / 3.815 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/7.015, allocations: 1.989 MB / 3.817 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/7.015, allocations: 0 / 3.817 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/7.017, allocations: 1.985 MB / 3.819 GB, free: 30.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/7.018, allocations: 284.3 kB / 3.82 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/7.018, allocations: 14.03 kB / 3.82 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/7.019, allocations: 62.11 kB / 3.82 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/7.019, allocations: 39.3 kB / 3.82 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/7.019, allocations: 21.12 kB / 3.82 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007716/7.02, allocations: 0.5059 MB / 3.82 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/7.02, allocations: 0 / 3.82 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005456/7.025, allocations: 1.124 MB / 3.821 GB, free: 29.77 MB / 0.5261 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008627/7.034, allocations: 1.549 MB / 3.823 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002554/7.036, allocations: 0.9191 MB / 3.824 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/7.036, allocations: 1.219 kB / 3.824 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/7.038, allocations: 0.6639 MB / 3.824 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/7.04, allocations: 375.1 kB / 3.825 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/7.044, allocations: 2.753 MB / 3.827 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/7.045, allocations: 1.111 MB / 3.828 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/7.045, allocations: 71.78 kB / 3.829 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/7.045, allocations: 4 kB / 3.829 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.05195/7.097, allocations: 38.56 MB / 3.866 GB, free: 24.97 MB / 0.5261 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