Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 46.96 MB / 361.6 MB, free: 3.98 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.89 kB / 0.4974 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 66.04 MB / 0.5619 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003612/0.3528, allocations: 2.097 MB / 0.5639 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3546, allocations: 0.9915 MB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.3547, allocations: 0 / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.355, allocations: 79.41 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.3553, allocations: 95.31 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3556, allocations: 119.2 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3558, allocations: 186.8 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.3559, allocations: 8.594 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3561, allocations: 79.53 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3562, allocations: 91.42 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3562, allocations: 4 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.3565, allocations: 135.8 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.3566, allocations: 35.78 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.3567, allocations: 59.55 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.3571, allocations: 306.6 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3571, allocations: 0 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3571, allocations: 0 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3571, allocations: 0 / 0.566 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006834/0.3578, allocations: 437.5 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3579, allocations: 8.031 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.3579, allocations: 24.8 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.3581, allocations: 159.7 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3582, allocations: 20.81 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.3582, allocations: 28.12 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.3587, allocations: 231.2 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3587, allocations: 3.938 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3587, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3587, allocations: 8 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.3592, allocations: 253.6 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.3601, allocations: 0.5271 MB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.3604, allocations: 86.56 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3606, allocations: 44.92 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3606, allocations: 4 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3606, allocations: 30.56 kB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.3606, allocations: 0 / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005608/0.3612, allocations: 165.5 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3612, allocations: 55.41 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3614, allocations: 203.7 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3614, allocations: 29.53 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3616, allocations: 183.8 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3616, allocations: 31.75 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.3617, allocations: 49.66 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3619, allocations: 330.8 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.362, allocations: 51.97 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3622, allocations: 151.7 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.3627, allocations: 208.6 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3627, allocations: 0 / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004972/0.3632, allocations: 229.4 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3632, allocations: 11.94 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3632, allocations: 4 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3632, allocations: 4 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.3636, allocations: 87.89 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008812/0.3645, allocations: 1.22 MB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3647, allocations: 31.89 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3647, allocations: 12 kB / 0.5708 GB, free: 10.63 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3649, allocations: 139 kB / 0.5709 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.3649, allocations: 23.78 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.3654, allocations: 170.9 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3654, allocations: 0 / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3654, allocations: 0 / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.3654, allocations: 15.91 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3654, allocations: 0 / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3656, allocations: 7.984 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3656, allocations: 11.98 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006278/0.3663, allocations: 262.5 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005731/0.3668, allocations: 350.5 kB / 0.5717 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001375/0.367, allocations: 39.98 kB / 0.5717 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.3671, allocations: 144.1 kB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.3671, allocations: 0 / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000919/0.368, allocations: 253.4 kB / 0.5721 GB, free: 9.191 MB / 414.1 MB Notification: Performance of SimCode: time 0.001114/0.3691, allocations: 0.8267 MB / 0.5729 GB, free: 8.316 MB / 414.1 MB Notification: Performance of Templates: time 0.008319/0.3775, allocations: 3.788 MB / 0.5766 GB, free: 4.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.17370840300282]