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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 109.9 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.001257/0.001257, allocations: 185.9 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.366/1.366, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2066/0.2066, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3473, 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_roundTube): time 0.002893/0.3502, allocations: 2.093 MB / 0.5216 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3523, allocations: 1.657 MB / 0.5233 GB, free: 1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.3524, allocations: 1.062 kB / 0.5233 GB, free: 1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3527, allocations: 104.8 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3529, allocations: 68.98 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.3536, allocations: 344.2 kB / 0.5238 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3538, allocations: 145.5 kB / 0.5239 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.3539, allocations: 14.83 kB / 0.5239 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.3539, allocations: 54.11 kB / 0.524 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.354, allocations: 55.59 kB / 0.524 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3541, allocations: 2.875 kB / 0.524 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3552, allocations: 0.7736 MB / 0.5248 GB, free: 372 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.3553, allocations: 27.92 kB / 0.5248 GB, free: 356 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.3554, allocations: 72.25 kB / 0.5249 GB, free: 312 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3561, allocations: 0.5701 MB / 0.5254 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3561, allocations: 0 / 0.5254 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3562, allocations: 0 / 0.5254 GB, free: 56 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3562, allocations: 0 / 0.5254 GB, free: 56 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000669/0.3568, allocations: 0.5073 MB / 0.5259 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3569, allocations: 16.19 kB / 0.5259 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.3569, allocations: 23.66 kB / 0.526 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3571, allocations: 205.9 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3572, allocations: 20.62 kB / 0.5262 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3572, allocations: 16.38 kB / 0.5262 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.3576, allocations: 270 kB / 0.5265 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3576, allocations: 0 / 0.5265 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3577, allocations: 14.14 kB / 0.5265 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.3577, allocations: 5.312 kB / 0.5265 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.358, allocations: 155.6 kB / 0.5266 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.359, allocations: 0.9125 MB / 0.5275 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.3592, allocations: 59.05 kB / 0.5276 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3593, allocations: 28.52 kB / 0.5276 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.3593, allocations: 5.219 kB / 0.5276 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3594, allocations: 39.7 kB / 0.5276 GB, free: 14.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.3594, allocations: 0 / 0.5276 GB, free: 14.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004479/0.3598, allocations: 131.5 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3599, allocations: 55.34 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3601, allocations: 266.2 kB / 0.5281 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3602, allocations: 29.7 kB / 0.5281 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3603, allocations: 176.8 kB / 0.5283 GB, free: 13.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3603, allocations: 19.83 kB / 0.5283 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.3604, allocations: 54.23 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3605, allocations: 332.3 kB / 0.5287 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3607, allocations: 42.33 kB / 0.5287 GB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.3609, allocations: 194.6 kB / 0.5289 GB, free: 12.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.3613, allocations: 253.4 kB / 0.5291 GB, free: 12.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3613, allocations: 1.375 kB / 0.5291 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004713/0.3618, allocations: 255.5 kB / 0.5294 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3618, allocations: 12.23 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.3618, allocations: 12.41 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3618, allocations: 7.594 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.362, allocations: 46.23 kB / 0.5294 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.362, allocations: 14.39 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.3622, allocations: 50.28 kB / 0.5295 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3622, allocations: 25.44 kB / 0.5295 GB, free: 12.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001176/0.3624, allocations: 136.6 kB / 0.5297 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3624, allocations: 16.81 kB / 0.5297 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.3628, allocations: 140.1 kB / 0.5298 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3628, allocations: 0 / 0.5298 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.3628, allocations: 16.06 kB / 0.5298 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.3629, allocations: 93.72 kB / 0.5299 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.363, allocations: 0.9062 kB / 0.5299 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3631, allocations: 7.609 kB / 0.5299 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3631, allocations: 3.906 kB / 0.5299 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003055/0.3634, allocations: 177.7 kB / 0.5301 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003445/0.3638, allocations: 279.2 kB / 0.5304 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001421/0.3639, allocations: 28.78 kB / 0.5304 GB, free: 11.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3641, allocations: 188.6 kB / 0.5306 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3641, allocations: 0 / 0.5306 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3652, allocations: 345.9 kB / 0.5309 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 0.00098/0.3662, allocations: 0.8771 MB / 0.5318 GB, free: 10.58 MB / 398.1 MB Notification: Performance of Templates: time 0.01148/0.3777, allocations: 6.207 MB / 0.5378 GB, free: 7.512 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Re,m_flow[1],m_flow[4],Nu[1],Nu[4],input_Re.y Variables in the result:A_fr,D_c_1,D_c_4,F_p_1,F_p_4,N_1,N_4,Nu[1],Nu[4],P_l_1,P_l_4,P_t_1,P_t_4,Re,cp,delta_f,eta,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[4],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_c,m_flow_IN_con_1.F_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.delta_f,m_flow_IN_con_4.A_fr,m_flow_IN_con_4.D_c,m_flow_IN_con_4.F_p,m_flow_IN_con_4.P_t,m_flow_IN_con_4.delta_f,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_4.cp,m_flow_IN_var_4.eta,m_flow_IN_var_4.lambda,m_flow_IN_var_4.rho,n,rho,time