Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002455/0.00246, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 94.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6055/0.6055, allocations: 43.54 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.00049, allocations: 20 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1295, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003047/0.1326, allocations: 1.716 MB / 491.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.1353, allocations: 1.252 MB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1355, allocations: 4 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.1359, allocations: 71.62 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1361, allocations: 63.8 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.137, allocations: 175.5 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.1372, allocations: 115.7 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.1373, allocations: 20.28 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1375, allocations: 51.72 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1376, allocations: 59.64 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1377, allocations: 4 kB / 493.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1387, allocations: 427.5 kB / 494.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.1387, allocations: 19.91 kB / 494.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.1388, allocations: 53.58 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.1394, allocations: 243.4 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1394, allocations: 0 / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1394, allocations: 0 / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1394, allocations: 0 / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008304/0.1403, allocations: 478.5 kB / 494.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1403, allocations: 11.97 kB / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.1404, allocations: 27.67 kB / 495 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1407, allocations: 206.7 kB / 495.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1407, allocations: 12 kB / 495.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1408, allocations: 16 kB / 495.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.1414, allocations: 210.6 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1414, allocations: 0 / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1414, allocations: 12 kB / 495.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1415, allocations: 4 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.142, allocations: 164.2 kB / 495.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1432, allocations: 0.5637 MB / 496.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.1435, allocations: 70.55 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1436, allocations: 4 kB / 496.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1436, allocations: 38.53 kB / 496.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.006e-06/0.1436, allocations: 0 / 496.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008785/0.1445, allocations: 303.6 kB / 496.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1446, allocations: 55.41 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.145, allocations: 258.6 kB / 496.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.145, allocations: 25.7 kB / 496.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1452, allocations: 218.1 kB / 497.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.1452, allocations: 27.64 kB / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.1452, allocations: 4 kB / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1454, allocations: 318.8 kB / 497.5 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.1456, allocations: 35.97 kB / 497.5 MB, free: 3.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.1459, allocations: 148.2 kB / 497.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.1462, allocations: 59.91 kB / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1462, allocations: 4 kB / 497.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006595/0.1469, allocations: 193.6 kB / 497.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1469, allocations: 4 kB / 497.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.902e-05/0.147, allocations: 15.98 kB / 497.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.147, allocations: 4 kB / 497.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1472, allocations: 31.98 kB / 497.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.1473, allocations: 11.89 kB / 497.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1475, allocations: 39.77 kB / 498 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.1476, allocations: 16.19 kB / 498 MB, free: 3.113 MB / 378.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: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000156/0.1477, allocations: 133.7 kB / 498.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.1478, allocations: 15.81 kB / 498.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.1485, allocations: 158.7 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1485, allocations: 4 kB / 498.3 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1485, allocations: 0 / 498.3 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1485, allocations: 3.953 kB / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.1489, allocations: 221.6 kB / 498.5 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/0.149, allocations: 8 kB / 498.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.1491, allocations: 11.98 kB / 498.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1491, allocations: 0 / 498.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1491, allocations: 0 / 498.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1491, allocations: 0 / 498.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1491, allocations: 0 / 498.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.1497, allocations: 227.1 kB / 498.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.1498, allocations: 88.92 kB / 498.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.1498, allocations: 3.984 kB / 498.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.15, allocations: 12 kB / 498.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.1501, allocations: 12.17 kB / 498.9 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1501, allocations: 0 / 498.9 MB, free: 2.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.1504, allocations: 174 kB / 499.1 MB, free: 1.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1504, allocations: 0 / 499.1 MB, free: 1.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005614/0.1509, allocations: 79.92 kB / 499.1 MB, free: 1.875 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0004414/0.1514, allocations: 163.1 kB / 499.3 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007219/0.1521, allocations: 187.5 kB / 499.5 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1521, allocations: 0 / 499.5 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1526, allocations: 111.8 kB / 499.6 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1529, allocations: 28.83 kB / 499.6 MB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.1539, allocations: 439 kB / 0.4883 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1543, allocations: 0.7323 MB / 0.489 GB, free: 144 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.1544, allocations: 15.44 kB / 0.4891 GB, free: 128 kB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1544, allocations: 4 kB / 0.4891 GB, free: 124 kB / 378.7 MB Notification: Performance of Templates: time 0.3197/0.4741, allocations: 4.272 MB / 0.4932 GB, free: 42.51 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Re,m_flow[1],m_flow[2],Nu[1],Nu[2],input_Re.y Variables in the result:A_fr,D_h_2,D_m_1,D_m_2,F_l_1,F_p_1,L_l_1,L_p_1,Nu[1],Nu[2],Phi_1,Re,T_d_1,T_p_1,alpha_2,cp,delta_2,delta_f_1,eta,gamma_2,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_h,m_flow_IN_con_1.D_m,m_flow_IN_con_1.F_l,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L_l,m_flow_IN_con_1.L_p,m_flow_IN_con_1.Phi,m_flow_IN_con_1.T_d,m_flow_IN_con_1.T_p,m_flow_IN_con_1.alpha,m_flow_IN_con_1.delta,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.gamma,m_flow_IN_con_1.geometry,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_h,m_flow_IN_con_2.D_m,m_flow_IN_con_2.F_l,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L_l,m_flow_IN_con_2.L_p,m_flow_IN_con_2.Phi,m_flow_IN_con_2.T_d,m_flow_IN_con_2.T_p,m_flow_IN_con_2.alpha,m_flow_IN_con_2.delta,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.gamma,m_flow_IN_con_2.geometry,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.m_flow,m_flow_IN_var_1.rho,m_flow_IN_var_2.cp,m_flow_IN_var_2.eta,m_flow_IN_var_2.lambda,m_flow_IN_var_2.m_flow,m_flow_IN_var_2.rho,n,rho,time