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_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_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_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.0009529/0.0009531, allocations: 177.1 kB / 8.005 MB, free: 1.07 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.392/1.392, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007894/0.0007892, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.185/0.185, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.26e-05, allocations: 0 / 418.3 MB, free: 28.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 58.85 MB / 477.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4406, allocations: 89.95 MB / 0.5538 GB, free: 5.457 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4409, allocations: 100.2 kB / 0.5539 GB, free: 5.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02874/0.4696, allocations: 11.8 MB / 0.5654 GB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4697, allocations: 0 / 0.5654 GB, free: 11.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.4697, allocations: 4 kB / 0.5654 GB, free: 11.62 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.0006858/0.4704, allocations: 0.4904 MB / 0.5659 GB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4705, allocations: 12.03 kB / 0.5659 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.4705, allocations: 31.56 kB / 0.5659 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.4708, allocations: 238.1 kB / 0.5662 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4708, allocations: 8 kB / 0.5662 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.4709, allocations: 19.94 kB / 0.5662 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004376/0.4713, allocations: 309.5 kB / 0.5665 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.4717, allocations: 308.7 kB / 0.5668 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4718, allocations: 3.984 kB / 0.5668 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.4718, allocations: 4 kB / 0.5668 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.4718, allocations: 20.77 kB / 0.5668 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.4731, allocations: 0.7578 MB / 0.5675 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.4734, allocations: 230.4 kB / 0.5678 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4735, allocations: 79.73 kB / 0.5678 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.4735, allocations: 3.953 kB / 0.5678 GB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.4736, allocations: 34.56 kB / 0.5679 GB, free: 9.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.4736, allocations: 0 / 0.5679 GB, free: 9.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003582/0.4739, allocations: 202.5 kB / 0.5681 GB, free: 9.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.474, allocations: 55.41 kB / 0.5681 GB, free: 8.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.4741, allocations: 166.5 kB / 0.5683 GB, free: 8.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4741, allocations: 25.7 kB / 0.5683 GB, free: 8.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.4742, allocations: 177 kB / 0.5685 GB, free: 8.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.4743, allocations: 58.88 kB / 0.5685 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.4743, allocations: 0 / 0.5685 GB, free: 8.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4744, allocations: 326.4 kB / 0.5688 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4745, allocations: 78.41 kB / 0.5689 GB, free: 8.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.4747, allocations: 164.6 kB / 0.5691 GB, free: 8.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.4748, allocations: 110.2 kB / 0.5692 GB, free: 7.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4749, allocations: 0 / 0.5692 GB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003696/0.4752, allocations: 287.3 kB / 0.5695 GB, free: 7.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4753, allocations: 4 kB / 0.5695 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4753, allocations: 11.94 kB / 0.5695 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4753, allocations: 4 kB / 0.5695 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.4759, allocations: 123 kB / 0.5696 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.4775, allocations: 3.666 MB / 0.5732 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4777, allocations: 27.86 kB / 0.5732 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.4778, allocations: 15.69 kB / 0.5732 GB, free: 3.719 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 () * 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.000122/0.4779, allocations: 113.2 kB / 0.5733 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.4779, allocations: 15.81 kB / 0.5733 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.4784, allocations: 283.8 kB / 0.5736 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4784, allocations: 0 / 0.5736 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4784, allocations: 0 / 0.5736 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4784, allocations: 0 / 0.5736 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.4787, allocations: 263.5 kB / 0.5739 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4787, allocations: 0 / 0.5739 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.4792, allocations: 103.8 kB / 0.574 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4792, allocations: 4 kB / 0.574 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4792, allocations: 7.234 kB / 0.574 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.4811, allocations: 3.67 MB / 0.5775 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4811, allocations: 0 / 0.5775 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.4814, allocations: 295.8 kB / 0.5778 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.4815, allocations: 97.03 kB / 0.5779 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.4815, allocations: 4 kB / 0.5779 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4817, allocations: 4 kB / 0.5779 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.4817, allocations: 23.61 kB / 0.578 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4818, allocations: 8 kB / 0.578 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.635e-05/0.4819, allocations: 137 kB / 0.5781 GB, free: 14.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4819, allocations: 0 / 0.5781 GB, free: 14.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.4823, allocations: 83.67 kB / 0.5782 GB, free: 14.54 MB / 394.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 () * 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.0002812/0.4826, allocations: 170.4 kB / 0.5783 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006513/0.4833, allocations: 257.8 kB / 0.5786 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4833, allocations: 0 / 0.5786 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.4837, allocations: 146 kB / 0.5787 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.484, allocations: 19.09 kB / 0.5787 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.4847, allocations: 356 kB / 0.5791 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4851, allocations: 0.7965 MB / 0.5799 GB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.4852, allocations: 61.78 kB / 0.5799 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.4853, allocations: 19.06 kB / 0.5799 GB, free: 12.75 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4853, allocations: 0 / 0.5799 GB, free: 12.75 MB / 394.7 MB Notification: Performance of Templates: time 0.005923/0.4912, allocations: 3.157 MB / 0.583 GB, free: 9.613 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches