Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001313, allocations: 109.5 kB / 17.09 MB, free: 5.805 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.001182/0.001182, allocations: 196.2 kB / 18.02 MB, free: 4.918 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.487/1.487, allocations: 205.1 MB / 223.9 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.2297/0.2297, allocations: 43.53 MB / 314.8 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.001599/0.001599, allocations: 63.91 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1097, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.004164/0.1139, allocations: 1.9 MB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1159, allocations: 1.138 MB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.116, allocations: 0 / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1164, allocations: 55.67 kB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1167, allocations: 55.66 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1172, allocations: 163.3 kB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.1176, allocations: 223 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.353e-05/0.1176, allocations: 29.64 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1178, allocations: 87.58 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.118, allocations: 103.5 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.118, allocations: 8 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.1184, allocations: 235.6 kB / 0.4925 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.1185, allocations: 55.73 kB / 0.4925 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.1186, allocations: 95.41 kB / 0.4926 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.1191, allocations: 314.9 kB / 0.4929 GB, free: 7.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1191, allocations: 0 / 0.4929 GB, free: 7.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1191, allocations: 4 kB / 0.4929 GB, free: 7.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1191, allocations: 0 / 0.4929 GB, free: 7.309 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009742/0.1201, allocations: 0.5567 MB / 0.4934 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1202, allocations: 11.89 kB / 0.4935 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.1203, allocations: 24.66 kB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1205, allocations: 227.8 kB / 0.4937 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1205, allocations: 20.36 kB / 0.4937 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1206, allocations: 16.12 kB / 0.4937 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.1211, allocations: 276.6 kB / 0.494 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1211, allocations: 0 / 0.494 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1211, allocations: 4 kB / 0.494 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1212, allocations: 11.94 kB / 0.494 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.1217, allocations: 231.7 kB / 0.4942 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.1227, allocations: 0.7617 MB / 0.495 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.1232, allocations: 223.7 kB / 0.4952 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.1235, allocations: 110.5 kB / 0.4953 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1236, allocations: 3.938 kB / 0.4953 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1236, allocations: 38.56 kB / 0.4953 GB, free: 4.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.1236, allocations: 0 / 0.4953 GB, free: 4.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008922/0.1245, allocations: 317.5 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1245, allocations: 106.8 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1248, allocations: 282.5 kB / 0.496 GB, free: 3.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1248, allocations: 25.7 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.1249, allocations: 143.8 kB / 0.4962 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.125, allocations: 47.34 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.1251, allocations: 45.62 kB / 0.4963 GB, free: 3.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1252, allocations: 330.8 kB / 0.4966 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.1254, allocations: 83.91 kB / 0.4967 GB, free: 3.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1257, allocations: 125.1 kB / 0.4968 GB, free: 3.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.1262, allocations: 228.8 kB / 0.497 GB, free: 2.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1262, allocations: 4 kB / 0.497 GB, free: 2.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005887/0.1268, allocations: 257.1 kB / 0.4972 GB, free: 2.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1268, allocations: 10.66 kB / 0.4973 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.1268, allocations: 19.92 kB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1269, allocations: 4 kB / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1271, allocations: 31.97 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1271, allocations: 3.938 kB / 0.4973 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1273, allocations: 39.94 kB / 0.4973 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1273, allocations: 11.98 kB / 0.4974 GB, free: 2.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001318/0.1275, allocations: 145.8 kB / 0.4975 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.1276, allocations: 23.72 kB / 0.4975 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.128, allocations: 235.2 kB / 0.4977 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1281, allocations: 0 / 0.4977 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.1281, allocations: 8 kB / 0.4978 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.1282, allocations: 108.8 kB / 0.4979 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.1282, allocations: 4 kB / 0.4979 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1285, allocations: 15.98 kB / 0.4979 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.1285, allocations: 11.98 kB / 0.4979 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007235/0.1293, allocations: 475.2 kB / 0.4983 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000653/0.1299, allocations: 0.5477 MB / 0.4989 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00026/0.1302, allocations: 100 kB / 0.499 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1304, allocations: 201.9 kB / 0.4992 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of Backend: time 7.12e-07/0.1304, allocations: 0 / 0.4992 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1314, allocations: 339.3 kB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of SimCode: time 0.0008938/0.1323, allocations: 0.9608 MB / 0.5004 GB, free: 15.13 MB / 398.1 MB Notification: Performance of Templates: time 0.008994/0.1413, allocations: 4.478 MB / 0.5048 GB, free: 10.66 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches