Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 95.34 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.8 MB / 246.9 MB, free: 9.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.21 MB / 345.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8 kB / 419.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 63.57 MB / 483.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003396/0.1435, allocations: 2.371 MB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.1463, allocations: 1.547 MB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.1465, allocations: 0 / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.1469, allocations: 103.4 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.1473, allocations: 111.1 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.1479, allocations: 215.4 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.1483, allocations: 278 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.1484, allocations: 24.73 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1485, allocations: 95.41 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1488, allocations: 135.1 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1488, allocations: 4 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1499, allocations: 0.6046 MB / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.15, allocations: 35.7 kB / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1502, allocations: 160.7 kB / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.1509, allocations: 0.5447 MB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.151, allocations: 0 / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.151, allocations: 0 / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.151, allocations: 4 kB / 489.4 MB, free: 13.77 MB / 366.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.0008635/0.1519, allocations: 0.5811 MB / 490 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1519, allocations: 8.875 kB / 490 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.152, allocations: 40.47 kB / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.1523, allocations: 243.7 kB / 490.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.1524, allocations: 29.38 kB / 490.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.1524, allocations: 44.12 kB / 490.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.1533, allocations: 0.5765 MB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1533, allocations: 7.938 kB / 490.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1534, allocations: 23.98 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1534, allocations: 8 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.154, allocations: 341 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.1576, allocations: 4.043 MB / 495.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.1579, allocations: 106.5 kB / 495.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1581, allocations: 44.94 kB / 495.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.1581, allocations: 0 / 495.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1582, allocations: 34.56 kB / 495.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1582, allocations: 4 kB / 495.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006069/0.1588, allocations: 181.1 kB / 495.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.1589, allocations: 51.41 kB / 495.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.1594, allocations: 413.8 kB / 496.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1594, allocations: 25.7 kB / 496.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1597, allocations: 254.9 kB / 496.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1597, allocations: 31.64 kB / 496.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.1598, allocations: 29.7 kB / 496.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.1601, allocations: 354.7 kB / 496.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1603, allocations: 64.61 kB / 496.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.1607, allocations: 262.4 kB / 497.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.1613, allocations: 371.8 kB / 497.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1613, allocations: 0 / 497.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007835/0.1621, allocations: 365.1 kB / 497.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.1622, allocations: 8 kB / 497.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.1622, allocations: 11.98 kB / 497.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/0.1622, allocations: 8 kB / 497.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.1628, allocations: 116.4 kB / 498 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1639, allocations: 1.219 MB / 499.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.1642, allocations: 67.27 kB / 499.3 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.1643, allocations: 24.19 kB / 499.3 MB, free: 3.086 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.0002111/0.1645, allocations: 150.3 kB / 499.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.1646, allocations: 47.39 kB / 499.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.1651, allocations: 180.9 kB / 499.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1652, allocations: 3.938 kB / 499.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1652, allocations: 0 / 499.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1652, allocations: 0 / 499.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.1656, allocations: 269.5 kB / 500 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.1656, allocations: 15.92 kB / 500 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.1659, allocations: 47.98 kB / 0.4883 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1659, allocations: 4 kB / 0.4883 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.166, allocations: 3.984 kB / 0.4883 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.167, allocations: 1.207 MB / 0.4895 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.167, allocations: 4.031 kB / 0.4895 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.1675, allocations: 247.1 kB / 0.4897 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1676, allocations: 104.6 kB / 0.4898 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.1677, allocations: 7.922 kB / 0.4898 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1678, allocations: 11.94 kB / 0.4899 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.1679, allocations: 7.984 kB / 0.4899 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1679, allocations: 8 kB / 0.4899 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.1683, allocations: 271.1 kB / 0.4901 GB, free: 380 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1683, allocations: 0 / 0.4901 GB, free: 380 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.169, allocations: 112 kB / 0.4902 GB, free: 268 kB / 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.0005015/0.1695, allocations: 187.1 kB / 0.4904 GB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.1702, allocations: 221.7 kB / 0.4906 GB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1702, allocations: 0 / 0.4906 GB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.1705, allocations: 83.78 kB / 0.4907 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1709, allocations: 33.95 kB / 0.4907 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.172, allocations: 0.6118 MB / 0.4913 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.1725, allocations: 0.7719 MB / 0.4921 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1726, allocations: 38.95 kB / 0.4921 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.1727, allocations: 23.44 kB / 0.4921 GB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.324e-06/0.1727, allocations: 0 / 0.4921 GB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01354/0.1862, allocations: 6.084 MB / 0.4981 GB, free: 8.215 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches