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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") 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: 89.98 kB / 16.98 MB, free: 5.938 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.0009862/0.0009864, allocations: 185.5 kB / 17.87 MB, free: 5.594 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.385/1.385, allocations: 223.2 MB / 241.8 MB, free: 380 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.1985/0.1985, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002572/0.1503, allocations: 1.681 MB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1526, allocations: 1.489 MB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1527, allocations: 0 / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.153, allocations: 79.61 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1532, allocations: 63.75 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008662/0.1541, allocations: 271.2 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1543, allocations: 111.8 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.1543, allocations: 16.25 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.1544, allocations: 51.72 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1545, allocations: 59.64 kB / 475.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1546, allocations: 7.938 kB / 475.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.1556, allocations: 0.749 MB / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1557, allocations: 19.91 kB / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1557, allocations: 57.58 kB / 476.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.1562, allocations: 323.3 kB / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1562, allocations: 0 / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1562, allocations: 0 / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1562, allocations: 0 / 476.4 MB, free: 8.766 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006771/0.1569, allocations: 491 kB / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1569, allocations: 12.03 kB / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.157, allocations: 19.72 kB / 476.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1572, allocations: 213.5 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.1573, allocations: 20.39 kB / 477.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1573, allocations: 19.98 kB / 477.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.1577, allocations: 263.5 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1578, allocations: 0 / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1578, allocations: 12 kB / 477.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1578, allocations: 7.984 kB / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.1582, allocations: 176.2 kB / 477.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1592, allocations: 0.9042 MB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1594, allocations: 66.55 kB / 478.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1595, allocations: 8 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1595, allocations: 30.56 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.1595, allocations: 0 / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.1601, allocations: 311.6 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1601, allocations: 51.41 kB / 479 MB, free: 5.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1604, allocations: 270.9 kB / 479.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1604, allocations: 25.7 kB / 479.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1606, allocations: 182.8 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1606, allocations: 23.73 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.1606, allocations: 4 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1608, allocations: 334.8 kB / 479.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.1609, allocations: 48.19 kB / 479.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.1612, allocations: 192.1 kB / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1614, allocations: 79.86 kB / 480.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1614, allocations: 0 / 480.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004592/0.1618, allocations: 269.3 kB / 480.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1619, allocations: 4 kB / 480.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.1619, allocations: 19.98 kB / 480.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1619, allocations: 8 kB / 480.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1621, allocations: 51.84 kB / 480.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1621, allocations: 4 kB / 480.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1623, allocations: 55.8 kB / 480.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.1623, allocations: 16 kB / 480.5 MB, free: 4.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1624, allocations: 138.2 kB / 480.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1625, allocations: 19.72 kB / 480.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.1629, allocations: 150.8 kB / 480.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1629, allocations: 4 kB / 480.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1629, allocations: 4 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1629, allocations: 0 / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.1631, allocations: 217.6 kB / 481.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.1632, allocations: 11.95 kB / 481.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.1632, allocations: 11.98 kB / 481.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1632, allocations: 0 / 481.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1632, allocations: 192 / 481.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1633, allocations: 4 kB / 481.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1633, allocations: 4 kB / 481.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1636, allocations: 223.1 kB / 481.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.1637, allocations: 96.78 kB / 481.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1637, allocations: 0 / 481.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1638, allocations: 15.98 kB / 481.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1639, allocations: 4 kB / 481.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1639, allocations: 0 / 481.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1641, allocations: 182 kB / 481.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1641, allocations: 0 / 481.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004655/0.1645, allocations: 107.9 kB / 481.7 MB, free: 3.016 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.1649, allocations: 192.3 kB / 481.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.1654, allocations: 200.5 kB / 482.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1654, allocations: 4 kB / 482.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.1656, allocations: 115.3 kB / 482.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1659, allocations: 20.83 kB / 482.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1665, allocations: 415.3 kB / 482.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1668, allocations: 0.7404 MB / 483.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.647e-05/0.1669, allocations: 29.88 kB / 483.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.167, allocations: 15.44 kB / 483.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.167, allocations: 0 / 483.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of Templates: time 0.01022/0.1772, allocations: 5.756 MB / 489.2 MB, free: 11.49 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches