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.001639/0.001639, allocations: 104.8 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002523/0.002524, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.607/1.607, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2521/0.2521, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001366/0.001366, allocations: 71.91 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 57.78 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003769/0.1644, allocations: 2.002 MB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1665, allocations: 1.13 MB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.1666, allocations: 0 / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1669, allocations: 63.58 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1671, allocations: 71.53 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.1676, allocations: 163.4 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.1681, allocations: 322.5 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.1682, allocations: 36.72 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.1684, allocations: 123.4 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1686, allocations: 131.3 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.1686, allocations: 12 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.169, allocations: 199.7 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.1691, allocations: 67.67 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1692, allocations: 127.2 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.1697, allocations: 382.6 kB / 0.4926 GB, free: 6.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1698, allocations: 4 kB / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1698, allocations: 0 / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1698, allocations: 0 / 0.4926 GB, free: 6.934 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.001166/0.171, allocations: 0.6276 MB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.171, allocations: 11.89 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.1711, allocations: 40.47 kB / 0.4933 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1714, allocations: 251.6 kB / 0.4935 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1715, allocations: 20.56 kB / 0.4935 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.1715, allocations: 24 kB / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.1724, allocations: 433.8 kB / 0.494 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.1724, allocations: 3.938 kB / 0.494 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.1724, allocations: 19.98 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.1725, allocations: 12.56 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/0.1732, allocations: 321.9 kB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1747, allocations: 1.1 MB / 0.4954 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.1753, allocations: 243.7 kB / 0.4956 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.1755, allocations: 114.4 kB / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.1756, allocations: 7.984 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1756, allocations: 34.56 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1756, allocations: 4 kB / 0.4958 GB, free: 3.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001035/0.1767, allocations: 356.9 kB / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.1768, allocations: 118.9 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.1772, allocations: 401.5 kB / 0.4966 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1772, allocations: 29.7 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1774, allocations: 191.8 kB / 0.4968 GB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1774, allocations: 43.36 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1776, allocations: 69.83 kB / 0.4969 GB, free: 2.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1778, allocations: 338.8 kB / 0.4972 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.1781, allocations: 120.1 kB / 0.4973 GB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.1785, allocations: 235.7 kB / 0.4976 GB, free: 1.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.1792, allocations: 359.1 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1792, allocations: 0 / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000873/0.1801, allocations: 413 kB / 0.4983 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1801, allocations: 4 kB / 0.4983 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-05/0.1802, allocations: 27.98 kB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1802, allocations: 4 kB / 0.4983 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1804, allocations: 43.91 kB / 0.4984 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.103e-05/0.1805, allocations: 15.92 kB / 0.4984 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.1808, allocations: 51.52 kB / 0.4984 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1808, allocations: 24.11 kB / 0.4985 GB, free: 0.5078 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.0001985/0.181, allocations: 185.5 kB / 0.4986 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.1811, allocations: 27.62 kB / 0.4987 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006072/0.1817, allocations: 284.2 kB / 0.4989 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.1817, allocations: 3.984 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1818, allocations: 11.98 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1818, allocations: 0 / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.1822, allocations: 297.4 kB / 0.4992 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/0.1823, allocations: 23.98 kB / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1824, allocations: 28 kB / 0.4993 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1824, allocations: 3.938 kB / 0.4993 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.1825, allocations: 8 kB / 0.4993 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1825, allocations: 4 kB / 0.4993 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1825, allocations: 3.938 kB / 0.4993 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.1832, allocations: 0.5054 MB / 0.4998 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1834, allocations: 108.7 kB / 0.4999 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.1834, allocations: 4 kB / 0.4999 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.1837, allocations: 19.97 kB / 0.4999 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.1838, allocations: 19.92 kB / 0.5 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1838, allocations: 8 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002951/0.1841, allocations: 287.1 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1841, allocations: 0 / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.1846, allocations: 95.94 kB / 0.5003 GB, free: 14.51 MB / 398.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.0003211/0.185, allocations: 159.1 kB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008506/0.1858, allocations: 429.8 kB / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1858, allocations: 0 / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.1863, allocations: 275.1 kB / 0.5011 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.1869, allocations: 74.27 kB / 0.5012 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1883, allocations: 0.6042 MB / 0.5018 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.1888, allocations: 0.7948 MB / 0.5026 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.189, allocations: 70.89 kB / 0.5027 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.189, allocations: 23.44 kB / 0.5027 GB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.189, allocations: 0 / 0.5027 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Templates: time 0.01063/0.1997, allocations: 5.858 MB / 0.5084 GB, free: 6.125 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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