Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002115/0.002115, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.901/1.901, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3026/0.3026, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 76.66 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1462, allocations: 62.45 MB / 480 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004696/0.1509, allocations: 2.183 MB / 482.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.154, allocations: 1.429 MB / 483.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.1542, allocations: 4 kB / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.1548, allocations: 83.56 kB / 483.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.1551, allocations: 51.5 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.156, allocations: 183.4 kB / 483.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.1564, allocations: 159 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.1565, allocations: 12.31 kB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.1568, allocations: 71.53 kB / 484.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.157, allocations: 55.66 kB / 484.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.157, allocations: 4 kB / 484.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.158, allocations: 431.3 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1581, allocations: 23.84 kB / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1582, allocations: 75.44 kB / 484.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.1588, allocations: 283 kB / 485 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1588, allocations: 0 / 485 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1589, allocations: 4 kB / 485 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1589, allocations: 0 / 485 MB, free: 0.6445 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009141/0.1598, allocations: 498.6 kB / 485.5 MB, free: 112 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1599, allocations: 9.953 kB / 485.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.16, allocations: 28.59 kB / 485.5 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1603, allocations: 208 kB / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.1603, allocations: 20.36 kB / 485.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.1604, allocations: 20.12 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.1608, allocations: 202.7 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1609, allocations: 0 / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1609, allocations: 7.938 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.1609, allocations: 8 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.1613, allocations: 152.2 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1625, allocations: 0.5791 MB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1627, allocations: 58.56 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1629, allocations: 32.94 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.1629, allocations: 4 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.163, allocations: 30.56 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.163, allocations: 0 / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005115/0.1635, allocations: 141.3 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1636, allocations: 51.41 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.1639, allocations: 254.6 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1639, allocations: 29.7 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1641, allocations: 167.6 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1641, allocations: 23.73 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.1642, allocations: 41.61 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1643, allocations: 334.8 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1645, allocations: 35.98 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.1647, allocations: 135.2 kB / 488 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.1651, allocations: 180.6 kB / 488.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.1651, allocations: 4 kB / 488.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004772/0.1656, allocations: 197.1 kB / 488.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1656, allocations: 8 kB / 488.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/0.1657, allocations: 12 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.1657, allocations: 4 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1659, allocations: 32.36 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/0.1659, allocations: 7.984 kB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1661, allocations: 39.53 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1661, allocations: 12 kB / 488.5 MB, free: 12.83 MB / 366.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.1663, allocations: 133.7 kB / 488.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.1664, allocations: 15.81 kB / 488.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.1669, allocations: 138.8 kB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1669, allocations: 4 kB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1669, allocations: 192 / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1669, allocations: 4 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.1673, allocations: 229.4 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/0.1673, allocations: 12 kB / 489 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.1674, allocations: 11.98 kB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1674, allocations: 3.938 kB / 489 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1675, allocations: 4 kB / 489 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1675, allocations: 0 / 489 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1675, allocations: 0 / 489 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1678, allocations: 199.3 kB / 489.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.1679, allocations: 96.81 kB / 489.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.168, allocations: 8 kB / 489.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1681, allocations: 3.984 kB / 489.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1682, allocations: 4 kB / 489.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1682, allocations: 4 kB / 489.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1684, allocations: 182 kB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1684, allocations: 3.938 kB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.1689, allocations: 75.94 kB / 489.6 MB, free: 11.62 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004415/0.1693, allocations: 167.3 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.1699, allocations: 167.2 kB / 489.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1699, allocations: 0 / 489.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1701, allocations: 108.3 kB / 490 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.1706, allocations: 28 kB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.1715, allocations: 444.7 kB / 490.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.172, allocations: 0.7323 MB / 491.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1721, allocations: 15.44 kB / 491.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1721, allocations: 0 / 491.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of Templates: time 0.008655/0.1808, allocations: 4.417 MB / 495.6 MB, free: 5.484 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches