Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00412/0.004126, allocations: 366.7 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.887/3.887, allocations: 388.9 MB / 405.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003485/0.003485, allocations: 231.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5612/0.5612, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007197/0.0007199, allocations: 15.19 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1097, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002173/0.1119, allocations: 1.56 MB / 0.6816 GB, free: 40.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1138, allocations: 1.022 MB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.1139, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.1142, allocations: 55.67 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1144, allocations: 51.67 kB / 0.6827 GB, free: 38.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.1149, allocations: 127.6 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1152, allocations: 259 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.438e-05/0.1153, allocations: 21.67 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1155, allocations: 87.56 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1157, allocations: 103.6 kB / 0.6833 GB, free: 38.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1157, allocations: 4 kB / 0.6833 GB, free: 38.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.1162, allocations: 223.6 kB / 0.6835 GB, free: 38.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.1163, allocations: 59.73 kB / 0.6836 GB, free: 38.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1164, allocations: 49.64 kB / 0.6836 GB, free: 38.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1167, allocations: 191.7 kB / 0.6838 GB, free: 37.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1167, allocations: 8 kB / 0.6838 GB, free: 37.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1167, allocations: 0 / 0.6838 GB, free: 37.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1168, allocations: 0 / 0.6838 GB, free: 37.81 MB / 346.7 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.001175/0.1179, allocations: 0.5336 MB / 0.6843 GB, free: 37.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.118, allocations: 8.031 kB / 0.6844 GB, free: 37.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.1181, allocations: 19.72 kB / 0.6844 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1183, allocations: 224.8 kB / 0.6846 GB, free: 36.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1184, allocations: 8 kB / 0.6846 GB, free: 36.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1184, allocations: 16 kB / 0.6846 GB, free: 36.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.1192, allocations: 300.5 kB / 0.6849 GB, free: 36.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1192, allocations: 3.953 kB / 0.6849 GB, free: 36.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1192, allocations: 7.938 kB / 0.6849 GB, free: 36.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.1193, allocations: 12 kB / 0.6849 GB, free: 36.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/0.1202, allocations: 267.2 kB / 0.6852 GB, free: 36.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1215, allocations: 0.7656 MB / 0.6859 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.1224, allocations: 239.7 kB / 0.6861 GB, free: 35.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.1228, allocations: 110.5 kB / 0.6863 GB, free: 35.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.1229, allocations: 7.984 kB / 0.6863 GB, free: 35.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1229, allocations: 42.59 kB / 0.6863 GB, free: 35.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.505e-06/0.123, allocations: 0 / 0.6863 GB, free: 35.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001507/0.1245, allocations: 349.3 kB / 0.6866 GB, free: 34.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1245, allocations: 106.8 kB / 0.6867 GB, free: 34.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.1249, allocations: 278.5 kB / 0.687 GB, free: 34.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1249, allocations: 25.7 kB / 0.687 GB, free: 34.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.125, allocations: 139.9 kB / 0.6872 GB, free: 34.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.1251, allocations: 47.38 kB / 0.6872 GB, free: 34.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.1251, allocations: 4 kB / 0.6872 GB, free: 34.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.1252, allocations: 338.8 kB / 0.6875 GB, free: 33.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.1256, allocations: 95.91 kB / 0.6876 GB, free: 33.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.1261, allocations: 137.1 kB / 0.6878 GB, free: 33.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.1265, allocations: 115.9 kB / 0.6879 GB, free: 33.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1266, allocations: 4 kB / 0.6879 GB, free: 33.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001064/0.1276, allocations: 289.1 kB / 0.6881 GB, free: 33.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1277, allocations: 4 kB / 0.6881 GB, free: 33.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/0.1277, allocations: 8 kB / 0.6882 GB, free: 33.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1277, allocations: 4 kB / 0.6882 GB, free: 33.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.1281, allocations: 44.08 kB / 0.6882 GB, free: 33.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.1281, allocations: 3.984 kB / 0.6882 GB, free: 33.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.1285, allocations: 43.67 kB / 0.6882 GB, free: 32.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.1285, allocations: 8 kB / 0.6883 GB, free: 32.98 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.1287, allocations: 161.7 kB / 0.6884 GB, free: 32.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.1288, allocations: 23.72 kB / 0.6884 GB, free: 32.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.1296, allocations: 231.6 kB / 0.6887 GB, free: 32.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.1296, allocations: 3.984 kB / 0.6887 GB, free: 32.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.1296, allocations: 8 kB / 0.6887 GB, free: 32.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1297, allocations: 104.9 kB / 0.6888 GB, free: 32.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1298, allocations: 15.92 kB / 0.6888 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.1302, allocations: 15.98 kB / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.1303, allocations: 19.94 kB / 0.6888 GB, free: 32.38 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001169/0.1315, allocations: 0.4914 MB / 0.6893 GB, free: 31.88 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001021/0.1325, allocations: 0.5673 MB / 0.6898 GB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004573/0.133, allocations: 111.8 kB / 0.69 GB, free: 31.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.1333, allocations: 201.9 kB / 0.6901 GB, free: 30.98 MB / 346.7 MB Notification: Performance of Backend: time 7.32e-07/0.1333, allocations: 0 / 0.6901 GB, free: 30.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.1347, allocations: 331.3 kB / 0.6905 GB, free: 30.64 MB / 346.7 MB Notification: Performance of SimCode: time 0.001109/0.1359, allocations: 1.033 MB / 0.6915 GB, free: 29.54 MB / 346.7 MB Notification: Performance of Templates: time 0.01036/0.1463, allocations: 3.949 MB / 0.6953 GB, free: 25.65 MB / 346.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5004]=1.010000 File[8917]=1.800022 " Variables in the reference: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 Variables in the result:L,Nu_2[1],Nu_2[2],Nu_2[3],Re_2[1],Re_2[2],Re_2[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],h,input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].rho,mflow_test,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]