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.00111/0.00111, allocations: 106.5 kB / 18.45 MB, free: 4.602 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.001362/0.001362, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.419/1.419, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.204/0.204, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3453, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002845/0.3482, allocations: 2.118 MB / 0.5217 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3499, allocations: 1.377 MB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.35, allocations: 1.125 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.3504, allocations: 82.92 kB / 0.5231 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.3505, allocations: 66.2 kB / 0.5232 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.351, allocations: 213.4 kB / 0.5234 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3512, allocations: 151 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.3512, allocations: 18.12 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3514, allocations: 56.33 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.3515, allocations: 64.91 kB / 0.5236 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3515, allocations: 4.594 kB / 0.5236 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.3521, allocations: 433 kB / 0.5241 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.3521, allocations: 20.83 kB / 0.5241 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.3522, allocations: 74.03 kB / 0.5241 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.3527, allocations: 433.5 kB / 0.5246 GB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3528, allocations: 1.031 kB / 0.5246 GB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3528, allocations: 0 / 0.5246 GB, free: 412 kB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3528, allocations: 0 / 0.5246 GB, free: 412 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.0005448/0.3533, allocations: 0.494 MB / 0.525 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3534, allocations: 8.125 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.3535, allocations: 26.53 kB / 0.5251 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.3537, allocations: 214.9 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3537, allocations: 15.59 kB / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3537, allocations: 18.5 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.3541, allocations: 205.2 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3541, allocations: 0 / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3541, allocations: 5.641 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3541, allocations: 9.812 kB / 0.5255 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.3544, allocations: 147.6 kB / 0.5257 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.3553, allocations: 0.569 MB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3555, allocations: 67.27 kB / 0.5263 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3556, allocations: 31.75 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.3557, allocations: 4.562 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3557, allocations: 31.94 kB / 0.5263 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3557, allocations: 0 / 0.5263 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004908/0.3562, allocations: 137.8 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3563, allocations: 57.47 kB / 0.5265 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3566, allocations: 259.8 kB / 0.5268 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3566, allocations: 29.7 kB / 0.5268 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3567, allocations: 169.5 kB / 0.527 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3568, allocations: 15.61 kB / 0.527 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.3568, allocations: 36.98 kB / 0.527 GB, free: 14.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.357, allocations: 334.5 kB / 0.5273 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3571, allocations: 41.92 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3573, allocations: 128.4 kB / 0.5275 GB, free: 14.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.3576, allocations: 183.3 kB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3576, allocations: 5.031 kB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003962/0.358, allocations: 198.9 kB / 0.5279 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3581, allocations: 10.94 kB / 0.5279 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.3581, allocations: 10.97 kB / 0.5279 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3581, allocations: 5.219 kB / 0.5279 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3583, allocations: 34.91 kB / 0.5279 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3583, allocations: 8.719 kB / 0.5279 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.3584, allocations: 35.44 kB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.3585, allocations: 9.5 kB / 0.528 GB, free: 13.73 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.0001238/0.3586, allocations: 137.9 kB / 0.5281 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3587, allocations: 17.47 kB / 0.5281 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.3591, allocations: 134.7 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3591, allocations: 1.719 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.3591, allocations: 7 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.3592, allocations: 98.5 kB / 0.5284 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3592, allocations: 1.344 kB / 0.5284 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3593, allocations: 14.59 kB / 0.5284 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3594, allocations: 12.45 kB / 0.5284 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002948/0.3597, allocations: 169.6 kB / 0.5286 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003222/0.36, allocations: 283.8 kB / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001118/0.3601, allocations: 32.7 kB / 0.5289 GB, free: 12.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3603, allocations: 179.6 kB / 0.529 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3603, allocations: 0 / 0.529 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.3611, allocations: 293.4 kB / 0.5293 GB, free: 12.65 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008733/0.362, allocations: 0.8721 MB / 0.5302 GB, free: 11.86 MB / 398.1 MB Notification: Performance of Templates: time 0.007514/0.3696, allocations: 3.968 MB / 0.534 GB, free: 9.898 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