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_roundTube_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.001752/0.001752, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.00211/0.00211, allocations: 160 kB / 24.5 MB, free: 3.715 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.2152/0.2152, allocations: 34.27 MB / 295.5 MB, free: 14.57 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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003095/0.003095, allocations: 63.89 kB / 443.2 MB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3026, allocations: 66.01 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002842/0.3054, allocations: 2.516 MB / 0.4997 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3072, allocations: 1.351 MB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3073, allocations: 3.25 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3076, allocations: 104.3 kB / 0.5012 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3079, allocations: 147.2 kB / 0.5013 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.3084, allocations: 261.5 kB / 0.5015 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.3086, allocations: 281.8 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.3087, allocations: 14.44 kB / 0.5018 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.3087, allocations: 102 kB / 0.5019 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3089, allocations: 127.7 kB / 0.502 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.3089, allocations: 6.438 kB / 0.502 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.3096, allocations: 450.1 kB / 0.5025 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.3096, allocations: 41.16 kB / 0.5025 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.3097, allocations: 105.5 kB / 0.5026 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.3102, allocations: 0.5192 MB / 0.5031 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3102, allocations: 1.688 kB / 0.5031 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3102, allocations: 0 / 0.5031 GB, free: 26.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3102, allocations: 4 kB / 0.5031 GB, free: 26.35 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0005926/0.3108, allocations: 0.5654 MB / 0.5037 GB, free: 25.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.3109, allocations: 9.688 kB / 0.5037 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.3109, allocations: 46.17 kB / 0.5037 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3111, allocations: 197 kB / 0.5039 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3111, allocations: 24.78 kB / 0.5039 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3111, allocations: 38.19 kB / 0.504 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.3116, allocations: 0.5842 MB / 0.5046 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3117, allocations: 11.11 kB / 0.5046 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3117, allocations: 18.44 kB / 0.5046 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3117, allocations: 12.47 kB / 0.5046 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.3121, allocations: 345.1 kB / 0.5049 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3135, allocations: 3.89 MB / 0.5087 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.3138, allocations: 101.1 kB / 0.5088 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3139, allocations: 33.84 kB / 0.5089 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3139, allocations: 3.125 kB / 0.5089 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3139, allocations: 30.56 kB / 0.5089 GB, free: 21.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3139, allocations: 0 / 0.5089 GB, free: 21.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004607/0.3144, allocations: 151.5 kB / 0.509 GB, free: 21.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.3144, allocations: 58.25 kB / 0.5091 GB, free: 21.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3146, allocations: 301.9 kB / 0.5094 GB, free: 20.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3146, allocations: 25.7 kB / 0.5094 GB, free: 20.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.3147, allocations: 268.5 kB / 0.5097 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3147, allocations: 33.41 kB / 0.5097 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.3148, allocations: 76.39 kB / 0.5098 GB, free: 20.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.3148, allocations: 331.6 kB / 0.5101 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.315, allocations: 59.66 kB / 0.5101 GB, free: 20.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3152, allocations: 260.8 kB / 0.5104 GB, free: 19.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.3155, allocations: 359.9 kB / 0.5107 GB, free: 19.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3155, allocations: 6.938 kB / 0.5107 GB, free: 19.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000494/0.316, allocations: 342.2 kB / 0.5111 GB, free: 19.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.316, allocations: 6.094 kB / 0.5111 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.316, allocations: 9.125 kB / 0.5111 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3161, allocations: 9 kB / 0.5111 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.3165, allocations: 110.5 kB / 0.5112 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004213/0.3169, allocations: 1.215 MB / 0.5124 GB, free: 18.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3171, allocations: 54.05 kB / 0.5124 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3172, allocations: 21.53 kB / 0.5124 GB, free: 18.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001024/0.3173, allocations: 149.4 kB / 0.5126 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.3173, allocations: 31.84 kB / 0.5126 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.3177, allocations: 161.1 kB / 0.5128 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3177, allocations: 0 / 0.5128 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3177, allocations: 0 / 0.5128 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3177, allocations: 3.938 kB / 0.5128 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3178, allocations: 205 kB / 0.513 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3178, allocations: 3.031 kB / 0.513 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3181, allocations: 52.89 kB / 0.513 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3181, allocations: 7.328 kB / 0.513 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3181, allocations: 10.94 kB / 0.513 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003956/0.3185, allocations: 1.199 MB / 0.5142 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3185, allocations: 3.938 kB / 0.5142 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3188, allocations: 228 kB / 0.5144 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.3188, allocations: 21.22 kB / 0.5145 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3189, allocations: 0 / 0.5145 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.319, allocations: 10.69 kB / 0.5145 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.3191, allocations: 14.06 kB / 0.5145 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3191, allocations: 6.297 kB / 0.5145 GB, free: 16.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3192, allocations: 176.2 kB / 0.5146 GB, free: 16.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3192, allocations: 0 / 0.5146 GB, free: 16.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.3197, allocations: 141.4 kB / 0.5148 GB, free: 16.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 5 * 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.0003265/0.32, allocations: 182.1 kB / 0.515 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.3205, allocations: 204.5 kB / 0.5152 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3205, allocations: 0 / 0.5152 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.3208, allocations: 73.53 kB / 0.5152 GB, free: 16.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3212, allocations: 18.56 kB / 0.5152 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.3219, allocations: 0.5022 MB / 0.5157 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.322, allocations: 158.7 kB / 0.5159 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.144e-05/0.3221, allocations: 27.44 kB / 0.5159 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.3222, allocations: 18.59 kB / 0.5159 GB, free: 15.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3222, allocations: 4 kB / 0.5159 GB, free: 15.65 MB / 446.1 MB Notification: Performance of Templates: time 0.0117/0.3339, allocations: 5.445 MB / 0.5212 GB, free: 15.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.463614145992324]