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.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,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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, 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.495/1.495, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007931/0.0007932, allocations: 101 kB / 270.9 MB, free: 8.344 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.3815/0.3815, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004026, allocations: 12 kB / 431.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 58.86 MB / 490.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002397/0.1455, allocations: 1.676 MB / 491.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1472, allocations: 1.018 MB / 493 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1473, allocations: 0 / 493 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1476, allocations: 47.73 kB / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1478, allocations: 67.58 kB / 493.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.1482, allocations: 143.6 kB / 493.2 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.1486, allocations: 354.5 kB / 493.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.1487, allocations: 32.72 kB / 493.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1489, allocations: 115.4 kB / 493.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1491, allocations: 143.4 kB / 493.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.1492, allocations: 8 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.1495, allocations: 175.8 kB / 494 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.1496, allocations: 75.66 kB / 494.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.1497, allocations: 65.58 kB / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.15, allocations: 271.4 kB / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.15, allocations: 0 / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.15, allocations: 0 / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.15, allocations: 0 / 494.4 MB, free: 6.758 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001162/0.1512, allocations: 0.604 MB / 495 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1512, allocations: 8.031 kB / 495 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1513, allocations: 35.58 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1517, allocations: 250.5 kB / 495.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1517, allocations: 20.56 kB / 495.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.1518, allocations: 24 kB / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.1526, allocations: 445.8 kB / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1526, allocations: 3.938 kB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.1526, allocations: 12 kB / 495.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.1527, allocations: 12.56 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007019/0.1534, allocations: 357.8 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.1549, allocations: 1.089 MB / 497.3 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.1555, allocations: 255.7 kB / 497.5 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.1558, allocations: 126.4 kB / 497.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.1559, allocations: 8 kB / 497.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1559, allocations: 34.56 kB / 497.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.335e-06/0.1559, allocations: 4 kB / 497.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001051/0.157, allocations: 389.1 kB / 498.1 MB, free: 2.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.157, allocations: 114.8 kB / 498.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.1575, allocations: 405.4 kB / 498.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1575, allocations: 29.7 kB / 498.6 MB, free: 2.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1577, allocations: 187.8 kB / 498.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1577, allocations: 55.38 kB / 498.8 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.1577, allocations: 4 kB / 498.8 MB, free: 2.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1579, allocations: 342.8 kB / 499.2 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.1582, allocations: 128.1 kB / 499.3 MB, free: 1.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.1586, allocations: 247.7 kB / 499.5 MB, free: 1.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.159, allocations: 155.9 kB / 499.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.159, allocations: 0 / 499.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008395/0.1598, allocations: 429 kB / 0.4884 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1598, allocations: 8 kB / 0.4884 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/0.1599, allocations: 20 kB / 0.4884 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1599, allocations: 8 kB / 0.4884 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1602, allocations: 64.05 kB / 0.4885 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1602, allocations: 11.94 kB / 0.4885 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.1605, allocations: 63.45 kB / 0.4886 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1606, allocations: 16 kB / 0.4886 GB, free: 0.5469 MB / 378.7 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.0001832/0.1607, allocations: 177.7 kB / 0.4887 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.1608, allocations: 27.81 kB / 0.4888 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.1614, allocations: 296 kB / 0.4891 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1615, allocations: 8 kB / 0.4891 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1615, allocations: 0 / 0.4891 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1615, allocations: 4 kB / 0.4891 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2758/0.4373, allocations: 299.7 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.181e-05/0.4374, allocations: 20.44 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.4377, allocations: 29.36 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.4377, allocations: 2.484 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4377, allocations: 9.906 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4377, allocations: 3.844 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4377, allocations: 1.062 kB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.4386, allocations: 0.5252 MB / 0.4899 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.4386, allocations: 113.4 kB / 0.49 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.4387, allocations: 4.391 kB / 0.49 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.439, allocations: 24.55 kB / 0.4901 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.4391, allocations: 15.53 kB / 0.4901 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.4391, allocations: 11.38 kB / 0.4901 GB, free: 42.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003245/0.4394, allocations: 287.3 kB / 0.4904 GB, free: 42.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4395, allocations: 2.953 kB / 0.4904 GB, free: 42.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005754/0.4401, allocations: 97.67 kB / 0.4905 GB, free: 42.49 MB / 378.7 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.0003146/0.4404, allocations: 152.3 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.4412, allocations: 454.1 kB / 0.491 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4413, allocations: 0 / 0.491 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.4416, allocations: 287.9 kB / 0.4913 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.4423, allocations: 68.98 kB / 0.4914 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4434, allocations: 0.7097 MB / 0.4921 GB, free: 41.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4437, allocations: 0.7935 MB / 0.4928 GB, free: 41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.4438, allocations: 27.72 kB / 0.4929 GB, free: 41 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4438, allocations: 0.9688 kB / 0.4929 GB, free: 41 MB / 378.7 MB Notification: Performance of Templates: time 0.009139/0.4529, allocations: 5.475 MB / 0.4982 GB, free: 40.61 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches