Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009702/0.00097, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 45.91 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 4 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 63.46 MB / 481.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002964/0.1545, allocations: 1.654 MB / 483.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.156, allocations: 0.9943 MB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.1561, allocations: 4 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.1564, allocations: 55.66 kB / 484.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1566, allocations: 55.83 kB / 484.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.1571, allocations: 134.9 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1575, allocations: 211.5 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1576, allocations: 40.72 kB / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.1579, allocations: 99.56 kB / 484.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1581, allocations: 111.5 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.1581, allocations: 8 kB / 484.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.1585, allocations: 195.8 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.1586, allocations: 67.73 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.1587, allocations: 69.58 kB / 485.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.1591, allocations: 251.6 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1591, allocations: 4 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1591, allocations: 0 / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1591, allocations: 0 / 485.3 MB, free: 1.492 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001035/0.1602, allocations: 0.5924 MB / 485.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1602, allocations: 12.03 kB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.1606, allocations: 75.58 kB / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1609, allocations: 259 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.161, allocations: 20.56 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.161, allocations: 24 kB / 486.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.1618, allocations: 445.8 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1618, allocations: 0 / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.1618, allocations: 12 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.1619, allocations: 12.56 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.1626, allocations: 345.9 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1642, allocations: 1.12 MB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.1647, allocations: 267.6 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.1648, allocations: 0 / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1648, allocations: 38.56 kB / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1648, allocations: 0 / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001165/0.166, allocations: 0.6216 MB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.1661, allocations: 106.9 kB / 489.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.1666, allocations: 409.4 kB / 489.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1666, allocations: 29.77 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1668, allocations: 187.8 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.1669, allocations: 47.34 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.1669, allocations: 4 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1671, allocations: 342.8 kB / 490.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1674, allocations: 136.1 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1678, allocations: 243.6 kB / 490.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.1682, allocations: 163.8 kB / 490.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1682, allocations: 4 kB / 490.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008568/0.169, allocations: 416.9 kB / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1691, allocations: 4 kB / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/0.1691, allocations: 23.98 kB / 491.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1692, allocations: 4 kB / 491.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1695, allocations: 64.3 kB / 491.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.1695, allocations: 4 kB / 491.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.1698, allocations: 67.41 kB / 491.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1698, allocations: 15.94 kB / 491.4 MB, free: 11.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002088/0.1701, allocations: 193.5 kB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.1702, allocations: 27.62 kB / 491.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006136/0.1708, allocations: 288.2 kB / 491.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1708, allocations: 4 kB / 491.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1708, allocations: 0 / 491.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1708, allocations: 7.984 kB / 491.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1713, allocations: 305.3 kB / 492.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/0.1713, allocations: 19.97 kB / 492.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1715, allocations: 35.97 kB / 492.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1715, allocations: 0 / 492.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1715, allocations: 7.938 kB / 492.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1715, allocations: 4 kB / 492.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1715, allocations: 0 / 492.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.1723, allocations: 0.5478 MB / 492.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1724, allocations: 104.7 kB / 492.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.1725, allocations: 11.92 kB / 492.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.1727, allocations: 23.98 kB / 492.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.1728, allocations: 19.98 kB / 492.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1728, allocations: 11.92 kB / 493 MB, free: 9.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.1731, allocations: 287.1 kB / 493.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1731, allocations: 0 / 493.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.1737, allocations: 95.92 kB / 493.3 MB, free: 8.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003011/0.174, allocations: 159.1 kB / 493.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007576/0.1748, allocations: 446.8 kB / 493.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1748, allocations: 4.344 kB / 493.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.1752, allocations: 290 kB / 494.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1756, allocations: 69.5 kB / 494.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1767, allocations: 0.6745 MB / 495 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.177, allocations: 0.8067 MB / 495.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.1772, allocations: 62.92 kB / 495.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.1772, allocations: 23.42 kB / 495.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1773, allocations: 4 kB / 495.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of Templates: time 0.008821/0.1861, allocations: 5.149 MB / 0.4893 GB, free: 1.258 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches