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_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.001461/0.001461, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001549/0.001549, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2328/0.2328, allocations: 44.93 MB / 358.8 MB, free: 6.055 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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.002156/0.002156, allocations: 67.89 kB / 0.4936 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3335, allocations: 65.47 MB / 0.5575 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003979/0.3375, allocations: 2.511 MB / 0.56 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3398, allocations: 1.346 MB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.34, allocations: 7.938 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.3403, allocations: 106.9 kB / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.3407, allocations: 138.9 kB / 0.5615 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.3413, allocations: 267.1 kB / 0.5618 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.3416, allocations: 278.1 kB / 0.562 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.018e-05/0.3417, allocations: 12.94 kB / 0.562 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3418, allocations: 103.3 kB / 0.5621 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.342, allocations: 123.2 kB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.342, allocations: 8 kB / 0.5623 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008239/0.3428, allocations: 451.4 kB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.3429, allocations: 35.72 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.343, allocations: 111.2 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.3437, allocations: 0.525 MB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3437, allocations: 4 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3437, allocations: 0 / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3438, allocations: 4 kB / 0.5634 GB, free: 1.41 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000864/0.3446, allocations: 0.5596 MB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3447, allocations: 12.03 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.3447, allocations: 36.7 kB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.345, allocations: 198 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.345, allocations: 29.38 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.3451, allocations: 36.12 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.3459, allocations: 0.5802 MB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3459, allocations: 3.938 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3459, allocations: 27.98 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3459, allocations: 12 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.3465, allocations: 333 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.3492, allocations: 3.903 MB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3495, allocations: 98.41 kB / 0.569 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3496, allocations: 32.95 kB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.3497, allocations: 11.98 kB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3497, allocations: 30.56 kB / 0.5691 GB, free: 11.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3497, allocations: 0 / 0.5691 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005233/0.3502, allocations: 153.4 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3503, allocations: 51.41 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3506, allocations: 300.2 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3506, allocations: 25.7 kB / 0.5696 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3508, allocations: 271.7 kB / 0.5699 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3508, allocations: 27.78 kB / 0.5699 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3509, allocations: 81.86 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3511, allocations: 334.8 kB / 0.5703 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.3512, allocations: 52.62 kB / 0.5703 GB, free: 9.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.3515, allocations: 270.3 kB / 0.5706 GB, free: 9.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.3521, allocations: 351.9 kB / 0.5709 GB, free: 8.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3521, allocations: 3.938 kB / 0.5709 GB, free: 8.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006268/0.3527, allocations: 341.4 kB / 0.5713 GB, free: 8.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3527, allocations: 8 kB / 0.5713 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3527, allocations: 4 kB / 0.5713 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3527, allocations: 12 kB / 0.5713 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.3532, allocations: 115.8 kB / 0.5714 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008393/0.3541, allocations: 1.223 MB / 0.5726 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3543, allocations: 47.77 kB / 0.5726 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.3544, allocations: 24 kB / 0.5727 GB, free: 7.176 MB / 414.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.0001612/0.3545, allocations: 145.7 kB / 0.5728 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3546, allocations: 27.75 kB / 0.5728 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.355, allocations: 171.7 kB / 0.573 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.355, allocations: 0 / 0.573 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.355, allocations: 0 / 0.573 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.355, allocations: 7.922 kB / 0.573 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.3553, allocations: 201.2 kB / 0.5732 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3553, allocations: 4 kB / 0.5732 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.3556, allocations: 55.97 kB / 0.5732 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3556, allocations: 4 kB / 0.5733 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3556, allocations: 7.938 kB / 0.5733 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007513/0.3564, allocations: 1.199 MB / 0.5744 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3564, allocations: 7.969 kB / 0.5744 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.3567, allocations: 223.2 kB / 0.5747 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.3568, allocations: 19.86 kB / 0.5747 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.3568, allocations: 4.188 kB / 0.5747 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.357, allocations: 11.98 kB / 0.5747 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.357, allocations: 11.92 kB / 0.5747 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.357, allocations: 4 kB / 0.5747 GB, free: 4.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.3572, allocations: 179.1 kB / 0.5749 GB, free: 4.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3572, allocations: 0 / 0.5749 GB, free: 4.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005554/0.3577, allocations: 135.6 kB / 0.575 GB, free: 4.672 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 (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.0003965/0.3581, allocations: 175 kB / 0.5752 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.3588, allocations: 200.8 kB / 0.5754 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3588, allocations: 4 kB / 0.5754 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.3591, allocations: 79.89 kB / 0.5754 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3594, allocations: 24.05 kB / 0.5755 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.3604, allocations: 0.4929 MB / 0.5759 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3605, allocations: 160.8 kB / 0.5761 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3606, allocations: 29.92 kB / 0.5761 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.3607, allocations: 15.44 kB / 0.5761 GB, free: 3.453 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3607, allocations: 4 kB / 0.5761 GB, free: 3.449 MB / 414.1 MB Notification: Performance of Templates: time 0.01173/0.3724, allocations: 5.808 MB / 0.5818 GB, free: 13.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.576680241152644]