Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 117.9 kB / 18.46 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 206.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003489/0.3123, allocations: 2.129 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3141, allocations: 1.419 MB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3142, allocations: 1.375 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3145, allocations: 90.8 kB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3146, allocations: 55.69 kB / 0.5353 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.3151, allocations: 217.3 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3153, allocations: 150.1 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.3154, allocations: 12.56 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3155, allocations: 59.86 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3156, allocations: 70.3 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3157, allocations: 3.281 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.3163, allocations: 440.3 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.3163, allocations: 20.58 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.3164, allocations: 70.98 kB / 0.5363 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.3169, allocations: 437.7 kB / 0.5367 GB, free: 9.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3169, allocations: 0 / 0.5367 GB, free: 9.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.317, allocations: 5.062 kB / 0.5367 GB, free: 9.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.317, allocations: 0 / 0.5367 GB, free: 9.691 MB / 398.1 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.0005901/0.3176, allocations: 0.4968 MB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3176, allocations: 9.203 kB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.3177, allocations: 24.06 kB / 0.5372 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3179, allocations: 213.3 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3179, allocations: 12.03 kB / 0.5374 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3179, allocations: 19.44 kB / 0.5375 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3183, allocations: 201.1 kB / 0.5377 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3183, allocations: 0 / 0.5377 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3183, allocations: 5.281 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3183, allocations: 4.781 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3186, allocations: 162.5 kB / 0.5378 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.3194, allocations: 0.5693 MB / 0.5384 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.3196, allocations: 62.11 kB / 0.5384 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3197, allocations: 33.78 kB / 0.5385 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3197, allocations: 5.188 kB / 0.5385 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3198, allocations: 31.66 kB / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3198, allocations: 0 / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004269/0.3202, allocations: 136.2 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.3202, allocations: 51.41 kB / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.3205, allocations: 266.5 kB / 0.5389 GB, free: 7.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3205, allocations: 26.86 kB / 0.539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.3206, allocations: 167.3 kB / 0.5391 GB, free: 7.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3206, allocations: 19.14 kB / 0.5391 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.3207, allocations: 40.83 kB / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3208, allocations: 336.1 kB / 0.5395 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.321, allocations: 37.59 kB / 0.5395 GB, free: 7.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.3211, allocations: 130.5 kB / 0.5397 GB, free: 7.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.3214, allocations: 177.7 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3214, allocations: 1.219 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003821/0.3218, allocations: 203.1 kB / 0.54 GB, free: 6.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3219, allocations: 7.188 kB / 0.54 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.3219, allocations: 15 kB / 0.54 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3219, allocations: 9.688 kB / 0.5401 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.322, allocations: 30.7 kB / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3221, allocations: 8.219 kB / 0.5401 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3222, allocations: 39.77 kB / 0.5401 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3222, allocations: 8.438 kB / 0.5401 GB, free: 6.762 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/0.3223, allocations: 131.1 kB / 0.5403 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3224, allocations: 20.25 kB / 0.5403 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.3227, allocations: 143.6 kB / 0.5404 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3228, allocations: 1.438 kB / 0.5404 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.3228, allocations: 7.125 kB / 0.5404 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.3228, allocations: 98.58 kB / 0.5405 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.3229, allocations: 3.984 kB / 0.5405 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.323, allocations: 12.41 kB / 0.5405 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.323, allocations: 2.875 kB / 0.5405 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000305/0.3233, allocations: 174.6 kB / 0.5407 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003133/0.3237, allocations: 286.7 kB / 0.541 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000107/0.3238, allocations: 28.81 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3239, allocations: 180.3 kB / 0.5412 GB, free: 5.887 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.3239, allocations: 0 / 0.5412 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008186/0.3248, allocations: 292.9 kB / 0.5415 GB, free: 5.684 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008412/0.3256, allocations: 0.8603 MB / 0.5423 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Templates: time 0.008451/0.3341, allocations: 4.111 MB / 0.5463 GB, free: 2.301 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_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.delta_f,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.alpha,m_flow_IN_con_2.delta,m_flow_IN_con_2.gamma,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,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.rho,n,rho,time