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.002041/0.002041, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002445/0.002445, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.558/1.558, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2376/0.2376, allocations: 46.92 MB / 357.1 MB, free: 10.32 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_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 0.002088/0.002088, allocations: 59.91 kB / 0.4914 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1545, allocations: 65.99 MB / 0.5559 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004419/0.159, allocations: 2.213 MB / 0.558 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1609, allocations: 1.094 MB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.161, allocations: 7.875 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.1614, allocations: 95.36 kB / 0.5592 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1617, allocations: 91.33 kB / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1621, allocations: 115.5 kB / 0.5594 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1623, allocations: 182.8 kB / 0.5596 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.1624, allocations: 8.406 kB / 0.5596 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.1626, allocations: 83.53 kB / 0.5597 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1628, allocations: 87.48 kB / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1628, allocations: 8 kB / 0.5598 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.1633, allocations: 263.6 kB / 0.56 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.1634, allocations: 27.8 kB / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.851e-05/0.1635, allocations: 87.33 kB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.164, allocations: 330.5 kB / 0.5604 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.164, allocations: 0 / 0.5604 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.164, allocations: 0 / 0.5604 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.164, allocations: 0 / 0.5604 GB, free: 0.6328 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008561/0.1648, allocations: 0.4987 MB / 0.5609 GB, free: 84 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1649, allocations: 16.02 kB / 0.5609 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.165, allocations: 24.8 kB / 0.561 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1653, allocations: 216 kB / 0.5612 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1653, allocations: 16.81 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1653, allocations: 24.12 kB / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.1658, allocations: 227.2 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1658, allocations: 7.938 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1659, allocations: 4 kB / 0.5614 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1659, allocations: 8 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.1664, allocations: 249.5 kB / 0.5617 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1675, allocations: 0.6197 MB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1678, allocations: 102.6 kB / 0.5624 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.168, allocations: 44.86 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.168, allocations: 0 / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.168, allocations: 30.56 kB / 0.5625 GB, free: 14.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.168, allocations: 4 kB / 0.5625 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.00061/0.1686, allocations: 173.7 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1687, allocations: 55.5 kB / 0.5627 GB, free: 14.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.169, allocations: 270.9 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.169, allocations: 25.7 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1692, allocations: 179.3 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.1692, allocations: 31.73 kB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.1693, allocations: 53.66 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1695, allocations: 338.8 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1697, allocations: 51.97 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.1699, allocations: 143 kB / 0.5637 GB, free: 13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.1703, allocations: 208.6 kB / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.1704, allocations: 4 kB / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005228/0.1709, allocations: 241.5 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1709, allocations: 4 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1709, allocations: 4 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/0.1709, allocations: 4 kB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.1714, allocations: 83.89 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009455/0.1723, allocations: 1.223 MB / 0.5654 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1725, allocations: 35.7 kB / 0.5655 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.1726, allocations: 16 kB / 0.5655 GB, free: 11.09 MB / 430.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 (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 0.0001678/0.1727, allocations: 129.7 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1728, allocations: 27.81 kB / 0.5656 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.1733, allocations: 175.3 kB / 0.5658 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1733, allocations: 0 / 0.5658 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1733, allocations: 0 / 0.5658 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1733, allocations: 0 / 0.5658 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.1741, allocations: 456 kB / 0.5662 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1741, allocations: 0 / 0.5662 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.1744, allocations: 59.91 kB / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1744, allocations: 0 / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1744, allocations: 4 kB / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.1753, allocations: 1.219 MB / 0.5675 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1753, allocations: 0 / 0.5675 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.1757, allocations: 245.2 kB / 0.5677 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.1758, allocations: 101.1 kB / 0.5678 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.1758, allocations: 4 kB / 0.5678 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.176, allocations: 11.92 kB / 0.5678 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.1761, allocations: 11.94 kB / 0.5678 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1761, allocations: 11.98 kB / 0.5679 GB, free: 8.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.1763, allocations: 182 kB / 0.568 GB, free: 8.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1763, allocations: 4 kB / 0.568 GB, free: 8.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.1767, allocations: 71.86 kB / 0.5681 GB, free: 8.242 MB / 430.1 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.0003221/0.177, allocations: 139.2 kB / 0.5682 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.1777, allocations: 163.7 kB / 0.5684 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1777, allocations: 0.875 kB / 0.5684 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.178, allocations: 92 kB / 0.5685 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1783, allocations: 31.94 kB / 0.5685 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.1792, allocations: 394.5 kB / 0.5689 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1797, allocations: 0.7363 MB / 0.5696 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.1798, allocations: 17.94 kB / 0.5696 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.1798, allocations: 23.44 kB / 0.5696 GB, free: 6.586 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1798, allocations: 0 / 0.5696 GB, free: 6.586 MB / 430.1 MB Notification: Performance of Templates: time 0.009215/0.189, allocations: 3.591 MB / 0.5732 GB, free: 3.039 MB / 430.1 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: 5.567142691463232]