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_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.0008411/0.0008411, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003173/0.003173, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8394/0.8394, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2211/0.2211, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.841e-05, allocations: 5.234 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.1518/0.1518, allocations: 2.103 MB / 445.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.1528, allocations: 0.9946 MB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1529, allocations: 2.5 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1531, allocations: 86.45 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1533, allocations: 90.14 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1535, allocations: 126.4 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1536, allocations: 194.6 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.1537, allocations: 9.969 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1538, allocations: 100.4 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.1539, allocations: 62.77 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1539, allocations: 5.75 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.1541, allocations: 129.2 kB / 447.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.1541, allocations: 31.16 kB / 447.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.1541, allocations: 48.5 kB / 447.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1544, allocations: 309.1 kB / 447.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1544, allocations: 0 / 447.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1544, allocations: 0 / 447.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1544, allocations: 3.469 kB / 447.8 MB, free: 42.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0003676/0.1548, allocations: 430.5 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1548, allocations: 8.688 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1548, allocations: 31.55 kB / 448.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1549, allocations: 154.9 kB / 448.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.155, allocations: 17 kB / 448.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.155, allocations: 26.5 kB / 448.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1552, allocations: 234 kB / 448.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1552, allocations: 7.938 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1552, allocations: 10.84 kB / 448.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1552, allocations: 2.906 kB / 448.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1555, allocations: 260 kB / 448.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.156, allocations: 0.5047 MB / 449.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1562, allocations: 95.11 kB / 449.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.1562, allocations: 43.56 kB / 449.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1562, allocations: 14.06 kB / 449.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.1562, allocations: 33.5 kB / 449.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1563, allocations: 2.875 kB / 449.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002877/0.1565, allocations: 156.9 kB / 449.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.1566, allocations: 51.41 kB / 449.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.1566, allocations: 200.6 kB / 450 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.1567, allocations: 29.7 kB / 450 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.1567, allocations: 183.1 kB / 450.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1567, allocations: 35.94 kB / 450.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1568, allocations: 42.62 kB / 450.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.1568, allocations: 328.5 kB / 450.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.1569, allocations: 46.66 kB / 450.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.157, allocations: 147.7 kB / 450.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1571, allocations: 210 kB / 451 MB, free: 40.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1571, allocations: 2.844 kB / 451 MB, free: 40.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002228/0.1574, allocations: 232.6 kB / 451.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1574, allocations: 9.875 kB / 451.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1574, allocations: 6.141 kB / 451.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1574, allocations: 7.312 kB / 451.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1576, allocations: 87.22 kB / 451.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002553/0.1579, allocations: 1.217 MB / 452.6 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.1579, allocations: 31.69 kB / 452.6 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1579, allocations: 11.8 kB / 452.6 MB, free: 39.04 MB / 410.7 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 (25): * Single equations (assignments): 23 * 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 5.839e-05/0.158, allocations: 138.4 kB / 452.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.158, allocations: 14.47 kB / 452.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.1582, allocations: 169 kB / 452.9 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1582, allocations: 4 kB / 452.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1582, allocations: 0 / 452.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1582, allocations: 2.969 kB / 452.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1585, allocations: 380.6 kB / 453.3 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1585, allocations: 3.938 kB / 453.3 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1586, allocations: 64.8 kB / 453.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1586, allocations: 2.875 kB / 453.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1586, allocations: 2.938 kB / 453.4 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001898/0.1588, allocations: 1.211 MB / 454.6 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1588, allocations: 12.19 kB / 454.6 MB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.159, allocations: 234.8 kB / 454.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.159, allocations: 17.72 kB / 454.8 MB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.159, allocations: 6.875 kB / 454.8 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.1591, allocations: 9.203 kB / 454.8 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1591, allocations: 13.73 kB / 454.9 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1591, allocations: 5.688 kB / 454.9 MB, free: 37.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.1592, allocations: 140.9 kB / 455 MB, free: 37.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1592, allocations: 3.938 kB / 455 MB, free: 37.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.1594, allocations: 74.64 kB / 455.1 MB, free: 37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0001645/0.1596, allocations: 139.2 kB / 455.2 MB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.1598, allocations: 168.1 kB / 455.4 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1598, allocations: 4.312 kB / 455.4 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.16, allocations: 82.98 kB / 455.5 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.1602, allocations: 17.03 kB / 455.5 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.1606, allocations: 409.4 kB / 455.9 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.606e-05/0.1607, allocations: 123.1 kB / 456 MB, free: 36.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1607, allocations: 20.09 kB / 456 MB, free: 36.46 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1607, allocations: 3.938 kB / 456 MB, free: 36.45 MB / 410.7 MB Notification: Performance of Templates: time 0.00329/0.164, allocations: 4.193 MB / 460.2 MB, free: 36.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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: 4.801131076179445]