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.0008976/0.0008977, allocations: 94.3 kB / 17 MB, free: 6.418 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.001011/0.00101, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.48/1.48, allocations: 223.3 MB / 241.9 MB, free: 308 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.2234/0.2234, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 8 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 61.92 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002249/0.1477, allocations: 1.746 MB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1499, allocations: 1.544 MB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.15, allocations: 0 / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1503, allocations: 79.56 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1504, allocations: 55.48 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.1511, allocations: 263.1 kB / 475.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1513, allocations: 155 kB / 475.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.1514, allocations: 20.23 kB / 475.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.1514, allocations: 47.75 kB / 475.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1516, allocations: 63.58 kB / 475.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1516, allocations: 4 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1527, allocations: 0.7216 MB / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.1528, allocations: 31.83 kB / 476.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1529, allocations: 53.58 kB / 476.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.1534, allocations: 354.9 kB / 476.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1534, allocations: 4 kB / 476.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.516 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.0006614/0.1541, allocations: 487 kB / 477.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1541, allocations: 12.03 kB / 477.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1542, allocations: 19.72 kB / 477.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1544, allocations: 207.3 kB / 477.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1544, allocations: 24.39 kB / 477.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.1545, allocations: 19.94 kB / 477.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.155, allocations: 271.4 kB / 477.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.155, allocations: 0 / 477.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.155, allocations: 12 kB / 477.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.155, allocations: 8 kB / 477.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1553, allocations: 164.2 kB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1564, allocations: 0.8964 MB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1566, allocations: 74.48 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1567, allocations: 36.94 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1568, allocations: 4 kB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1568, allocations: 30.56 kB / 479 MB, free: 6.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1568, allocations: 4 kB / 479 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004382/0.1572, allocations: 153.3 kB / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1573, allocations: 51.41 kB / 479.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1576, allocations: 270.9 kB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1576, allocations: 29.64 kB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1577, allocations: 194.8 kB / 479.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1578, allocations: 15.8 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.1578, allocations: 4 kB / 479.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1579, allocations: 334.8 kB / 480 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1581, allocations: 52.2 kB / 480.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1583, allocations: 188.1 kB / 480.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1585, allocations: 79.91 kB / 480.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.1585, allocations: 4 kB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004379/0.1589, allocations: 257.6 kB / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1589, allocations: 8 kB / 480.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.159, allocations: 16.06 kB / 480.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.159, allocations: 8 kB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1592, allocations: 55.84 kB / 480.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1592, allocations: 4 kB / 480.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1593, allocations: 51.52 kB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1594, allocations: 16 kB / 480.7 MB, free: 4.199 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.000116/0.1595, allocations: 138.3 kB / 480.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1596, allocations: 23.7 kB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.1599, allocations: 150.8 kB / 481 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.16, allocations: 4 kB / 481 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.16, allocations: 3.938 kB / 481 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.16, allocations: 0 / 481 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1602, allocations: 217.6 kB / 481.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.1602, allocations: 11.98 kB / 481.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.1603, allocations: 16 kB / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1603, allocations: 0 / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1603, allocations: 0 / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1603, allocations: 7.984 kB / 481.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1603, allocations: 0 / 481.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1606, allocations: 215.4 kB / 481.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1607, allocations: 96.78 kB / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.1608, allocations: 7.984 kB / 481.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.1609, allocations: 8 kB / 481.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1609, allocations: 7.984 kB / 481.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1609, allocations: 0 / 481.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1611, allocations: 182 kB / 481.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1611, allocations: 4 kB / 481.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.1616, allocations: 99.92 kB / 481.9 MB, free: 2.926 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.0004174/0.162, allocations: 192.1 kB / 482.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.1625, allocations: 204.5 kB / 482.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1625, allocations: 0 / 482.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.1627, allocations: 111.3 kB / 482.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1631, allocations: 17.27 kB / 482.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.1638, allocations: 423.2 kB / 482.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1642, allocations: 0.7365 MB / 483.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.593e-05/0.1643, allocations: 25.94 kB / 483.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1643, allocations: 19.38 kB / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1643, allocations: 0 / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Templates: time 0.01086/0.1752, allocations: 5.873 MB / 489.5 MB, free: 11.29 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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