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.001346/0.001346, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001583/0.001583, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.2189/0.2189, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.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.002074/0.002074, allocations: 67.89 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 65.46 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003552/0.3051, allocations: 2.15 MB / 0.5604 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3072, allocations: 1.436 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.3073, allocations: 0 / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3076, allocations: 83.44 kB / 0.5619 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3078, allocations: 71.36 kB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.3083, allocations: 217.8 kB / 0.5621 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.3085, allocations: 147 kB / 0.5623 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.3086, allocations: 16.58 kB / 0.5623 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3087, allocations: 59.66 kB / 0.5624 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3089, allocations: 67.53 kB / 0.5624 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3089, allocations: 4 kB / 0.5624 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.3095, allocations: 435.4 kB / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.3096, allocations: 23.8 kB / 0.5629 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.3097, allocations: 71.48 kB / 0.5629 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.3102, allocations: 446.2 kB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3103, allocations: 0 / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3103, allocations: 0 / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3103, allocations: 0 / 0.5634 GB, free: 2.516 MB / 398.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.0006406/0.3109, allocations: 429.1 kB / 0.5638 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3109, allocations: 11.98 kB / 0.5638 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.311, allocations: 32.78 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3112, allocations: 158.1 kB / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3112, allocations: 12.38 kB / 0.564 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3112, allocations: 24.12 kB / 0.564 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.3116, allocations: 198.7 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3116, allocations: 0 / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3117, allocations: 15.94 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3117, allocations: 4 kB / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.312, allocations: 152.2 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.3129, allocations: 0.5484 MB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3131, allocations: 58.55 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3132, allocations: 28.95 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.3132, allocations: 7.984 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3132, allocations: 30.56 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3132, allocations: 0 / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004603/0.3137, allocations: 137.4 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3137, allocations: 55.34 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.314, allocations: 261.8 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.314, allocations: 25.7 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3141, allocations: 167.9 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3142, allocations: 15.91 kB / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.3142, allocations: 41.84 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3144, allocations: 338.6 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3145, allocations: 39.91 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.3147, allocations: 136.8 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.3151, allocations: 180.8 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3151, allocations: 4 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004077/0.3155, allocations: 201.2 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3155, allocations: 8 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/0.3155, allocations: 15.98 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3156, allocations: 4.438 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3157, allocations: 31.92 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3157, allocations: 8 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3158, allocations: 35.77 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3158, allocations: 8 kB / 0.5666 GB, free: 14.87 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.0001261/0.316, allocations: 137.6 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.316, allocations: 19.86 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.3164, allocations: 142.9 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3164, allocations: 0 / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3164, allocations: 3.984 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3164, allocations: 0 / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3167, allocations: 188.6 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.3167, allocations: 12 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.3167, allocations: 11.98 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3167, allocations: 144 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3167, allocations: 4 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3167, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3168, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.3171, allocations: 211.3 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3171, allocations: 27.86 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3171, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3172, allocations: 7.984 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.3173, allocations: 7.938 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.3173, allocations: 4 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3175, allocations: 181.2 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3175, allocations: 3.938 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.3179, allocations: 79.73 kB / 0.5676 GB, free: 13.77 MB / 414.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.0003129/0.3182, allocations: 175 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.3186, allocations: 167.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3186, allocations: 0.875 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.3189, allocations: 103.4 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3192, allocations: 20.64 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.3199, allocations: 394.4 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3203, allocations: 0.732 MB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3203, allocations: 15.44 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3203, allocations: 0 / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Templates: time 0.007209/0.3275, allocations: 4.465 MB / 0.5735 GB, free: 7.633 MB / 414.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 -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: 8.059422651072964]