Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 190 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3175, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002966/0.3205, allocations: 2.109 MB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3221, allocations: 1.377 MB / 0.523 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.3222, allocations: 0 / 0.523 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.3225, allocations: 85.75 kB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3227, allocations: 73.41 kB / 0.5232 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.3232, allocations: 209.2 kB / 0.5234 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3234, allocations: 150.4 kB / 0.5235 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.3234, allocations: 22.05 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3236, allocations: 56.58 kB / 0.5236 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.3237, allocations: 55.31 kB / 0.5236 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3237, allocations: 6.203 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.3244, allocations: 424.5 kB / 0.524 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.3244, allocations: 29.42 kB / 0.5241 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.3245, allocations: 70.38 kB / 0.5241 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.3251, allocations: 436.9 kB / 0.5246 GB, free: 432 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3251, allocations: 0 / 0.5246 GB, free: 432 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3251, allocations: 3.938 kB / 0.5246 GB, free: 428 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3251, allocations: 4 kB / 0.5246 GB, free: 424 kB / 382.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.0005789/0.3257, allocations: 0.4967 MB / 0.525 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3258, allocations: 7.25 kB / 0.5251 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.3258, allocations: 24.45 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.326, allocations: 213.3 kB / 0.5253 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3261, allocations: 15.56 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3261, allocations: 19.75 kB / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.3265, allocations: 208.6 kB / 0.5255 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3265, allocations: 3.984 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3265, allocations: 11.75 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3265, allocations: 2.656 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.3268, allocations: 149.6 kB / 0.5257 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.3278, allocations: 0.5769 MB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.328, allocations: 63.12 kB / 0.5263 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3281, allocations: 30.78 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.3281, allocations: 1.719 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3282, allocations: 32.38 kB / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3282, allocations: 0 / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004564/0.3286, allocations: 147.2 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.3287, allocations: 51.41 kB / 0.5265 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.3289, allocations: 259.3 kB / 0.5268 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3289, allocations: 27.11 kB / 0.5268 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.329, allocations: 164.6 kB / 0.527 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3291, allocations: 19.92 kB / 0.527 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3291, allocations: 37.84 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3293, allocations: 341.9 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3294, allocations: 33.92 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3296, allocations: 132.2 kB / 0.5275 GB, free: 14.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.33, allocations: 180.3 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.33, allocations: 1.375 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003982/0.3304, allocations: 207.2 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3304, allocations: 6.875 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.3305, allocations: 12.38 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3305, allocations: 4.125 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3306, allocations: 29.92 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.3306, allocations: 5.5 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3308, allocations: 38.72 kB / 0.528 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3308, allocations: 9.625 kB / 0.528 GB, free: 13.76 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 0.0001233/0.3309, allocations: 142 kB / 0.5281 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.331, allocations: 21.48 kB / 0.5281 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.3313, allocations: 135.2 kB / 0.5283 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3314, allocations: 5.375 kB / 0.5283 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.3314, allocations: 8.25 kB / 0.5283 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.3314, allocations: 97.03 kB / 0.5284 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3315, allocations: 5.359 kB / 0.5284 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3316, allocations: 16 kB / 0.5284 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3317, allocations: 10.67 kB / 0.5284 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002864/0.3319, allocations: 174.4 kB / 0.5286 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003166/0.3323, allocations: 284.1 kB / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001056/0.3324, allocations: 28.47 kB / 0.5289 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.3325, allocations: 179.4 kB / 0.529 GB, free: 12.87 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3325, allocations: 0 / 0.529 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009507/0.3335, allocations: 294.3 kB / 0.5293 GB, free: 12.66 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008756/0.3344, allocations: 0.8732 MB / 0.5302 GB, free: 11.86 MB / 398.1 MB Notification: Performance of Templates: time 0.007884/0.3423, allocations: 3.984 MB / 0.5341 GB, free: 9.891 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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