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_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.001826/0.001826, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002235/0.002235, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.474/1.474, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 32.81 MB / 294.1 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.91 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3567, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00401/0.3607, allocations: 2.104 MB / 0.4962 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3626, allocations: 0.9931 MB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.3627, allocations: 0 / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.3631, allocations: 72.69 kB / 0.4973 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.3634, allocations: 96.75 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3638, allocations: 124.7 kB / 0.4975 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.364, allocations: 181.3 kB / 0.4977 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.3641, allocations: 13.69 kB / 0.4977 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3643, allocations: 78.08 kB / 0.4978 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3644, allocations: 80.67 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.3645, allocations: 5.75 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.3648, allocations: 133.9 kB / 0.498 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.3649, allocations: 30.19 kB / 0.498 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.3649, allocations: 64.89 kB / 0.4981 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.3654, allocations: 304.7 kB / 0.4983 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3654, allocations: 0 / 0.4983 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3654, allocations: 0 / 0.4983 GB, free: 28.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.3654, allocations: 0 / 0.4983 GB, free: 28.82 MB / 446.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.0006439/0.3661, allocations: 436.1 kB / 0.4988 GB, free: 28.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3661, allocations: 9.656 kB / 0.4988 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.3662, allocations: 22.36 kB / 0.4988 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3664, allocations: 166.8 kB / 0.499 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3664, allocations: 15.31 kB / 0.499 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.3664, allocations: 20.94 kB / 0.499 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.3669, allocations: 237.8 kB / 0.4992 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3669, allocations: 0 / 0.4992 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.367, allocations: 11.03 kB / 0.4992 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.367, allocations: 6.562 kB / 0.4992 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.3675, allocations: 251.8 kB / 0.4995 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3686, allocations: 0.5164 MB / 0.5 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.369, allocations: 99.05 kB / 0.5001 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3692, allocations: 42.05 kB / 0.5001 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.3692, allocations: 0 / 0.5001 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3693, allocations: 33.75 kB / 0.5001 GB, free: 27.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3693, allocations: 0 / 0.5001 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007253/0.37, allocations: 161.3 kB / 0.5003 GB, free: 27.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.37, allocations: 58.47 kB / 0.5004 GB, free: 27.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3702, allocations: 203.9 kB / 0.5005 GB, free: 27.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3702, allocations: 25.7 kB / 0.5006 GB, free: 27.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.3703, allocations: 193.5 kB / 0.5008 GB, free: 27.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3703, allocations: 30.66 kB / 0.5008 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.3704, allocations: 55.69 kB / 0.5008 GB, free: 27.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.3705, allocations: 329.3 kB / 0.5012 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.3707, allocations: 54.03 kB / 0.5012 GB, free: 26.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3709, allocations: 142 kB / 0.5013 GB, free: 26.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3713, allocations: 215.7 kB / 0.5015 GB, free: 26.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3713, allocations: 0 / 0.5015 GB, free: 26.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006372/0.3719, allocations: 236.2 kB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3719, allocations: 6.344 kB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3719, allocations: 6.766 kB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3719, allocations: 3.312 kB / 0.5018 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.3725, allocations: 82.17 kB / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006379/0.3731, allocations: 1.222 MB / 0.5031 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.3734, allocations: 28.47 kB / 0.5031 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3734, allocations: 20.28 kB / 0.5031 GB, free: 25.11 MB / 446.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.0001301/0.3735, allocations: 132.4 kB / 0.5032 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.3736, allocations: 18.28 kB / 0.5032 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.3742, allocations: 165.9 kB / 0.5034 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3742, allocations: 3.219 kB / 0.5034 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3742, allocations: 0 / 0.5034 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3742, allocations: 0 / 0.5034 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.3749, allocations: 388.7 kB / 0.5038 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3749, allocations: 0 / 0.5038 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.3753, allocations: 58.2 kB / 0.5038 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3753, allocations: 3.375 kB / 0.5038 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3753, allocations: 7.25 kB / 0.5038 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005106/0.3758, allocations: 1.213 MB / 0.505 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3758, allocations: 0 / 0.505 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.3763, allocations: 236.1 kB / 0.5053 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3763, allocations: 22.52 kB / 0.5053 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3763, allocations: 2.688 kB / 0.5053 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3766, allocations: 13.16 kB / 0.5053 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.3766, allocations: 14.03 kB / 0.5053 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3766, allocations: 5.625 kB / 0.5053 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3768, allocations: 138.9 kB / 0.5054 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3768, allocations: 3.938 kB / 0.5054 GB, free: 23.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006582/0.3774, allocations: 80.17 kB / 0.5055 GB, free: 23.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0002821/0.3777, allocations: 143.4 kB / 0.5057 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007346/0.3784, allocations: 171.5 kB / 0.5058 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3784, allocations: 0 / 0.5058 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.3788, allocations: 89.19 kB / 0.5059 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.3794, allocations: 21.22 kB / 0.5059 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.3802, allocations: 387 kB / 0.5063 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3804, allocations: 126.9 kB / 0.5064 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.522e-05/0.3805, allocations: 10.67 kB / 0.5064 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.3805, allocations: 21.47 kB / 0.5064 GB, free: 22.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3805, allocations: 0 / 0.5064 GB, free: 22.54 MB / 446.1 MB Notification: Performance of Templates: time 0.008526/0.389, allocations: 3.159 MB / 0.5095 GB, free: 22.27 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.195570893934928]