Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 196.1 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.49 MB / 313.5 MB, free: 8.504 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 382.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.17, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.005774/0.1758, allocations: 2.058 MB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1782, allocations: 1.119 MB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.1785, allocations: 4 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.1789, allocations: 59.66 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.1794, allocations: 71.58 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.1802, allocations: 147.6 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.1808, allocations: 414.4 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1809, allocations: 36.98 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.1812, allocations: 111.4 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.1816, allocations: 143.3 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.1817, allocations: 12 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.1822, allocations: 183.8 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1824, allocations: 71.67 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1826, allocations: 131.1 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.1832, allocations: 374.6 kB / 444.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1833, allocations: 7.984 kB / 444.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1833, allocations: 0 / 444.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1833, allocations: 0 / 444.7 MB, free: 9.895 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001382/0.1847, allocations: 0.616 MB / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.1847, allocations: 11.97 kB / 445.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1849, allocations: 32.56 kB / 445.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1852, allocations: 251.7 kB / 445.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1852, allocations: 28.48 kB / 445.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1853, allocations: 24 kB / 445.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.1861, allocations: 441.8 kB / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1862, allocations: 0 / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.1862, allocations: 12 kB / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.1863, allocations: 12.56 kB / 446.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.187, allocations: 325.9 kB / 446.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1889, allocations: 1.104 MB / 447.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.1895, allocations: 239.7 kB / 447.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1898, allocations: 110.5 kB / 447.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.1899, allocations: 7.984 kB / 447.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1899, allocations: 34.5 kB / 448 MB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1899, allocations: 0 / 448 MB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.00113/0.191, allocations: 361 kB / 448.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1912, allocations: 102.8 kB / 448.4 MB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.1917, allocations: 405.5 kB / 448.8 MB, free: 5.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1918, allocations: 29.7 kB / 448.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.192, allocations: 199.9 kB / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.192, allocations: 43.36 kB / 449.1 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1922, allocations: 65.83 kB / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.1924, allocations: 338.9 kB / 449.5 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.1928, allocations: 128 kB / 449.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.1934, allocations: 232.5 kB / 449.8 MB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.1942, allocations: 371.3 kB / 450.2 MB, free: 4.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.1942, allocations: 3.984 kB / 450.2 MB, free: 4.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001053/0.1953, allocations: 404.6 kB / 450.6 MB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.1953, allocations: 4 kB / 450.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.489e-05/0.1954, allocations: 28.52 kB / 450.6 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.1954, allocations: 8 kB / 450.6 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.1958, allocations: 47.89 kB / 450.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.1958, allocations: 15.88 kB / 450.7 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.1961, allocations: 51.52 kB / 450.7 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.1962, allocations: 19.98 kB / 450.8 MB, free: 3.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.1965, allocations: 181.6 kB / 450.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.1966, allocations: 39.61 kB / 451 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.1973, allocations: 268.2 kB / 451.2 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.1973, allocations: 7.984 kB / 451.2 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.1973, allocations: 3.938 kB / 451.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1974, allocations: 3.938 kB / 451.3 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.198, allocations: 305.4 kB / 451.6 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.122e-05/0.1981, allocations: 23.98 kB / 451.6 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.1983, allocations: 27.97 kB / 451.6 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.1983, allocations: 0 / 451.6 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.1983, allocations: 11.94 kB / 451.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.1983, allocations: 4 kB / 451.6 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.1984, allocations: 3.938 kB / 451.6 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.1992, allocations: 0.4975 MB / 452.1 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.1994, allocations: 108.7 kB / 452.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.1995, allocations: 4 kB / 452.2 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.1998, allocations: 23.97 kB / 452.3 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1999, allocations: 19.92 kB / 452.3 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.1999, allocations: 4 kB / 452.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.2003, allocations: 295.1 kB / 452.6 MB, free: 1.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2003, allocations: 0 / 452.6 MB, free: 1.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007367/0.201, allocations: 87.94 kB / 452.7 MB, free: 1.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005791/0.2016, allocations: 159.2 kB / 452.8 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2027, allocations: 426 kB / 453.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.2027, allocations: 0 / 453.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.2031, allocations: 275 kB / 453.5 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.2038, allocations: 77.3 kB / 453.6 MB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2323/0.4362, allocations: 0.6836 MB / 454.3 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4365, allocations: 0.7991 MB / 455.1 MB, free: 48.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.4367, allocations: 72.11 kB / 455.1 MB, free: 48.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.4368, allocations: 18.88 kB / 455.1 MB, free: 48.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4368, allocations: 0 / 455.1 MB, free: 48.19 MB / 382.1 MB Notification: Performance of Templates: time 0.008393/0.4452, allocations: 5.357 MB / 460.5 MB, free: 47.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches