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.001259/0.001259, allocations: 113.6 kB / 17.09 MB, free: 5.93 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.001311/0.001311, allocations: 198.1 kB / 18.02 MB, free: 5.023 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.499/1.499, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.2264/0.2264, allocations: 43.53 MB / 314.8 MB, free: 444 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.001341/0.001341, allocations: 79.88 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1151, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004226/0.1194, allocations: 2.005 MB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1217, allocations: 1.122 MB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1218, allocations: 4 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1221, allocations: 55.66 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1224, allocations: 79.45 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.123, allocations: 163.4 kB / 0.4919 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1236, allocations: 326.5 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.079e-05/0.1237, allocations: 36.72 kB / 0.4923 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1239, allocations: 119.4 kB / 0.4924 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1241, allocations: 135.3 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.1242, allocations: 8 kB / 0.4925 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.1246, allocations: 195.7 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.1247, allocations: 75.61 kB / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1248, allocations: 127.2 kB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.1253, allocations: 378.6 kB / 0.4933 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1253, allocations: 4 kB / 0.4933 GB, free: 6.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1253, allocations: 0 / 0.4933 GB, free: 6.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1253, allocations: 0 / 0.4933 GB, free: 6.93 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.001164/0.1265, allocations: 0.6276 MB / 0.4939 GB, free: 6.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1265, allocations: 15.89 kB / 0.4939 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.1266, allocations: 32.47 kB / 0.4939 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1269, allocations: 259.6 kB / 0.4942 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1269, allocations: 24.5 kB / 0.4942 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.1269, allocations: 24 kB / 0.4942 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.1277, allocations: 429.8 kB / 0.4946 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1277, allocations: 4 kB / 0.4946 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1278, allocations: 12 kB / 0.4946 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.1278, allocations: 16.56 kB / 0.4947 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.1285, allocations: 321.9 kB / 0.495 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.13, allocations: 1.104 MB / 0.496 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.1305, allocations: 239.7 kB / 0.4963 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.1308, allocations: 110.5 kB / 0.4964 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1309, allocations: 7.984 kB / 0.4964 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1309, allocations: 42.5 kB / 0.4964 GB, free: 3.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1309, allocations: 4 kB / 0.4964 GB, free: 3.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009629/0.1319, allocations: 348.9 kB / 0.4968 GB, free: 3.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.132, allocations: 107.1 kB / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.1324, allocations: 409.4 kB / 0.4973 GB, free: 2.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1324, allocations: 33.7 kB / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1326, allocations: 187.8 kB / 0.4975 GB, free: 2.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.1326, allocations: 51.28 kB / 0.4975 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1327, allocations: 69.83 kB / 0.4976 GB, free: 2.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1329, allocations: 338.8 kB / 0.4979 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1332, allocations: 116.1 kB / 0.498 GB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.1335, allocations: 235.8 kB / 0.4982 GB, free: 1.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.1342, allocations: 355 kB / 0.4986 GB, free: 1.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1342, allocations: 4 kB / 0.4986 GB, free: 1.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008871/0.1351, allocations: 405 kB / 0.499 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1352, allocations: 8 kB / 0.499 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/0.1352, allocations: 23.98 kB / 0.499 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1352, allocations: 8 kB / 0.499 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1355, allocations: 47.91 kB / 0.4991 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.1355, allocations: 15.86 kB / 0.4991 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.1358, allocations: 55.52 kB / 0.4991 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1358, allocations: 16 kB / 0.4991 GB, free: 0.5117 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.0001824/0.136, allocations: 189.5 kB / 0.4993 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.1361, allocations: 27.62 kB / 0.4993 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.1367, allocations: 284.2 kB / 0.4996 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1367, allocations: 4 kB / 0.4996 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-05/0.1368, allocations: 23.98 kB / 0.4996 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.1369, allocations: 116.6 kB / 0.4998 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.1369, allocations: 4 kB / 0.4998 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1372, allocations: 15.98 kB / 0.4998 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.1373, allocations: 15.97 kB / 0.4998 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007904/0.1381, allocations: 495.5 kB / 0.5003 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008921/0.139, allocations: 0.5829 MB / 0.5008 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002631/0.1393, allocations: 95.91 kB / 0.5009 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.1395, allocations: 287.1 kB / 0.5012 GB, free: 14.35 MB / 398.1 MB Notification: Performance of Backend: time 6.21e-07/0.1395, allocations: 0 / 0.5012 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.1407, allocations: 468.4 kB / 0.5016 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.001504/0.1422, allocations: 1.195 MB / 0.5028 GB, free: 12.56 MB / 398.1 MB Notification: Performance of Templates: time 0.01174/0.154, allocations: 6.308 MB / 0.509 GB, free: 6.273 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