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.001013/0.001013, allocations: 95.33 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.001137/0.001138, allocations: 188.6 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.437/1.437, allocations: 223.2 MB / 241.9 MB, free: 332 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.21/0.21, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003163, allocations: 8 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, 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_KC): time 0.002747/0.1506, allocations: 2.258 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1526, allocations: 1.326 MB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.1527, allocations: 4 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.153, allocations: 91.42 kB / 475.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.1533, allocations: 111.1 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1538, allocations: 199.4 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1541, allocations: 270.1 kB / 475.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.1542, allocations: 24.73 kB / 475.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1543, allocations: 95.39 kB / 476 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1544, allocations: 119.3 kB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1545, allocations: 12 kB / 476.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008394/0.1553, allocations: 0.5578 MB / 476.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.1554, allocations: 39.72 kB / 476.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.1555, allocations: 73.52 kB / 476.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1559, allocations: 354.8 kB / 477.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1559, allocations: 0 / 477.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1559, allocations: 0 / 477.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1559, allocations: 4 kB / 477.1 MB, free: 8.125 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.0006879/0.1566, allocations: 0.5716 MB / 477.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1566, allocations: 8.031 kB / 477.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.1567, allocations: 39.53 kB / 477.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.157, allocations: 238.5 kB / 478 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.157, allocations: 24.95 kB / 478 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.1571, allocations: 39.94 kB / 478 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.1578, allocations: 0.5843 MB / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1578, allocations: 3.938 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.1579, allocations: 23.94 kB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1579, allocations: 12 kB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.1584, allocations: 341.1 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.1611, allocations: 4.043 MB / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1614, allocations: 98.53 kB / 483.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1615, allocations: 44.95 kB / 483.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.1616, allocations: 7.922 kB / 483.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1616, allocations: 30.56 kB / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.1616, allocations: 0 / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005875/0.1622, allocations: 185.2 kB / 483.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1622, allocations: 59.39 kB / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.1627, allocations: 405.7 kB / 483.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1628, allocations: 29.7 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.163, allocations: 254.9 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.163, allocations: 27.66 kB / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.163, allocations: 7.938 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1632, allocations: 350.8 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.1634, allocations: 60.62 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1637, allocations: 266.4 kB / 484.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1639, allocations: 103.8 kB / 484.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.1639, allocations: 4 kB / 484.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006128/0.1645, allocations: 352.9 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1646, allocations: 8 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1646, allocations: 8 kB / 485.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.1646, allocations: 15.95 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.1651, allocations: 115.8 kB / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007527/0.1659, allocations: 1.215 MB / 486.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.1662, allocations: 67.36 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.1662, allocations: 19.95 kB / 486.7 MB, free: 13.88 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.1664, allocations: 154.4 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1665, allocations: 39.53 kB / 486.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.1669, allocations: 176.9 kB / 487.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1669, allocations: 7.984 kB / 487.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1669, allocations: 0 / 487.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1669, allocations: 0 / 487.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.1673, allocations: 281.3 kB / 487.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1673, allocations: 0 / 487.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.1676, allocations: 63.97 kB / 487.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1676, allocations: 0 / 487.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1676, allocations: 4 kB / 487.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006548/0.1682, allocations: 1.211 MB / 488.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1683, allocations: 480 / 488.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1686, allocations: 243 kB / 488.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.1687, allocations: 112.7 kB / 489 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1688, allocations: 7.922 kB / 489 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.169, allocations: 12 kB / 489 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.169, allocations: 11.92 kB / 489 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.169, allocations: 4 kB / 489 MB, free: 11.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.1693, allocations: 275.1 kB / 489.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1694, allocations: 0 / 489.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000578/0.1699, allocations: 100 kB / 489.4 MB, free: 11.05 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004141/0.1704, allocations: 184.1 kB / 489.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005732/0.1709, allocations: 213.6 kB / 489.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.171, allocations: 0 / 489.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.1712, allocations: 83.95 kB / 489.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1716, allocations: 41.89 kB / 489.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.1726, allocations: 0.5727 MB / 490.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1729, allocations: 0.7719 MB / 491.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1731, allocations: 46.88 kB / 491.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1731, allocations: 23.44 kB / 491.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.168e-06/0.1732, allocations: 0 / 491.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01074/0.1839, allocations: 5.827 MB / 497.1 MB, free: 3.293 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