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.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.00165/0.00165, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002022/0.002022, allocations: 209 kB / 24.47 MB, free: 3.941 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2301/0.2301, allocations: 46.96 MB / 361.6 MB, free: 4.051 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,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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 75.89 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003706/0.3291, allocations: 2.046 MB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3313, allocations: 1.253 MB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.3314, allocations: 0 / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.3318, allocations: 79.47 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.3319, allocations: 71.41 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.3326, allocations: 217.8 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3327, allocations: 143 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.3328, allocations: 12.59 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.333, allocations: 71.59 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3331, allocations: 59.59 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3332, allocations: 4 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.3336, allocations: 211.7 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3336, allocations: 23.75 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.3337, allocations: 51.62 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.3343, allocations: 390.3 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3343, allocations: 0 / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3343, allocations: 0 / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3343, allocations: 0 / 0.5663 GB, free: 15.54 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007043/0.335, allocations: 437 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3351, allocations: 11.97 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.3351, allocations: 24.8 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3353, allocations: 158.1 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3354, allocations: 16.36 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3354, allocations: 20.12 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.3358, allocations: 202.7 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3358, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3358, allocations: 11.98 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3359, allocations: 8 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.3362, allocations: 152.2 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.3371, allocations: 486.5 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3373, allocations: 54.55 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3374, allocations: 32.89 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3374, allocations: 4 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3375, allocations: 34.56 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3375, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005464/0.338, allocations: 133.5 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3381, allocations: 51.41 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3383, allocations: 194.8 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3383, allocations: 25.7 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3385, allocations: 179.9 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3385, allocations: 27.78 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.3386, allocations: 41.7 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3387, allocations: 330.8 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3389, allocations: 35.97 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3391, allocations: 132.8 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.3394, allocations: 180.6 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3394, allocations: 0 / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004424/0.3399, allocations: 197.2 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3399, allocations: 6.5 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.3399, allocations: 12.44 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3399, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.3401, allocations: 43.84 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3401, allocations: 4.188 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3402, allocations: 31.84 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3402, allocations: 11.98 kB / 0.5695 GB, free: 12.05 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.0001288/0.3404, allocations: 129.7 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.3404, allocations: 11.95 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.3408, allocations: 142.5 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3408, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3408, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3408, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.341, allocations: 165.1 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/0.3411, allocations: 12 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.3411, allocations: 11.94 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3411, allocations: 3.984 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3411, allocations: 4 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3411, allocations: 0 / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3411, allocations: 0 / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.3415, allocations: 199.4 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.3415, allocations: 11.91 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3415, allocations: 0 / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.3416, allocations: 7.984 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3416, allocations: 11.98 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3417, allocations: 4 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3418, allocations: 128.2 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3418, allocations: 0 / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.3422, allocations: 87.69 kB / 0.5704 GB, free: 11.07 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.0003358/0.3425, allocations: 171.1 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.343, allocations: 168.1 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.343, allocations: 0 / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.3432, allocations: 95.38 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3436, allocations: 19.53 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.3444, allocations: 390.5 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3445, allocations: 120.6 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.3445, allocations: 23.38 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3445, allocations: 0 / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.007661/0.3522, allocations: 4.239 MB / 0.5755 GB, free: 5.793 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.100157951936126]