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_evenGapOverall.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_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_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_evenGapOverall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00384/0.003846, allocations: 371 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 3.891/3.891, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.005131/0.005131, allocations: 227.9 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.6152/0.6152, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004766, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, 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_evenGapOverall): time 0.003676/0.1129, allocations: 1.837 MB / 0.6819 GB, free: 39.78 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.1177, allocations: 1.88 MB / 0.6838 GB, free: 37.89 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.1181, allocations: 4 kB / 0.6838 GB, free: 37.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1185, allocations: 51.66 kB / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.1189, allocations: 91.42 kB / 0.6839 GB, free: 37.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.1209, allocations: 354.8 kB / 0.6842 GB, free: 37.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009067/0.1218, allocations: 0.5288 MB / 0.6847 GB, free: 36.87 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.122, allocations: 61.03 kB / 0.6848 GB, free: 36.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.1224, allocations: 167.1 kB / 0.685 GB, free: 36.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.1228, allocations: 207 kB / 0.6852 GB, free: 36.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.724e-05/0.1229, allocations: 12 kB / 0.6852 GB, free: 36.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1249, allocations: 0.6044 MB / 0.6858 GB, free: 35.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.1251, allocations: 99.53 kB / 0.6859 GB, free: 35.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1253, allocations: 89.45 kB / 0.6859 GB, free: 35.63 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1263, allocations: 494.9 kB / 0.6864 GB, free: 35.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1263, allocations: 0 / 0.6864 GB, free: 35.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1264, allocations: 0 / 0.6864 GB, free: 35.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1264, allocations: 0 / 0.6864 GB, free: 35.15 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001908/0.1283, allocations: 0.7401 MB / 0.6871 GB, free: 34.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.1284, allocations: 8.031 kB / 0.6871 GB, free: 34.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.1285, allocations: 47.44 kB / 0.6872 GB, free: 34.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.1291, allocations: 304.4 kB / 0.6875 GB, free: 33.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.1292, allocations: 37 kB / 0.6875 GB, free: 33.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1294, allocations: 52 kB / 0.6876 GB, free: 33.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.1315, allocations: 0.7039 MB / 0.6883 GB, free: 33.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.1316, allocations: 7.938 kB / 0.6883 GB, free: 33.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.1317, allocations: 20 kB / 0.6883 GB, free: 33.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.1318, allocations: 24.95 kB / 0.6883 GB, free: 33.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.1339, allocations: 0.5116 MB / 0.6888 GB, free: 32.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.1379, allocations: 1.492 MB / 0.6903 GB, free: 31.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.1393, allocations: 331.8 kB / 0.6906 GB, free: 30.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.1401, allocations: 166.6 kB / 0.6907 GB, free: 30.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.1402, allocations: 19.92 kB / 0.6908 GB, free: 30.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1403, allocations: 34.55 kB / 0.6908 GB, free: 30.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 4.619e-06/0.1403, allocations: 0 / 0.6908 GB, free: 30.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.002931/0.1432, allocations: 0.5547 MB / 0.6913 GB, free: 29.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1433, allocations: 110.8 kB / 0.6914 GB, free: 29.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1445, allocations: 0.5604 MB / 0.692 GB, free: 29.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.1446, allocations: 29.7 kB / 0.692 GB, free: 29.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.1448, allocations: 236.1 kB / 0.6922 GB, free: 28.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.145, allocations: 82.84 kB / 0.6923 GB, free: 28.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.145, allocations: 4 kB / 0.6923 GB, free: 28.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1452, allocations: 358.8 kB / 0.6927 GB, free: 28.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/0.1461, allocations: 163.8 kB / 0.6928 GB, free: 28.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.1471, allocations: 257.3 kB / 0.6931 GB, free: 28.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.148, allocations: 199.7 kB / 0.6933 GB, free: 27.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.1481, allocations: 4 kB / 0.6933 GB, free: 27.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002312/0.1504, allocations: 0.5008 MB / 0.6937 GB, free: 27.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.1505, allocations: 8 kB / 0.6938 GB, free: 27.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/0.1506, allocations: 43.98 kB / 0.6938 GB, free: 27.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.1507, allocations: 4 kB / 0.6938 GB, free: 27.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.1511, allocations: 43.89 kB / 0.6938 GB, free: 27.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.1512, allocations: 8.031 kB / 0.6938 GB, free: 27.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.1519, allocations: 67.41 kB / 0.6939 GB, free: 27.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.152, allocations: 20 kB / 0.6939 GB, free: 27.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004665/0.1525, allocations: 226.9 kB / 0.6941 GB, free: 26.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.1528, allocations: 47.39 kB / 0.6942 GB, free: 26.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.1547, allocations: 481.1 kB / 0.6947 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1548, allocations: 0 / 0.6947 GB, free: 26.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001495/0.1549, allocations: 43.98 kB / 0.6947 GB, free: 26.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.1552, allocations: 132.5 kB / 0.6948 GB, free: 26.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.1554, allocations: 7.984 kB / 0.6948 GB, free: 26.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.1561, allocations: 23.98 kB / 0.6949 GB, free: 26.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.1563, allocations: 23.97 kB / 0.6949 GB, free: 26.14 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00217/0.1585, allocations: 0.6201 MB / 0.6955 GB, free: 25.51 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002008/0.1605, allocations: 0.7231 MB / 0.6962 GB, free: 24.77 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008667/0.1614, allocations: 167.5 kB / 0.6963 GB, free: 24.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009307/0.1624, allocations: 410.8 kB / 0.6967 GB, free: 24.21 MB / 346.7 MB Notification: Performance of Backend: time 1.082e-06/0.1624, allocations: 0 / 0.6967 GB, free: 24.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.1655, allocations: 0.752 MB / 0.6975 GB, free: 23.37 MB / 346.7 MB Notification: Performance of SimCode: time 0.002916/0.1685, allocations: 1.695 MB / 0.6991 GB, free: 21.56 MB / 346.7 MB Notification: Performance of Templates: time 0.02972/0.1983, allocations: 8.865 MB / 0.7078 GB, free: 12.76 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],m_flow[1],m_flow[2],m_flow[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],Nu_4[1],Nu_4[2],Nu_4[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],mflow_test,input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,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],Nu_4[1],Nu_4[2],Nu_4[3],Re_1[1],Re_1[2],Re_1[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_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].s,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_con_3[1].L,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].s,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].s,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].s,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].h,m_flow_IN_con_4[1].s,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].h,m_flow_IN_con_4[2].s,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].h,m_flow_IN_con_4[3].s,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,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].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].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].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,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].lambda,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].lambda,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].lambda,m_flow_IN_var_3[3].rho,m_flow_IN_var_4[1].cp,m_flow_IN_var_4[1].eta,m_flow_IN_var_4[1].lambda,m_flow_IN_var_4[1].rho,m_flow_IN_var_4[2].cp,m_flow_IN_var_4[2].eta,m_flow_IN_var_4[2].lambda,m_flow_IN_var_4[2].rho,m_flow_IN_var_4[3].cp,m_flow_IN_var_4[3].eta,m_flow_IN_var_4[3].lambda,m_flow_IN_var_4[3].rho,mflow_test,n,rho[1],rho[2],rho[3],s,time