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.001029/0.001029, allocations: 185.7 kB / 13.19 MB, free: 2.121 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.255/1.255, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008882/0.0008886, allocations: 99.5 kB / 267.1 MB, free: 9.277 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.325/0.325, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.251e-05, allocations: 4 kB / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4466, allocations: 90.61 MB / 0.5613 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/0.447, allocations: 111 kB / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03726/0.4843, allocations: 11.91 MB / 0.573 GB, free: 2.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4843, allocations: 0 / 0.573 GB, free: 2.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.4844, allocations: 4 kB / 0.5731 GB, free: 2.332 MB / 394.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.0006519/0.485, allocations: 0.4994 MB / 0.5735 GB, free: 1.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4851, allocations: 8.031 kB / 0.5735 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.4852, allocations: 31.06 kB / 0.5736 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.4854, allocations: 238.6 kB / 0.5738 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4854, allocations: 20.56 kB / 0.5738 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.4855, allocations: 31.98 kB / 0.5739 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.486, allocations: 342.1 kB / 0.5742 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.486, allocations: 0 / 0.5742 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.486, allocations: 13.38 kB / 0.5742 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.4861, allocations: 20.77 kB / 0.5742 GB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.4865, allocations: 339.8 kB / 0.5745 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4878, allocations: 0.8625 MB / 0.5754 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.4882, allocations: 238.3 kB / 0.5756 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4883, allocations: 80.86 kB / 0.5757 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.4884, allocations: 4.422 kB / 0.5757 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.4884, allocations: 34.56 kB / 0.5757 GB, free: 15.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.4884, allocations: 0 / 0.5757 GB, free: 15.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004209/0.4888, allocations: 221.1 kB / 0.5759 GB, free: 15.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4889, allocations: 55.47 kB / 0.576 GB, free: 15.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.4892, allocations: 304.2 kB / 0.5763 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4892, allocations: 29.7 kB / 0.5763 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4893, allocations: 171.9 kB / 0.5765 GB, free: 14.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.4894, allocations: 55.2 kB / 0.5765 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4895, allocations: 8 kB / 0.5765 GB, free: 14.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4896, allocations: 342.8 kB / 0.5769 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4897, allocations: 88.34 kB / 0.5769 GB, free: 14.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.4899, allocations: 177 kB / 0.5771 GB, free: 13.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.4901, allocations: 112.7 kB / 0.5772 GB, free: 13.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4901, allocations: 0 / 0.5772 GB, free: 13.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004512/0.4906, allocations: 321.5 kB / 0.5775 GB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4906, allocations: 4.375 kB / 0.5775 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4906, allocations: 8 kB / 0.5775 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4906, allocations: 4 kB / 0.5775 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.4913, allocations: 127.8 kB / 0.5777 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.4931, allocations: 3.649 MB / 0.5812 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.4933, allocations: 43.53 kB / 0.5813 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.4934, allocations: 11.98 kB / 0.5813 GB, free: 9.527 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 () * 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.0001121/0.4935, allocations: 120.9 kB / 0.5814 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.4936, allocations: 27.67 kB / 0.5814 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.4941, allocations: 302 kB / 0.5817 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4941, allocations: 4 kB / 0.5817 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4941, allocations: 3.938 kB / 0.5817 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4941, allocations: 3.984 kB / 0.5817 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.4944, allocations: 289.5 kB / 0.582 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4944, allocations: 0 / 0.582 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.4949, allocations: 115.8 kB / 0.5821 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.495, allocations: 3.953 kB / 0.5821 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.495, allocations: 11.97 kB / 0.5821 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.4967, allocations: 3.649 MB / 0.5857 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4967, allocations: 0 / 0.5857 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.4971, allocations: 315.5 kB / 0.586 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.4972, allocations: 108.8 kB / 0.5861 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.4972, allocations: 7.953 kB / 0.5861 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.4974, allocations: 12.08 kB / 0.5861 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.4975, allocations: 15.98 kB / 0.5861 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4975, allocations: 11.98 kB / 0.5861 GB, free: 4.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.4977, allocations: 239.1 kB / 0.5864 GB, free: 4.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4977, allocations: 0 / 0.5864 GB, free: 4.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.4981, allocations: 79.84 kB / 0.5864 GB, free: 4.008 MB / 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 () * 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.0002487/0.4984, allocations: 149.7 kB / 0.5866 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.4991, allocations: 268.6 kB / 0.5868 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4991, allocations: 0.75 kB / 0.5868 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.4996, allocations: 161.6 kB / 0.587 GB, free: 3.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4999, allocations: 57.81 kB / 0.587 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.5006, allocations: 397.5 kB / 0.5874 GB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.5009, allocations: 0.795 MB / 0.5882 GB, free: 2.152 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.5011, allocations: 78.89 kB / 0.5883 GB, free: 2.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.5011, allocations: 27.42 kB / 0.5883 GB, free: 2.051 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5012, allocations: 0 / 0.5883 GB, free: 2.051 MB / 410.7 MB Notification: Performance of Templates: time 0.008616/0.5098, allocations: 5.06 MB / 0.5932 GB, free: 13.04 MB / 426.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