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.002491/0.002491, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 82.8 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2965/0.2965, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.817e-05, allocations: 4 kB / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3967, allocations: 58.86 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.5611, allocations: 89.96 MB / 0.5538 GB, free: 9.336 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/0.5615, allocations: 99.92 kB / 0.5539 GB, free: 9.238 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05637/0.6179, allocations: 11.79 MB / 0.5654 GB, free: 13.35 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.618, allocations: 0 / 0.5654 GB, free: 13.35 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.618, allocations: 0 / 0.5654 GB, free: 13.35 MB / 411.1 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.0009373/0.619, allocations: 0.4908 MB / 0.5659 GB, free: 12.81 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.619, allocations: 12.03 kB / 0.5659 GB, free: 12.8 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.6191, allocations: 27.62 kB / 0.5659 GB, free: 12.77 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.6195, allocations: 242.6 kB / 0.5661 GB, free: 12.5 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.6196, allocations: 11.98 kB / 0.5661 GB, free: 12.48 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.6196, allocations: 12 kB / 0.5662 GB, free: 12.47 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007362/0.6204, allocations: 317.1 kB / 0.5665 GB, free: 12.16 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.6211, allocations: 312.9 kB / 0.5668 GB, free: 11.86 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6212, allocations: 0 / 0.5668 GB, free: 11.86 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.6212, allocations: 0 / 0.5668 GB, free: 11.86 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.6213, allocations: 20.77 kB / 0.5668 GB, free: 11.83 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.6232, allocations: 0.7565 MB / 0.5675 GB, free: 11.04 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.6239, allocations: 226.3 kB / 0.5677 GB, free: 10.81 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.6241, allocations: 76.86 kB / 0.5678 GB, free: 10.73 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.6241, allocations: 7.953 kB / 0.5678 GB, free: 10.72 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.6242, allocations: 34.56 kB / 0.5678 GB, free: 10.68 MB / 411.1 MB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.6242, allocations: 0 / 0.5678 GB, free: 10.68 MB / 411.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006648/0.6249, allocations: 205.7 kB / 0.568 GB, free: 10.47 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6249, allocations: 59.34 kB / 0.5681 GB, free: 10.4 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.6252, allocations: 158.2 kB / 0.5683 GB, free: 10.24 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.6252, allocations: 25.7 kB / 0.5683 GB, free: 10.21 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.6254, allocations: 246.1 kB / 0.5685 GB, free: 9.965 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.6255, allocations: 55.2 kB / 0.5686 GB, free: 9.91 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.6255, allocations: 0 / 0.5686 GB, free: 9.91 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6257, allocations: 322.8 kB / 0.5689 GB, free: 9.586 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.6259, allocations: 84.41 kB / 0.569 GB, free: 9.5 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.6262, allocations: 159.8 kB / 0.5691 GB, free: 9.305 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6266, allocations: 115.8 kB / 0.5692 GB, free: 9.191 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6266, allocations: 0 / 0.5692 GB, free: 9.191 MB / 411.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007615/0.6274, allocations: 269.2 kB / 0.5695 GB, free: 8.922 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.6274, allocations: 8 kB / 0.5695 GB, free: 8.914 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6274, allocations: 3.953 kB / 0.5695 GB, free: 8.91 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.6274, allocations: 8 kB / 0.5695 GB, free: 8.902 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6285, allocations: 119.8 kB / 0.5696 GB, free: 8.785 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.6315, allocations: 3.672 MB / 0.5732 GB, free: 4.973 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.6319, allocations: 28.14 kB / 0.5732 GB, free: 4.945 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.6319, allocations: 16 kB / 0.5732 GB, free: 4.93 MB / 411.1 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 () * 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.0001675/0.6321, allocations: 116.6 kB / 0.5733 GB, free: 4.812 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.6322, allocations: 15.81 kB / 0.5734 GB, free: 4.797 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/0.6331, allocations: 283 kB / 0.5736 GB, free: 4.516 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.6331, allocations: 0 / 0.5736 GB, free: 4.516 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6331, allocations: 8 kB / 0.5736 GB, free: 4.508 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6331, allocations: 0 / 0.5736 GB, free: 4.508 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.6336, allocations: 254 kB / 0.5739 GB, free: 4.223 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6337, allocations: 0 / 0.5739 GB, free: 4.223 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/0.6346, allocations: 111.8 kB / 0.574 GB, free: 4.113 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6346, allocations: 0 / 0.574 GB, free: 4.113 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.6347, allocations: 7.984 kB / 0.574 GB, free: 4.105 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.6375, allocations: 3.668 MB / 0.5776 GB, free: 304 kB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.6376, allocations: 0 / 0.5776 GB, free: 304 kB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.6382, allocations: 304 kB / 0.5779 GB, free: 15.98 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.6383, allocations: 96.84 kB / 0.578 GB, free: 15.87 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.6384, allocations: 0 / 0.578 GB, free: 15.87 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.6387, allocations: 8 kB / 0.578 GB, free: 15.86 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.6388, allocations: 23.8 kB / 0.578 GB, free: 15.84 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.6388, allocations: 11.94 kB / 0.578 GB, free: 15.83 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.639, allocations: 131.5 kB / 0.5781 GB, free: 15.7 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.639, allocations: 0 / 0.5781 GB, free: 15.7 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006212/0.6396, allocations: 83.67 kB / 0.5782 GB, free: 15.62 MB / 427.1 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 () * 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.0003593/0.64, allocations: 165.7 kB / 0.5784 GB, free: 15.45 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.6412, allocations: 252.4 kB / 0.5786 GB, free: 15.21 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6413, allocations: 0 / 0.5786 GB, free: 15.21 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008423/0.6421, allocations: 143.8 kB / 0.5787 GB, free: 15.07 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.6425, allocations: 19.97 kB / 0.5788 GB, free: 15.05 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.6436, allocations: 383.8 kB / 0.5791 GB, free: 14.64 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.6442, allocations: 0.7906 MB / 0.5799 GB, free: 13.82 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.6443, allocations: 27.42 kB / 0.5799 GB, free: 13.8 MB / 427.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6443, allocations: 0 / 0.5799 GB, free: 13.8 MB / 427.1 MB Notification: Performance of Templates: time 0.02072/0.6651, allocations: 9.66 MB / 0.5894 GB, free: 4.129 MB / 427.1 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/jenkins1/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