Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 72.12 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1416, allocations: 62.45 MB / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004673/0.1463, allocations: 2.168 MB / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.1498, allocations: 1.721 MB / 484.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.15, allocations: 0 / 484.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.1505, allocations: 83.44 kB / 484.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1509, allocations: 63.48 kB / 484.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1523, allocations: 311 kB / 484.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.1526, allocations: 151 kB / 484.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.1526, allocations: 12.31 kB / 484.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1528, allocations: 51.67 kB / 484.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1529, allocations: 63.64 kB / 484.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.153, allocations: 4 kB / 484.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.1546, allocations: 0.7802 MB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.1547, allocations: 31.78 kB / 485.6 MB, free: 164 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1548, allocations: 71.48 kB / 485.7 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008284/0.1557, allocations: 386.8 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1557, allocations: 0 / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1557, allocations: 0 / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1558, allocations: 0 / 486 MB, free: 15.71 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009086/0.1567, allocations: 0.5108 MB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1567, allocations: 9.109 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.1568, allocations: 24.66 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1571, allocations: 204.5 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1571, allocations: 20.38 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1571, allocations: 20 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.1578, allocations: 267.5 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1578, allocations: 0 / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1579, allocations: 12 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1579, allocations: 4 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.1583, allocations: 160.2 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1597, allocations: 0.9079 MB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.16, allocations: 62.55 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1601, allocations: 32.94 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.1602, allocations: 0 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1602, allocations: 34.56 kB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1602, allocations: 4 kB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005781/0.1608, allocations: 141.3 kB / 488.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1609, allocations: 55.34 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1612, allocations: 266.8 kB / 488.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1613, allocations: 29.7 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1614, allocations: 175.1 kB / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1614, allocations: 23.73 kB / 489 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.1615, allocations: 57.61 kB / 489 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1617, allocations: 326.8 kB / 489.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1619, allocations: 48.19 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.1622, allocations: 186 kB / 489.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.1628, allocations: 259.4 kB / 489.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1628, allocations: 3.938 kB / 489.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006607/0.1635, allocations: 257.6 kB / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1635, allocations: 14.5 kB / 490.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/0.1636, allocations: 12 kB / 490.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.1636, allocations: 8 kB / 490.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.1639, allocations: 51.84 kB / 490.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.1639, allocations: 11.94 kB / 490.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.1642, allocations: 35.58 kB / 490.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.1642, allocations: 20 kB / 490.2 MB, free: 11.12 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.1644, allocations: 133.7 kB / 490.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.1644, allocations: 19.81 kB / 490.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.165, allocations: 142.7 kB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.165, allocations: 7.938 kB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.165, allocations: 0 / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.165, allocations: 0 / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.1654, allocations: 217.5 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/0.1654, allocations: 19.98 kB / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.1655, allocations: 4.188 kB / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1655, allocations: 0 / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1656, allocations: 4 kB / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1656, allocations: 7.938 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1656, allocations: 0 / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.166, allocations: 207.2 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.1661, allocations: 92.86 kB / 491.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.1661, allocations: 0 / 491.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1663, allocations: 11.92 kB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.1664, allocations: 8 kB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1664, allocations: 3.938 kB / 491.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1666, allocations: 186 kB / 491.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1666, allocations: 0 / 491.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008226/0.1675, allocations: 104 kB / 491.4 MB, free: 9.871 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.0006268/0.1681, allocations: 207.2 kB / 491.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007483/0.1689, allocations: 196.4 kB / 491.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1689, allocations: 0 / 491.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.1692, allocations: 103.3 kB / 491.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1697, allocations: 24.88 kB / 491.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1708, allocations: 441.3 kB / 492.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1712, allocations: 0.7323 MB / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1712, allocations: 15.44 kB / 493.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1712, allocations: 0 / 493.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01107/0.1823, allocations: 5.12 MB / 498.2 MB, free: 2.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches