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.001056/0.001057, allocations: 96.52 kB / 15.69 MB, free: 480 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.001535/0.001535, allocations: 178.1 kB / 16.57 MB, free: 6.387 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.627/1.627, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3944/0.3944, allocations: 43.55 MB / 314.5 MB, free: 8.707 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.0007417/0.000742, allocations: 16 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1519, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002903/0.1549, allocations: 1.631 MB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1564, allocations: 0.9873 MB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.1565, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.1568, allocations: 47.8 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1569, allocations: 59.81 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1573, allocations: 131.6 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.1576, allocations: 211.5 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.1577, allocations: 36.98 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1579, allocations: 95.62 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1581, allocations: 119.5 kB / 446.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1581, allocations: 11.94 kB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1584, allocations: 187.8 kB / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.1585, allocations: 63.72 kB / 446.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.1586, allocations: 69.58 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.159, allocations: 243.3 kB / 446.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.159, allocations: 4 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.159, allocations: 3.938 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.159, allocations: 0 / 446.7 MB, free: 9.141 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.001119/0.1601, allocations: 0.5807 MB / 447.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1602, allocations: 12.03 kB / 447.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.1603, allocations: 39.58 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1606, allocations: 254.6 kB / 447.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1607, allocations: 24.5 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.1607, allocations: 24 kB / 447.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.1614, allocations: 433.9 kB / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1615, allocations: 4 kB / 448 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.1615, allocations: 8 kB / 448 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.1615, allocations: 20.55 kB / 448 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.1622, allocations: 349.8 kB / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1636, allocations: 1.112 MB / 449.5 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.1641, allocations: 251.7 kB / 449.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.1641, allocations: 11.97 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1641, allocations: 30.77 kB / 449.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.1642, allocations: 11.88 kB / 449.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001105/0.1653, allocations: 0.6138 MB / 450.4 MB, free: 5.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1653, allocations: 102.8 kB / 450.5 MB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.1657, allocations: 405.4 kB / 450.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1658, allocations: 33.7 kB / 450.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1659, allocations: 187.8 kB / 451.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.166, allocations: 51.34 kB / 451.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.166, allocations: 4 kB / 451.2 MB, free: 4.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1661, allocations: 338.8 kB / 451.5 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.1664, allocations: 128.1 kB / 451.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.1668, allocations: 248.5 kB / 451.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.1672, allocations: 159.8 kB / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1672, allocations: 0 / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008336/0.168, allocations: 428.8 kB / 452.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1681, allocations: 8 kB / 452.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.1681, allocations: 20.17 kB / 452.5 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1681, allocations: 8 kB / 452.5 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1684, allocations: 68.11 kB / 452.5 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.1684, allocations: 15.92 kB / 452.6 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1687, allocations: 59.52 kB / 452.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1687, allocations: 19.94 kB / 452.6 MB, free: 2.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.1689, allocations: 181.6 kB / 452.8 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.169, allocations: 35.62 kB / 452.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.1696, allocations: 284.1 kB / 453.1 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1696, allocations: 4 kB / 453.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1696, allocations: 0 / 453.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1697, allocations: 3.938 kB / 453.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.1702, allocations: 305.4 kB / 453.4 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/0.1702, allocations: 24.08 kB / 453.5 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1704, allocations: 35.84 kB / 453.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1704, allocations: 8 kB / 453.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.1704, allocations: 7.984 kB / 453.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1704, allocations: 0 / 453.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1704, allocations: 0 / 453.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.1712, allocations: 0.552 MB / 454.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.1713, allocations: 108.7 kB / 454.2 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.1713, allocations: 8 kB / 454.2 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.1716, allocations: 19.97 kB / 454.2 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.1717, allocations: 23.88 kB / 454.2 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.1717, allocations: 15.98 kB / 454.2 MB, free: 1.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.172, allocations: 287.1 kB / 454.5 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.172, allocations: 0 / 454.5 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005621/0.1726, allocations: 87.94 kB / 454.6 MB, free: 0.6914 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 (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.0004089/0.173, allocations: 151.2 kB / 454.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008233/0.1738, allocations: 446.9 kB / 455.2 MB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1739, allocations: 3.938 kB / 455.2 MB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1894/0.3633, allocations: 283.3 kB / 455.5 MB, free: 46.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.3638, allocations: 71.44 kB / 455.5 MB, free: 46.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009367/0.3648, allocations: 0.6788 MB / 456.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.365, allocations: 0.8066 MB / 457 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.3652, allocations: 70.67 kB / 457.1 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.3652, allocations: 25.48 kB / 457.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3652, allocations: 0 / 457.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of Templates: time 0.007079/0.3723, allocations: 5.095 MB / 462.2 MB, free: 45.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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