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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 112.6 kB / 17.09 MB, free: 6.004 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.001326/0.001326, allocations: 190.2 kB / 18.02 MB, free: 5.094 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.497/1.497, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2126/0.2126, allocations: 43.53 MB / 314.8 MB, free: 472 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.001554/0.001554, allocations: 75.83 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, 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_KC): time 0.00305/0.1076, allocations: 1.861 MB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.109, allocations: 0.8382 MB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.1091, allocations: 8 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1094, allocations: 55.67 kB / 0.4913 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1097, allocations: 87.55 kB / 0.4914 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.11, allocations: 75.73 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1103, allocations: 270.7 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.1104, allocations: 36.34 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1106, allocations: 107.4 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1108, allocations: 115.5 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1108, allocations: 8 kB / 0.4919 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.1111, allocations: 123.8 kB / 0.4921 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.1112, allocations: 59.73 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1113, allocations: 103.3 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.1117, allocations: 294.8 kB / 0.4925 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1117, allocations: 0 / 0.4925 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1117, allocations: 0 / 0.4925 GB, free: 7.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1117, allocations: 0 / 0.4925 GB, free: 7.746 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008709/0.1126, allocations: 0.5576 MB / 0.493 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1126, allocations: 11.89 kB / 0.4931 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.1127, allocations: 32.5 kB / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.113, allocations: 239.8 kB / 0.4933 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.113, allocations: 20.94 kB / 0.4933 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.113, allocations: 28.12 kB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.1136, allocations: 373.2 kB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1136, allocations: 0 / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1137, allocations: 8 kB / 0.4937 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.1137, allocations: 40.56 kB / 0.4938 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.1143, allocations: 366.3 kB / 0.4941 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.1155, allocations: 0.8307 MB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.116, allocations: 266.3 kB / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1162, allocations: 92.78 kB / 0.4953 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1162, allocations: 11.92 kB / 0.4953 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1163, allocations: 38.55 kB / 0.4953 GB, free: 4.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.1163, allocations: 0 / 0.4953 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007367/0.117, allocations: 335.5 kB / 0.4956 GB, free: 4.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1171, allocations: 55.55 kB / 0.4957 GB, free: 4.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.1174, allocations: 338.9 kB / 0.496 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1174, allocations: 25.7 kB / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1175, allocations: 171.9 kB / 0.4962 GB, free: 3.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1176, allocations: 55.2 kB / 0.4963 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.1177, allocations: 65.83 kB / 0.4963 GB, free: 3.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1178, allocations: 334.8 kB / 0.4966 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.118, allocations: 104.3 kB / 0.4967 GB, free: 3.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1183, allocations: 188 kB / 0.4969 GB, free: 2.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.1188, allocations: 306.6 kB / 0.4972 GB, free: 2.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1188, allocations: 4 kB / 0.4972 GB, free: 2.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006/0.1194, allocations: 344.8 kB / 0.4975 GB, free: 2.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1194, allocations: 8 kB / 0.4975 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1194, allocations: 0 / 0.4975 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1194, allocations: 4 kB / 0.4975 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.12, allocations: 123.9 kB / 0.4977 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.1219, allocations: 3.657 MB / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1221, allocations: 35.88 kB / 0.5013 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.1222, allocations: 23.98 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.1224, allocations: 193.3 kB / 0.5015 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.1225, allocations: 23.72 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.1231, allocations: 323.5 kB / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1231, allocations: 4 kB / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1231, allocations: 0 / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.1232, allocations: 104.7 kB / 0.5019 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.1233, allocations: 8 kB / 0.5019 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1235, allocations: 7.938 kB / 0.5019 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.1235, allocations: 23.91 kB / 0.502 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001065/0.1246, allocations: 469.7 kB / 0.5024 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007957/0.1254, allocations: 0.5488 MB / 0.5029 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002133/0.1256, allocations: 103.7 kB / 0.503 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.1259, allocations: 245.9 kB / 0.5033 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.1259, allocations: 0 / 0.5033 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.127, allocations: 342.1 kB / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of SimCode: time 0.001083/0.1281, allocations: 1.057 MB / 0.5046 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Templates: time 0.01098/0.1391, allocations: 5.733 MB / 0.5102 GB, free: 5.027 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches