Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004054/0.004058, allocations: 365.4 kB / 15.96 MB, free: 6.199 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 4.444/4.444, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003541/0.003541, allocations: 237.1 kB / 451 MB, free: 145.1 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.5465/0.5465, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006465/0.000647, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1017, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00315/0.1049, allocations: 1.712 MB / 0.6818 GB, free: 39.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.1079, allocations: 1.174 MB / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1081, allocations: 0 / 0.6829 GB, free: 38.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.1085, allocations: 59.73 kB / 0.683 GB, free: 38.67 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1088, allocations: 75.5 kB / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.1096, allocations: 152.5 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.1104, allocations: 442 kB / 0.6836 GB, free: 38.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1105, allocations: 56.69 kB / 0.6837 GB, free: 37.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.1108, allocations: 143.2 kB / 0.6838 GB, free: 37.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.1112, allocations: 171.2 kB / 0.684 GB, free: 37.65 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.052e-05/0.1113, allocations: 8 kB / 0.684 GB, free: 37.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008262/0.1122, allocations: 247.6 kB / 0.6842 GB, free: 37.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1123, allocations: 79.61 kB / 0.6843 GB, free: 37.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1124, allocations: 81.45 kB / 0.6844 GB, free: 37.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.1131, allocations: 351.4 kB / 0.6847 GB, free: 36.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1131, allocations: 0 / 0.6847 GB, free: 36.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1131, allocations: 4 kB / 0.6847 GB, free: 36.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1132, allocations: 0 / 0.6847 GB, free: 36.89 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001648/0.1148, allocations: 0.6704 MB / 0.6854 GB, free: 36.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1149, allocations: 8.031 kB / 0.6854 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.115, allocations: 51.38 kB / 0.6854 GB, free: 36.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.1155, allocations: 264.8 kB / 0.6857 GB, free: 35.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.1156, allocations: 29 kB / 0.6857 GB, free: 35.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.73e-05/0.1157, allocations: 39.98 kB / 0.6858 GB, free: 35.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.1174, allocations: 0.569 MB / 0.6863 GB, free: 35.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.1174, allocations: 0 / 0.6863 GB, free: 35.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.1175, allocations: 16 kB / 0.6863 GB, free: 35.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.1176, allocations: 24.94 kB / 0.6864 GB, free: 35.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.1193, allocations: 443.6 kB / 0.6868 GB, free: 34.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.1225, allocations: 1.269 MB / 0.688 GB, free: 33.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.1238, allocations: 319.5 kB / 0.6883 GB, free: 33.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/0.1246, allocations: 158.5 kB / 0.6885 GB, free: 32.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/0.1247, allocations: 15.97 kB / 0.6885 GB, free: 32.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1248, allocations: 38.5 kB / 0.6885 GB, free: 32.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.458e-06/0.1248, allocations: 0 / 0.6885 GB, free: 32.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002717/0.1275, allocations: 0.5204 MB / 0.689 GB, free: 32.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1276, allocations: 110.9 kB / 0.6891 GB, free: 32.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.1286, allocations: 0.4977 MB / 0.6896 GB, free: 31.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.1286, allocations: 25.7 kB / 0.6896 GB, free: 31.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.1289, allocations: 204.3 kB / 0.6898 GB, free: 31.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.129, allocations: 63.09 kB / 0.6899 GB, free: 31.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.129, allocations: 8.031 kB / 0.6899 GB, free: 31.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1292, allocations: 350.8 kB / 0.6902 GB, free: 30.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.1299, allocations: 156.1 kB / 0.6904 GB, free: 30.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/0.1307, allocations: 245 kB / 0.6906 GB, free: 30.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.1316, allocations: 175.8 kB / 0.6908 GB, free: 30.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1316, allocations: 0 / 0.6908 GB, free: 30.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001946/0.1336, allocations: 472.8 kB / 0.6912 GB, free: 29.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1336, allocations: 8 kB / 0.6913 GB, free: 29.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.1338, allocations: 31.98 kB / 0.6913 GB, free: 29.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.1338, allocations: 7.953 kB / 0.6913 GB, free: 29.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.1342, allocations: 43.91 kB / 0.6913 GB, free: 29.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1343, allocations: 8.094 kB / 0.6913 GB, free: 29.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005995/0.1349, allocations: 59.5 kB / 0.6914 GB, free: 29.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.135, allocations: 16 kB / 0.6914 GB, free: 29.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003913/0.1354, allocations: 198.5 kB / 0.6916 GB, free: 29.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.1356, allocations: 35.53 kB / 0.6916 GB, free: 29.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.1373, allocations: 448.4 kB / 0.6921 GB, free: 29.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1374, allocations: 0 / 0.6921 GB, free: 29.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001241/0.1375, allocations: 27.95 kB / 0.6921 GB, free: 29.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.1377, allocations: 132.4 kB / 0.6922 GB, free: 28.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.1379, allocations: 11.98 kB / 0.6922 GB, free: 28.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.1386, allocations: 19.98 kB / 0.6922 GB, free: 28.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1388, allocations: 19.97 kB / 0.6923 GB, free: 28.83 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002034/0.1408, allocations: 0.5968 MB / 0.6928 GB, free: 28.22 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001871/0.1427, allocations: 0.7037 MB / 0.6935 GB, free: 27.5 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008151/0.1435, allocations: 159.8 kB / 0.6937 GB, free: 27.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007544/0.1443, allocations: 359.1 kB / 0.694 GB, free: 26.99 MB / 346.7 MB Notification: Performance of Backend: time 6.11e-07/0.1443, allocations: 0 / 0.694 GB, free: 26.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.147, allocations: 0.5919 MB / 0.6946 GB, free: 26.34 MB / 346.7 MB Notification: Performance of SimCode: time 0.002461/0.1495, allocations: 1.515 MB / 0.6961 GB, free: 24.72 MB / 346.7 MB Notification: Performance of Templates: time 0.01958/0.1691, allocations: 7.431 MB / 0.7033 GB, free: 17.35 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,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[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],Nu_3[1],Nu_3[2],Nu_3[3],m_flow[1],m_flow[2],m_flow[3],input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:A_cross,Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Nu_3[1],Nu_3[2],Nu_3[3],Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],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_1[1].A_cross,m_flow_IN_con_1[1].exp_Pr,m_flow_IN_con_1[1].perimeter,m_flow_IN_con_1[2].A_cross,m_flow_IN_con_1[2].exp_Pr,m_flow_IN_con_1[2].perimeter,m_flow_IN_con_1[3].A_cross,m_flow_IN_con_1[3].exp_Pr,m_flow_IN_con_1[3].perimeter,m_flow_IN_con_2[1].A_cross,m_flow_IN_con_2[1].exp_Pr,m_flow_IN_con_2[1].perimeter,m_flow_IN_con_2[2].A_cross,m_flow_IN_con_2[2].exp_Pr,m_flow_IN_con_2[2].perimeter,m_flow_IN_con_2[3].A_cross,m_flow_IN_con_2[3].exp_Pr,m_flow_IN_con_2[3].perimeter,m_flow_IN_con_3[1].A_cross,m_flow_IN_con_3[1].exp_Pr,m_flow_IN_con_3[1].perimeter,m_flow_IN_con_3[2].A_cross,m_flow_IN_con_3[2].exp_Pr,m_flow_IN_con_3[2].perimeter,m_flow_IN_con_3[3].A_cross,m_flow_IN_con_3[3].exp_Pr,m_flow_IN_con_3[3].perimeter,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].eta_wall,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].eta_wall,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].eta_wall,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].eta_wall,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].eta_wall,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].eta_wall,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].rho,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].eta_wall,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].m_flow,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].eta_wall,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].m_flow,m_flow_IN_var_3[2].rho,m_flow_IN_var_3[3].cp,m_flow_IN_var_3[3].eta,m_flow_IN_var_3[3].eta_wall,m_flow_IN_var_3[3].lambda,m_flow_IN_var_3[3].m_flow,m_flow_IN_var_3[3].rho,n,perimeter,rho[1],rho[2],rho[3],time