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.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.001603/0.001603, allocations: 73.48 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.00202/0.00202, allocations: 158.2 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.532/1.532, allocations: 177.2 MB / 204.9 MB, free: 9 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.2036/0.2036, allocations: 32.81 MB / 294.1 MB, free: 32 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,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.0.0_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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [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.002203/0.002203, allocations: 66.25 kB / 440.6 MB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3582, allocations: 65.44 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003474/0.3617, allocations: 2.047 MB / 0.4962 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3636, allocations: 1.259 MB / 0.4974 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.3638, allocations: 0 / 0.4974 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.3641, allocations: 81.53 kB / 0.4975 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.3644, allocations: 67.27 kB / 0.4975 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006232/0.365, allocations: 229.5 kB / 0.4978 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3651, allocations: 139.2 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.3652, allocations: 10.88 kB / 0.4979 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.3654, allocations: 66.39 kB / 0.498 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.3654, allocations: 62.48 kB / 0.498 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3655, allocations: 3.25 kB / 0.498 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.3658, allocations: 213.8 kB / 0.4982 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.3658, allocations: 25.7 kB / 0.4983 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.3659, allocations: 56.27 kB / 0.4983 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.3663, allocations: 393.7 kB / 0.4987 GB, free: 28.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3663, allocations: 0 / 0.4987 GB, free: 28.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3663, allocations: 0 / 0.4987 GB, free: 28.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3663, allocations: 0 / 0.4987 GB, free: 28.6 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005235/0.3669, allocations: 428.6 kB / 0.4991 GB, free: 28.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3669, allocations: 13.77 kB / 0.4991 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.367, allocations: 22.36 kB / 0.4991 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3671, allocations: 158.9 kB / 0.4993 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3671, allocations: 17.53 kB / 0.4993 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3671, allocations: 17.75 kB / 0.4993 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.3674, allocations: 205.8 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3675, allocations: 0 / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3675, allocations: 11.94 kB / 0.4995 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3675, allocations: 6.531 kB / 0.4995 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.3678, allocations: 153.3 kB / 0.4997 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.3685, allocations: 481.4 kB / 0.5001 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3687, allocations: 61.81 kB / 0.5002 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3688, allocations: 35.44 kB / 0.5002 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3688, allocations: 0 / 0.5002 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3689, allocations: 33.56 kB / 0.5003 GB, free: 27.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.3689, allocations: 0 / 0.5003 GB, free: 27.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004456/0.3693, allocations: 125.1 kB / 0.5004 GB, free: 27.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.3693, allocations: 54.31 kB / 0.5004 GB, free: 27.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3695, allocations: 196.2 kB / 0.5006 GB, free: 27.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3695, allocations: 33.64 kB / 0.5007 GB, free: 27.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.3696, allocations: 177.9 kB / 0.5008 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3696, allocations: 30.22 kB / 0.5009 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3696, allocations: 40.42 kB / 0.5009 GB, free: 26.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.3697, allocations: 325.5 kB / 0.5012 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3698, allocations: 37.78 kB / 0.5012 GB, free: 26.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.37, allocations: 134.8 kB / 0.5014 GB, free: 26.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3702, allocations: 186.8 kB / 0.5015 GB, free: 26.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3702, allocations: 3.094 kB / 0.5015 GB, free: 26.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003306/0.3706, allocations: 190.8 kB / 0.5017 GB, free: 26.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3706, allocations: 6.281 kB / 0.5017 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.3706, allocations: 16.16 kB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3706, allocations: 3.25 kB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3707, allocations: 37.17 kB / 0.5018 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3707, allocations: 3.094 kB / 0.5018 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3709, allocations: 24.89 kB / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.3709, allocations: 13.69 kB / 0.5018 GB, free: 26.25 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 (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 8.007e-05/0.371, allocations: 135.3 kB / 0.502 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.371, allocations: 14.36 kB / 0.502 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.3713, allocations: 137.8 kB / 0.5021 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3713, allocations: 144 / 0.5021 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3713, allocations: 3.422 kB / 0.5021 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3713, allocations: 7.984 kB / 0.5021 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3715, allocations: 163.2 kB / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.3715, allocations: 9.656 kB / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.3715, allocations: 6.672 kB / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3715, allocations: 0 / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3715, allocations: 7.094 kB / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3715, allocations: 0 / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3716, allocations: 0 / 0.5023 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3718, allocations: 205 kB / 0.5025 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3718, allocations: 15.09 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.3718, allocations: 0 / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.3719, allocations: 10.02 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.372, allocations: 3.219 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.372, allocations: 3.422 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.155e-05/0.372, allocations: 135.1 kB / 0.5026 GB, free: 25.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.372, allocations: 3.938 kB / 0.5027 GB, free: 25.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.3724, allocations: 80.3 kB / 0.5027 GB, free: 25.59 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 (3): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002422/0.3727, allocations: 167.5 kB / 0.5029 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3731, allocations: 165.1 kB / 0.503 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3731, allocations: 0 / 0.503 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.3732, allocations: 99.53 kB / 0.5031 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3736, allocations: 21.31 kB / 0.5032 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.3741, allocations: 366.5 kB / 0.5035 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.3742, allocations: 119.8 kB / 0.5036 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3742, allocations: 6.516 kB / 0.5036 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.3742, allocations: 15.53 kB / 0.5036 GB, free: 24.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3742, allocations: 0 / 0.5036 GB, free: 24.97 MB / 446.1 MB Notification: Performance of Templates: time 0.006812/0.3811, allocations: 3.505 MB / 0.5071 GB, free: 24.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.137762091006152]