Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 178.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007849, allocations: 94.23 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.396/0.396, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004, allocations: 16 kB / 431.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 58.85 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002363/0.1546, allocations: 1.551 MB / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.156, allocations: 0.7648 MB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.156, allocations: 4 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1563, allocations: 47.73 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.1567, allocations: 75.64 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1569, allocations: 71.8 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.1573, allocations: 302.7 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.1574, allocations: 32.36 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1576, allocations: 99.5 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1578, allocations: 127.5 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1578, allocations: 4 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.158, allocations: 111.8 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.1581, allocations: 63.73 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.1582, allocations: 61.58 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1585, allocations: 207.6 kB / 493.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1585, allocations: 0 / 493.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1585, allocations: 0 / 493.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1585, allocations: 3.938 kB / 493.8 MB, free: 7.648 MB / 378.7 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.0008774/0.1594, allocations: 0.5258 MB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1595, allocations: 12.02 kB / 494.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.1595, allocations: 31.61 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.1598, allocations: 230.7 kB / 494.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1599, allocations: 16.56 kB / 494.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.1599, allocations: 27.94 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.1606, allocations: 385.2 kB / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1606, allocations: 0 / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1607, allocations: 11.95 kB / 495 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.1607, allocations: 28.64 kB / 495 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.1613, allocations: 382.3 kB / 495.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.1627, allocations: 0.8423 MB / 496.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1633, allocations: 266.1 kB / 496.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1635, allocations: 92.84 kB / 496.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.1635, allocations: 7.984 kB / 496.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1636, allocations: 38.56 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.1636, allocations: 0 / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008224/0.1644, allocations: 349.2 kB / 497 MB, free: 4.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1645, allocations: 51.41 kB / 497 MB, free: 4.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.1649, allocations: 346.8 kB / 497.4 MB, free: 3.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1649, allocations: 25.7 kB / 497.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.165, allocations: 164 kB / 497.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.1651, allocations: 59.19 kB / 497.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.1651, allocations: 4 kB / 497.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1653, allocations: 342.8 kB / 497.9 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.1655, allocations: 112.3 kB / 498 MB, free: 3.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.1658, allocations: 188 kB / 498.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1661, allocations: 131.8 kB / 498.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1661, allocations: 0 / 498.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006092/0.1667, allocations: 352.9 kB / 498.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1667, allocations: 4 kB / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1667, allocations: 4 kB / 498.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1667, allocations: 4 kB / 498.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.1673, allocations: 128.2 kB / 498.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2476/0.415, allocations: 3.649 MB / 0.4907 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.4154, allocations: 49.56 kB / 0.4908 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.4154, allocations: 16.8 kB / 0.4908 GB, free: 41.74 MB / 378.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.4157, allocations: 180.6 kB / 0.491 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.4157, allocations: 24.94 kB / 0.491 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.4165, allocations: 338.7 kB / 0.4913 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4165, allocations: 2.281 kB / 0.4913 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4165, allocations: 2.469 kB / 0.4913 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4165, allocations: 2.531 kB / 0.4913 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.4169, allocations: 299.4 kB / 0.4916 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4169, allocations: 0 / 0.4916 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/0.4174, allocations: 107.1 kB / 0.4917 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4174, allocations: 4.734 kB / 0.4917 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4174, allocations: 8.625 kB / 0.4917 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.4186, allocations: 3.646 MB / 0.4953 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4186, allocations: 2.281 kB / 0.4953 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.4192, allocations: 363.5 kB / 0.4956 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.4192, allocations: 107.2 kB / 0.4957 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4193, allocations: 10.39 kB / 0.4957 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.4194, allocations: 8.234 kB / 0.4957 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.4195, allocations: 16.89 kB / 0.4958 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4195, allocations: 7.859 kB / 0.4958 GB, free: 37.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.4198, allocations: 246.1 kB / 0.496 GB, free: 37.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4198, allocations: 0 / 0.496 GB, free: 37.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.4202, allocations: 79.06 kB / 0.4961 GB, free: 37.57 MB / 378.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.4204, allocations: 127.7 kB / 0.4962 GB, free: 37.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008913/0.4213, allocations: 327.2 kB / 0.4965 GB, free: 37.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4213, allocations: 4.359 kB / 0.4965 GB, free: 37.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.422, allocations: 199.5 kB / 0.4967 GB, free: 37.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.4225, allocations: 61.45 kB / 0.4968 GB, free: 37.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4238, allocations: 0.6634 MB / 0.4974 GB, free: 37.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.4241, allocations: 0.7834 MB / 0.4982 GB, free: 36.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.4242, allocations: 27.88 kB / 0.4982 GB, free: 36.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4242, allocations: 4 kB / 0.4982 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01211/0.4364, allocations: 10.76 MB / 0.5087 GB, free: 35.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches