Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000798/0.0007982, allocations: 97.28 kB / 17.35 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008581/0.0008582, allocations: 205.8 kB / 18.29 MB, free: 5.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 11.98 kB / 419.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002781/0.1568, allocations: 1.603 MB / 484.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1582, allocations: 0.8297 MB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.1583, allocations: 3.938 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.1585, allocations: 43.8 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1588, allocations: 75.62 kB / 485.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1591, allocations: 83.78 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.1595, allocations: 366.6 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.1596, allocations: 24.39 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1598, allocations: 91.52 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.16, allocations: 131.4 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1601, allocations: 8 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1603, allocations: 119.8 kB / 486.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-05/0.1604, allocations: 63.67 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1606, allocations: 129 kB / 486.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.161, allocations: 295.1 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.161, allocations: 0 / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.161, allocations: 0 / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.161, allocations: 0 / 486.9 MB, free: 292 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008816/0.1619, allocations: 0.5209 MB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1619, allocations: 11.97 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.162, allocations: 28.56 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1623, allocations: 236 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1623, allocations: 12.94 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1623, allocations: 32.11 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.163, allocations: 385.2 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.163, allocations: 0 / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.163, allocations: 7.984 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.1631, allocations: 28.64 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.1637, allocations: 386.3 kB / 488.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.165, allocations: 0.8423 MB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.1655, allocations: 264.7 kB / 489.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.1658, allocations: 100.8 kB / 489.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.1658, allocations: 7.938 kB / 489.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1659, allocations: 42.5 kB / 489.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.1659, allocations: 0 / 489.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007624/0.1666, allocations: 349.2 kB / 490.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1667, allocations: 51.41 kB / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.1671, allocations: 342.8 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1671, allocations: 29.7 kB / 490.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1672, allocations: 167.9 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.1673, allocations: 55.2 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.1673, allocations: 29.7 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1675, allocations: 338.8 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.1677, allocations: 108.4 kB / 491.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.168, allocations: 193.9 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.1685, allocations: 317.5 kB / 491.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1685, allocations: 4 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006298/0.1692, allocations: 348.8 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.1692, allocations: 11.98 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1692, allocations: 4 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1692, allocations: 4 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.1698, allocations: 124.2 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.1723, allocations: 3.653 MB / 495.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.1725, allocations: 47.83 kB / 495.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.1726, allocations: 19.98 kB / 496 MB, free: 6.836 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.1728, allocations: 177.7 kB / 496.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.1729, allocations: 23.72 kB / 496.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007344/0.1736, allocations: 354.1 kB / 496.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1736, allocations: 0 / 496.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1737, allocations: 0 / 496.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1737, allocations: 3.984 kB / 496.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1741, allocations: 293.4 kB / 496.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1741, allocations: 0 / 496.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.1745, allocations: 115.9 kB / 496.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1746, allocations: 0 / 496.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1746, allocations: 4 kB / 496.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.1767, allocations: 3.661 MB / 0.4888 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1767, allocations: 3.969 kB / 0.4888 GB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1773, allocations: 355.2 kB / 0.4892 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.1774, allocations: 116.6 kB / 0.4893 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.1774, allocations: 0 / 0.4893 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1776, allocations: 19.92 kB / 0.4893 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.1777, allocations: 7.984 kB / 0.4893 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1777, allocations: 12 kB / 0.4893 GB, free: 1.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.1779, allocations: 245.9 kB / 0.4896 GB, free: 1.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 0.4896 GB, free: 1.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1783, allocations: 79.94 kB / 0.4896 GB, free: 1.16 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.1786, allocations: 131.1 kB / 0.4898 GB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.1795, allocations: 324.4 kB / 0.4901 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1795, allocations: 4 kB / 0.4901 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.1801, allocations: 191.8 kB / 0.4903 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1806, allocations: 72.77 kB / 0.4903 GB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1816, allocations: 0.6679 MB / 0.491 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.182, allocations: 0.7911 MB / 0.4918 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.1822, allocations: 78.89 kB / 0.4918 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.1823, allocations: 27.42 kB / 0.4919 GB, free: 14.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.334e-06/0.1823, allocations: 4 kB / 0.4919 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Templates: time 0.009685/0.192, allocations: 5.062 MB / 0.4968 GB, free: 9.836 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches