Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.236/0.236, allocations: 46.89 MB / 361.1 MB, free: 4.656 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 79.86 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3205, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003493/0.324, allocations: 2.152 MB / 0.5633 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3262, allocations: 1.432 MB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.3262, allocations: 0 / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.3266, allocations: 83.44 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3267, allocations: 71.38 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.3273, allocations: 211.1 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3275, allocations: 151 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3276, allocations: 12.31 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3277, allocations: 67.55 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3279, allocations: 59.64 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3279, allocations: 4 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006618/0.3285, allocations: 443.3 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.3286, allocations: 23.8 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.843e-05/0.3287, allocations: 67.55 kB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.3293, allocations: 442.3 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3293, allocations: 0 / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3293, allocations: 4 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3293, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.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.0006955/0.33, allocations: 0.4981 MB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3301, allocations: 8.031 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.3301, allocations: 24.8 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3304, allocations: 216 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.3304, allocations: 12.38 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.3304, allocations: 20.12 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.3308, allocations: 202.7 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3308, allocations: 4 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3308, allocations: 4 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3308, allocations: 4 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.3312, allocations: 156.2 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/0.3321, allocations: 0.5715 MB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.3323, allocations: 62.55 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.3324, allocations: 32.95 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3324, allocations: 0 / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3325, allocations: 30.56 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3325, allocations: 0 / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004766/0.3329, allocations: 141.4 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.333, allocations: 51.41 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.3333, allocations: 262.6 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3333, allocations: 25.7 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3334, allocations: 175.9 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3334, allocations: 15.84 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.3335, allocations: 45.66 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3336, allocations: 338.8 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.3338, allocations: 39.97 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.334, allocations: 127.3 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.3343, allocations: 188.6 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3343, allocations: 4 kB / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004169/0.3347, allocations: 197.5 kB / 0.5696 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3347, allocations: 8 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.3348, allocations: 12 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3348, allocations: 7.938 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3349, allocations: 39.91 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3349, allocations: 4 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.3351, allocations: 27.78 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3351, allocations: 12 kB / 0.5697 GB, free: 11.97 MB / 414.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.0001257/0.3352, allocations: 137.7 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.3353, allocations: 19.86 kB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.3356, allocations: 134.9 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3356, allocations: 0 / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.3357, allocations: 16.14 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.3357, allocations: 100.9 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3358, allocations: 192 / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3359, allocations: 11.94 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3359, allocations: 11.92 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003241/0.3362, allocations: 172.9 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003582/0.3366, allocations: 278.7 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001222/0.3367, allocations: 31.91 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3369, allocations: 182 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.3369, allocations: 0 / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008822/0.3378, allocations: 285.9 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 0.001084/0.3389, allocations: 0.8804 MB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of Templates: time 0.008871/0.3477, allocations: 4.085 MB / 0.5759 GB, free: 5.551 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 5.105559455230832]