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.001425/0.001426, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.241/1.241, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000869/0.0008688, allocations: 94.83 kB / 271.9 MB, free: 8.25 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.3874/0.3874, allocations: 43.57 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 12 kB / 432.6 MB, free: 5.621 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 58.85 MB / 491.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3993, allocations: 90.75 MB / 0.5686 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.3996, allocations: 99.94 kB / 0.5687 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03112/0.4308, allocations: 11.89 MB / 0.5803 GB, free: 15.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4308, allocations: 4 kB / 0.5803 GB, free: 15.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4308, allocations: 0 / 0.5803 GB, free: 15.43 MB / 410.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.0006782/0.4315, allocations: 0.504 MB / 0.5808 GB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4316, allocations: 12.03 kB / 0.5808 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.4317, allocations: 32.59 kB / 0.5808 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4319, allocations: 239.8 kB / 0.5811 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4319, allocations: 24.92 kB / 0.5811 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.432, allocations: 27.28 kB / 0.5811 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.4326, allocations: 373.8 kB / 0.5815 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4326, allocations: 192 / 0.5815 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.4326, allocations: 15.94 kB / 0.5815 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.4327, allocations: 24.58 kB / 0.5815 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.4332, allocations: 382.3 kB / 0.5819 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4344, allocations: 0.8268 MB / 0.5827 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.4349, allocations: 258.3 kB / 0.5829 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.4351, allocations: 104.8 kB / 0.583 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.4351, allocations: 7.984 kB / 0.583 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4351, allocations: 34.56 kB / 0.5831 GB, free: 12.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.4351, allocations: 4 kB / 0.5831 GB, free: 12.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007066/0.4359, allocations: 352.2 kB / 0.5834 GB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4359, allocations: 59.41 kB / 0.5835 GB, free: 12.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.4362, allocations: 334.9 kB / 0.5838 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4363, allocations: 29.69 kB / 0.5838 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.4364, allocations: 168 kB / 0.584 GB, free: 11.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4364, allocations: 55.2 kB / 0.584 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4364, allocations: 0 / 0.584 GB, free: 11.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4366, allocations: 338.8 kB / 0.5843 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.4368, allocations: 108.4 kB / 0.5844 GB, free: 10.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.437, allocations: 188 kB / 0.5846 GB, free: 10.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.4375, allocations: 314.7 kB / 0.5849 GB, free: 10.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4375, allocations: 0 / 0.5849 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006253/0.4382, allocations: 356.2 kB / 0.5853 GB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4382, allocations: 8 kB / 0.5853 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4382, allocations: 4 kB / 0.5853 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.4383, allocations: 7.938 kB / 0.5853 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.4388, allocations: 119.9 kB / 0.5854 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.4409, allocations: 3.658 MB / 0.589 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4411, allocations: 47.8 kB / 0.589 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.4412, allocations: 20.97 kB / 0.589 GB, free: 6.062 MB / 410.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.0001851/0.4414, allocations: 173.7 kB / 0.5892 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.4414, allocations: 27.66 kB / 0.5892 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.4421, allocations: 335.7 kB / 0.5895 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4421, allocations: 0 / 0.5895 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4421, allocations: 7.938 kB / 0.5895 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.4421, allocations: 4 kB / 0.5896 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.4424, allocations: 297.4 kB / 0.5898 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4424, allocations: 0 / 0.5898 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.4429, allocations: 104 kB / 0.5899 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4429, allocations: 11.98 kB / 0.5899 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4429, allocations: 4 kB / 0.59 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.4445, allocations: 3.653 MB / 0.5935 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4445, allocations: 0 / 0.5935 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.445, allocations: 351.2 kB / 0.5939 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.4451, allocations: 108.8 kB / 0.594 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.4451, allocations: 4 kB / 0.594 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4453, allocations: 11.98 kB / 0.594 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.4454, allocations: 15.98 kB / 0.594 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4454, allocations: 11.92 kB / 0.594 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002425/0.4456, allocations: 241.9 kB / 0.5942 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4456, allocations: 0 / 0.5942 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.446, allocations: 83.84 kB / 0.5943 GB, free: 424 kB / 410.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.0002434/0.4463, allocations: 160.5 kB / 0.5945 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008522/0.4471, allocations: 319.6 kB / 0.5948 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4472, allocations: 0.75 kB / 0.5948 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.4477, allocations: 205.1 kB / 0.595 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.4481, allocations: 68.77 kB / 0.595 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.4491, allocations: 0.6501 MB / 0.5957 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4494, allocations: 0.7926 MB / 0.5964 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.4495, allocations: 23.42 kB / 0.5965 GB, free: 14.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4495, allocations: 0 / 0.5965 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01247/0.462, allocations: 10.83 MB / 0.607 GB, free: 3.336 MB / 426.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/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