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.001499/0.001499, allocations: 112.5 kB / 17.08 MB, free: 5.836 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.001746/0.001746, allocations: 198.3 kB / 18.01 MB, free: 4.965 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.41/1.41, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2097/0.2097, allocations: 43.52 MB / 314.8 MB, free: 460 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.001362/0.001362, allocations: 63.89 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003179/0.1103, allocations: 2.011 MB / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.112, allocations: 1.123 MB / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.1121, allocations: 0 / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1123, allocations: 63.59 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1125, allocations: 71.52 kB / 0.4918 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.113, allocations: 167.4 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.1134, allocations: 318.5 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.1134, allocations: 48.66 kB / 0.4923 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1136, allocations: 115.4 kB / 0.4924 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1138, allocations: 131.4 kB / 0.4925 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.1139, allocations: 12 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.1142, allocations: 195.7 kB / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.1143, allocations: 67.67 kB / 0.4928 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1144, allocations: 131.1 kB / 0.4929 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.1149, allocations: 382.6 kB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1149, allocations: 4 kB / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1149, allocations: 0 / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1149, allocations: 0 / 0.4933 GB, free: 6.969 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.001038/0.116, allocations: 0.6237 MB / 0.4939 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.116, allocations: 11.89 kB / 0.4939 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.1161, allocations: 40.47 kB / 0.4939 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1164, allocations: 255.6 kB / 0.4942 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1164, allocations: 20.56 kB / 0.4942 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.1165, allocations: 28 kB / 0.4942 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.1172, allocations: 429.8 kB / 0.4946 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1172, allocations: 3.938 kB / 0.4946 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1172, allocations: 12 kB / 0.4946 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.1173, allocations: 16.56 kB / 0.4946 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.1179, allocations: 321.9 kB / 0.495 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1193, allocations: 1.104 MB / 0.496 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.1198, allocations: 239.7 kB / 0.4963 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.1201, allocations: 114.4 kB / 0.4964 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.1201, allocations: 11.97 kB / 0.4964 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1202, allocations: 34.56 kB / 0.4964 GB, free: 3.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1202, allocations: 0 / 0.4964 GB, free: 3.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009566/0.1211, allocations: 364.8 kB / 0.4968 GB, free: 3.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1212, allocations: 106.8 kB / 0.4969 GB, free: 3.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.1216, allocations: 413.7 kB / 0.4973 GB, free: 2.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1216, allocations: 25.7 kB / 0.4973 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1218, allocations: 191.8 kB / 0.4975 GB, free: 2.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1218, allocations: 39.36 kB / 0.4975 GB, free: 2.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1219, allocations: 69.83 kB / 0.4976 GB, free: 2.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1221, allocations: 342.8 kB / 0.4979 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.1224, allocations: 112.1 kB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.1227, allocations: 239.7 kB / 0.4982 GB, free: 1.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.1234, allocations: 359 kB / 0.4986 GB, free: 1.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1234, allocations: 0 / 0.4986 GB, free: 1.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007969/0.1242, allocations: 405.1 kB / 0.499 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1242, allocations: 12.03 kB / 0.499 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/0.1243, allocations: 23.98 kB / 0.499 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1243, allocations: 4 kB / 0.499 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.1245, allocations: 47.91 kB / 0.499 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1246, allocations: 19.92 kB / 0.4991 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1248, allocations: 47.52 kB / 0.4991 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1249, allocations: 20 kB / 0.4991 GB, free: 0.5508 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.0001787/0.125, allocations: 189.5 kB / 0.4993 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.1251, allocations: 27.62 kB / 0.4993 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.1257, allocations: 284.2 kB / 0.4996 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1257, allocations: 4.094 kB / 0.4996 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1257, allocations: 7.875 kB / 0.4996 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1258, allocations: 7.984 kB / 0.4996 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.1262, allocations: 297.4 kB / 0.4999 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.1262, allocations: 23.98 kB / 0.4999 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1264, allocations: 23.97 kB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1264, allocations: 3.938 kB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.1264, allocations: 8 kB / 0.5 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1264, allocations: 4 kB / 0.5 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1264, allocations: 7.875 kB / 0.5 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.1271, allocations: 0.5015 MB / 0.5005 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1272, allocations: 108.7 kB / 0.5006 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.1273, allocations: 0 / 0.5006 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.1275, allocations: 27.97 kB / 0.5006 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1276, allocations: 15.92 kB / 0.5006 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.1277, allocations: 8 kB / 0.5006 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002731/0.1279, allocations: 287.1 kB / 0.5009 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.128, allocations: 0 / 0.5009 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.1284, allocations: 95.92 kB / 0.501 GB, free: 14.55 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.0002705/0.1287, allocations: 159.1 kB / 0.5011 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.1295, allocations: 429.9 kB / 0.5015 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1295, allocations: 4 kB / 0.5015 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.1299, allocations: 275 kB / 0.5018 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.1305, allocations: 72.92 kB / 0.5019 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1315, allocations: 0.6332 MB / 0.5025 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1319, allocations: 0.7909 MB / 0.5033 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.132, allocations: 27.42 kB / 0.5033 GB, free: 12.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.132, allocations: 4 kB / 0.5033 GB, free: 12.03 MB / 398.1 MB Notification: Performance of Templates: time 0.00878/0.1408, allocations: 5.49 MB / 0.5087 GB, free: 6.539 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/jenkins1/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/jenkins1/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