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.001109/0.001109, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 73 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1552, allocations: 62.45 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003571/0.1588, allocations: 2.183 MB / 481.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1608, allocations: 1.406 MB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.1609, allocations: 0 / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1613, allocations: 83.58 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1615, allocations: 59.48 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.162, allocations: 179.4 kB / 483.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1622, allocations: 147 kB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.1623, allocations: 20.28 kB / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1625, allocations: 63.61 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1626, allocations: 67.58 kB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1627, allocations: 4 kB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.1632, allocations: 427.4 kB / 484.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.1633, allocations: 23.8 kB / 484.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.1634, allocations: 71.44 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.1639, allocations: 442.5 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.164, allocations: 4 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.164, allocations: 0 / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.164, allocations: 0 / 484.7 MB, free: 432 kB / 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.0007391/0.1647, allocations: 494.7 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.1648, allocations: 13.11 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.1649, allocations: 20.66 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1651, allocations: 215.9 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1651, allocations: 12.38 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.1652, allocations: 32.11 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.1656, allocations: 194.7 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1656, allocations: 3.938 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1656, allocations: 8 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1657, allocations: 4 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.166, allocations: 148.2 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.1669, allocations: 0.5831 MB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1671, allocations: 62.48 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1672, allocations: 28.95 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1673, allocations: 3.984 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1673, allocations: 42.56 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1673, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004758/0.1678, allocations: 125.4 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1679, allocations: 51.41 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1681, allocations: 262.5 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1682, allocations: 33.7 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1683, allocations: 163.7 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1683, allocations: 19.73 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.1684, allocations: 45.61 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1686, allocations: 334.8 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1687, allocations: 35.97 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1689, allocations: 124.9 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.1692, allocations: 188.6 kB / 487.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1692, allocations: 192 / 487.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004062/0.1697, allocations: 197.1 kB / 488 MB, free: 12.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1697, allocations: 8 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.1697, allocations: 12 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1697, allocations: 11.92 kB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1699, allocations: 31.98 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1699, allocations: 8.375 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.17, allocations: 39.58 kB / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.1701, allocations: 8 kB / 488.2 MB, free: 12.61 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.000151/0.1702, allocations: 125.8 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.1703, allocations: 23.75 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.1707, allocations: 138.8 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1707, allocations: 0 / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1707, allocations: 0 / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.1707, allocations: 3.984 kB / 488.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.171, allocations: 229.4 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.171, allocations: 8 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.1711, allocations: 11.98 kB / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1711, allocations: 0 / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1711, allocations: 4 kB / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1711, allocations: 0 / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1711, allocations: 0 / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.1715, allocations: 211.2 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1715, allocations: 96.77 kB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.1716, allocations: 0 / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1717, allocations: 15.98 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1718, allocations: 4 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1718, allocations: 4 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1719, allocations: 186 kB / 489.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1719, allocations: 0 / 489.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.1724, allocations: 67.94 kB / 489.3 MB, free: 11.4 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.0003575/0.1727, allocations: 176.7 kB / 489.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.1733, allocations: 171.6 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1733, allocations: 0 / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.1735, allocations: 103.8 kB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.174, allocations: 24.08 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.1748, allocations: 424.1 kB / 490.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.1752, allocations: 0.7281 MB / 490.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.1753, allocations: 21.48 kB / 490.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1753, allocations: 15.44 kB / 490.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1753, allocations: 0 / 490.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of Templates: time 0.008258/0.1836, allocations: 4.115 MB / 495 MB, free: 5.598 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/jenkins/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/jenkins/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