Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007893/0.0007892, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009298/0.0009297, allocations: 181.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4504/0.4504, allocations: 43.58 MB / 315 MB, free: 8.672 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008355/0.0008357, allocations: 12 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1592, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002933/0.1622, allocations: 1.727 MB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1641, allocations: 1.096 MB / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.1642, allocations: 4 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1645, allocations: 51.73 kB / 446.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1647, allocations: 71.58 kB / 446.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1651, allocations: 135.6 kB / 446.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1655, allocations: 410.4 kB / 447 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.1656, allocations: 40.92 kB / 447 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1658, allocations: 115.4 kB / 447.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.166, allocations: 139.3 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.166, allocations: 8 kB / 447.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.1664, allocations: 195.7 kB / 447.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.1665, allocations: 67.67 kB / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1666, allocations: 144.9 kB / 447.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.1671, allocations: 378.6 kB / 448 MB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1671, allocations: 0 / 448 MB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1671, allocations: 3.938 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1671, allocations: 0 / 448 MB, free: 8.078 MB / 382.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.001095/0.1682, allocations: 0.5848 MB / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1683, allocations: 12.03 kB / 448.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.1683, allocations: 32.56 kB / 448.6 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1686, allocations: 263.7 kB / 448.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1687, allocations: 20.5 kB / 448.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1687, allocations: 28 kB / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/0.1695, allocations: 445.9 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1695, allocations: 3.938 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.1695, allocations: 15.98 kB / 449.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.1696, allocations: 12.56 kB / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.1702, allocations: 353.9 kB / 449.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1716, allocations: 1.092 MB / 450.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.1721, allocations: 259.7 kB / 451.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1724, allocations: 122.4 kB / 451.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.1724, allocations: 11.94 kB / 451.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1725, allocations: 30.56 kB / 451.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/0.1725, allocations: 0 / 451.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001017/0.1735, allocations: 397.1 kB / 451.7 MB, free: 4.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1736, allocations: 110.8 kB / 451.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.174, allocations: 413.4 kB / 452.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.174, allocations: 25.7 kB / 452.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1742, allocations: 191.8 kB / 452.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.1742, allocations: 51.34 kB / 452.4 MB, free: 3.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1743, allocations: 33.73 kB / 452.5 MB, free: 3.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1744, allocations: 338.8 kB / 452.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1747, allocations: 132.1 kB / 452.9 MB, free: 2.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.1751, allocations: 248.5 kB / 453.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.1758, allocations: 383.1 kB / 453.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1758, allocations: 4 kB / 453.5 MB, free: 2.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008263/0.1766, allocations: 436.8 kB / 454 MB, free: 1.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1766, allocations: 8.5 kB / 454 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.082e-05/0.1767, allocations: 23.98 kB / 454 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1767, allocations: 12 kB / 454 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.177, allocations: 51.91 kB / 454.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.177, allocations: 15.92 kB / 454.1 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.1773, allocations: 55.52 kB / 454.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1773, allocations: 20 kB / 454.2 MB, free: 1.543 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.1775, allocations: 181.6 kB / 454.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.1776, allocations: 27.62 kB / 454.4 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.1782, allocations: 292.2 kB / 454.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1782, allocations: 4 kB / 454.7 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1782, allocations: 3.938 kB / 454.7 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1782, allocations: 7.984 kB / 454.7 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1786, allocations: 293.5 kB / 455 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/0.1787, allocations: 23.98 kB / 455 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1788, allocations: 35.97 kB / 455 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1788, allocations: 0 / 455 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1789, allocations: 4 kB / 455 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1789, allocations: 4 kB / 455 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1789, allocations: 7.969 kB / 455 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.1796, allocations: 0.5365 MB / 455.6 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2965/0.4761, allocations: 103.5 kB / 455.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4762, allocations: 3.562 kB / 455.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.4766, allocations: 21.89 kB / 455.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4767, allocations: 20.53 kB / 455.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.4768, allocations: 9.906 kB / 455.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.4771, allocations: 287.7 kB / 456 MB, free: 46.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4771, allocations: 1.562 kB / 456 MB, free: 46.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005594/0.4777, allocations: 97.22 kB / 456.1 MB, free: 46.36 MB / 382.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 (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.000297/0.478, allocations: 157.3 kB / 456.2 MB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.4789, allocations: 456.9 kB / 456.7 MB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4789, allocations: 0 / 456.7 MB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.4792, allocations: 286.5 kB / 457 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.4799, allocations: 66.08 kB / 457 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.481, allocations: 0.7195 MB / 457.8 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.4813, allocations: 0.7997 MB / 458.6 MB, free: 44.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.4814, allocations: 61.39 kB / 458.6 MB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.4815, allocations: 26.12 kB / 458.6 MB, free: 44.86 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4815, allocations: 0 / 458.6 MB, free: 44.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01039/0.4919, allocations: 5.336 MB / 464 MB, free: 44.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches