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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.0009048, allocations: 94.2 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008798/0.0008799, allocations: 179.5 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004405, allocations: 8.938 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1559, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003905/0.1599, allocations: 2.35 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1624, allocations: 1.5 MB / 476.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1625, allocations: 4 kB / 476.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1629, allocations: 99.39 kB / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.1633, allocations: 119.1 kB / 476.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.1638, allocations: 195.4 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.1641, allocations: 286.1 kB / 476.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.1642, allocations: 20.73 kB / 476.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1643, allocations: 99.34 kB / 476.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.1645, allocations: 127.2 kB / 477.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1645, allocations: 4 kB / 477.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.1653, allocations: 0.5812 MB / 477.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.1654, allocations: 43.66 kB / 477.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1655, allocations: 164.7 kB / 477.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.1662, allocations: 0.5213 MB / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1662, allocations: 0 / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1662, allocations: 0 / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1662, allocations: 0 / 478.4 MB, free: 7.215 MB / 350.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.0007262/0.1669, allocations: 0.5716 MB / 478.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.167, allocations: 16.03 kB / 479 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.1671, allocations: 40.47 kB / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1673, allocations: 243.7 kB / 479.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1674, allocations: 29.38 kB / 479.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.1674, allocations: 36.12 kB / 479.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.1684, allocations: 0.5843 MB / 479.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1684, allocations: 7.938 kB / 479.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1685, allocations: 16 kB / 479.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1685, allocations: 12 kB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.1693, allocations: 345 kB / 480.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.1726, allocations: 4.043 MB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.1731, allocations: 98.53 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1733, allocations: 40.95 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1733, allocations: 4 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1734, allocations: 30.56 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.1734, allocations: 3.938 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007932/0.1742, allocations: 189.1 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1742, allocations: 55.41 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.1748, allocations: 409.8 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1749, allocations: 25.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1751, allocations: 247 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1752, allocations: 31.64 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.1753, allocations: 33.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1754, allocations: 354.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.1757, allocations: 68.55 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.1761, allocations: 266.4 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.1769, allocations: 371.8 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1769, allocations: 4 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008624/0.1777, allocations: 353.6 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.1778, allocations: 8 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.1778, allocations: 16.08 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.1778, allocations: 12 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.1785, allocations: 115.8 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/0.1795, allocations: 1.223 MB / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.1799, allocations: 67.27 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.18, allocations: 20 kB / 488.3 MB, free: 12.55 MB / 366.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.0002113/0.1802, allocations: 141.7 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.1803, allocations: 43.45 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.181, allocations: 185 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.181, allocations: 8 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.181, allocations: 0 / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.181, allocations: 0 / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.1814, allocations: 277.5 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1815, allocations: 3.938 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.1818, allocations: 51.98 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1819, allocations: 0 / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.1819, allocations: 7.984 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008591/0.1827, allocations: 1.207 MB / 490.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1828, allocations: 0 / 490.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.1833, allocations: 255.2 kB / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1834, allocations: 104.6 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.1835, allocations: 11.86 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1838, allocations: 8 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.1838, allocations: 7.984 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1839, allocations: 8 kB / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003826/0.1843, allocations: 275.1 kB / 490.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1843, allocations: 0 / 490.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000778/0.1851, allocations: 108 kB / 490.9 MB, free: 9.727 MB / 366.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.0005284/0.1856, allocations: 175.7 kB / 491.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.1865, allocations: 208.7 kB / 491.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1865, allocations: 0 / 491.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.1869, allocations: 88.83 kB / 491.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.1876, allocations: 45.83 kB / 491.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1888, allocations: 0.6118 MB / 492.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.1893, allocations: 0.7719 MB / 492.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.1895, allocations: 34.95 kB / 492.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.1896, allocations: 23.44 kB / 492.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1896, allocations: 0 / 492.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of Templates: time 0.01351/0.2031, allocations: 5.92 MB / 498.8 MB, free: 1.848 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (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) 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) Reference file matches