Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.84 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3581/0.3581, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 51.92 kB / 457.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3131, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002662/0.3158, allocations: 1.934 MB / 0.5083 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3169, allocations: 0.7897 MB / 0.5091 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.317, allocations: 1.281 kB / 0.5091 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.3172, allocations: 51.06 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.3175, allocations: 82.16 kB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.3177, allocations: 64.27 kB / 0.5093 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.318, allocations: 370.6 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.117e-05/0.3181, allocations: 33.34 kB / 0.5096 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3182, allocations: 89.58 kB / 0.5097 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3184, allocations: 127.8 kB / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3184, allocations: 5.594 kB / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3186, allocations: 117.9 kB / 0.51 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.3187, allocations: 63.75 kB / 0.51 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.3188, allocations: 109.2 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.319, allocations: 290.4 kB / 0.5104 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.319, allocations: 0 / 0.5104 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3191, allocations: 0 / 0.5104 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3191, allocations: 0 / 0.5104 GB, free: 35.73 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.000673/0.3197, allocations: 0.5593 MB / 0.511 GB, free: 35.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3198, allocations: 14.34 kB / 0.511 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.3198, allocations: 25.84 kB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3201, allocations: 235.4 kB / 0.5112 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3201, allocations: 32.2 kB / 0.5112 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.3201, allocations: 30.28 kB / 0.5113 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.3206, allocations: 371.4 kB / 0.5116 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3206, allocations: 0 / 0.5116 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.3207, allocations: 11.69 kB / 0.5116 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.3207, allocations: 23.72 kB / 0.5117 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.3212, allocations: 376.3 kB / 0.512 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3223, allocations: 0.8383 MB / 0.5128 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.3228, allocations: 258.3 kB / 0.5131 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3229, allocations: 98.81 kB / 0.5132 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.323, allocations: 6.375 kB / 0.5132 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.323, allocations: 32.75 kB / 0.5132 GB, free: 34.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.323, allocations: 0 / 0.5132 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007259/0.3237, allocations: 338.4 kB / 0.5135 GB, free: 34.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3238, allocations: 56.94 kB / 0.5136 GB, free: 34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.3241, allocations: 336.4 kB / 0.5139 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3241, allocations: 29.7 kB / 0.5139 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.3242, allocations: 175.6 kB / 0.5141 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3242, allocations: 55.03 kB / 0.5142 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.3243, allocations: 58.22 kB / 0.5142 GB, free: 33.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.3244, allocations: 344.6 kB / 0.5146 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3246, allocations: 99.69 kB / 0.5146 GB, free: 33.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3249, allocations: 186.2 kB / 0.5148 GB, free: 33.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.3254, allocations: 306.7 kB / 0.5151 GB, free: 32.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3254, allocations: 1.062 kB / 0.5151 GB, free: 32.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000627/0.326, allocations: 354.8 kB / 0.5155 GB, free: 32.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3261, allocations: 5.875 kB / 0.5155 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3261, allocations: 6.719 kB / 0.5155 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3261, allocations: 2.906 kB / 0.5155 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.3267, allocations: 121.7 kB / 0.5156 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3278, allocations: 3.654 MB / 0.5192 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.328, allocations: 44.58 kB / 0.5192 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.328, allocations: 11.03 kB / 0.5192 GB, free: 29.21 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 () * 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.3282, allocations: 189.2 kB / 0.5194 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.3283, allocations: 27.48 kB / 0.5194 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.3289, allocations: 324.7 kB / 0.5197 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.329, allocations: 9.844 kB / 0.5197 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.329, allocations: 4 kB / 0.5197 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.329, allocations: 0 / 0.5197 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3293, allocations: 297.9 kB / 0.52 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3293, allocations: 0 / 0.52 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.3297, allocations: 102.9 kB / 0.5201 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3297, allocations: 0 / 0.5201 GB, free: 28.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3297, allocations: 10.19 kB / 0.5201 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.3308, allocations: 3.645 MB / 0.5237 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3308, allocations: 4.734 kB / 0.5237 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.3316, allocations: 1.057 MB / 0.5247 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.3317, allocations: 105.3 kB / 0.5248 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3317, allocations: 0 / 0.5248 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3319, allocations: 13.22 kB / 0.5248 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3319, allocations: 9.141 kB / 0.5248 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.332, allocations: 13.73 kB / 0.5249 GB, free: 24.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.3321, allocations: 246.9 kB / 0.5251 GB, free: 24.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3322, allocations: 0 / 0.5251 GB, free: 24.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004441/0.3326, allocations: 79.06 kB / 0.5252 GB, free: 24.05 MB / 378.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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.3328, allocations: 130.1 kB / 0.5253 GB, free: 23.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.3336, allocations: 320 kB / 0.5256 GB, free: 23.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3336, allocations: 2.719 kB / 0.5256 GB, free: 23.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.3341, allocations: 187.9 kB / 0.5258 GB, free: 23.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3346, allocations: 67.94 kB / 0.5258 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.3356, allocations: 0.7855 MB / 0.5266 GB, free: 23.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.3358, allocations: 0.801 MB / 0.5274 GB, free: 22.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.336, allocations: 83.42 kB / 0.5275 GB, free: 22.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3361, allocations: 24.8 kB / 0.5275 GB, free: 22.62 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3361, allocations: 0 / 0.5275 GB, free: 22.62 MB / 378.7 MB Notification: Performance of Templates: time 0.007666/0.3437, allocations: 5.222 MB / 0.5326 GB, free: 22.29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches