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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 185.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1949/0.1949, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4097, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003473/0.4133, allocations: 1.881 MB / 0.5214 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4146, allocations: 0.8011 MB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.4147, allocations: 1.938 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.415, allocations: 45.67 kB / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.4153, allocations: 86.03 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.4156, allocations: 78.69 kB / 0.5224 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.4159, allocations: 262.3 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.416, allocations: 35.77 kB / 0.5227 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.4161, allocations: 99.52 kB / 0.5228 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4163, allocations: 119.7 kB / 0.5229 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4164, allocations: 6.719 kB / 0.5229 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.4166, allocations: 116.5 kB / 0.523 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.4167, allocations: 65.11 kB / 0.5231 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.4168, allocations: 102.5 kB / 0.5232 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.4172, allocations: 309.2 kB / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4172, allocations: 0 / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4172, allocations: 0 / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.4173, allocations: 5.625 kB / 0.5235 GB, free: 1.191 MB / 382.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.0007587/0.418, allocations: 0.5408 MB / 0.524 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4181, allocations: 8.969 kB / 0.524 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.4181, allocations: 30.03 kB / 0.524 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.4183, allocations: 237.8 kB / 0.5243 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.4184, allocations: 22.19 kB / 0.5243 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.4184, allocations: 31.38 kB / 0.5243 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.4192, allocations: 374.3 kB / 0.5247 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4192, allocations: 0 / 0.5247 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.4193, allocations: 10.72 kB / 0.5247 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.4193, allocations: 23.72 kB / 0.5247 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.4202, allocations: 375.5 kB / 0.5251 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.4221, allocations: 0.8437 MB / 0.5259 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.4229, allocations: 262.1 kB / 0.5261 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.4232, allocations: 96.45 kB / 0.5262 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.4232, allocations: 10.67 kB / 0.5262 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4233, allocations: 35.94 kB / 0.5263 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/0.4233, allocations: 1.375 kB / 0.5263 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001059/0.4243, allocations: 336.4 kB / 0.5266 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4244, allocations: 52.78 kB / 0.5267 GB, free: 15.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.4249, allocations: 338.7 kB / 0.527 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.425, allocations: 30.67 kB / 0.527 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.4251, allocations: 178.8 kB / 0.5272 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.4252, allocations: 58.94 kB / 0.5272 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.4254, allocations: 59.02 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4256, allocations: 339 kB / 0.5276 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.4259, allocations: 94.69 kB / 0.5277 GB, free: 14.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.4263, allocations: 192.8 kB / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.427, allocations: 303.9 kB / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.427, allocations: 1.531 kB / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009284/0.428, allocations: 353.7 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.428, allocations: 6.25 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.428, allocations: 7.188 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.428, allocations: 4.438 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/0.4288, allocations: 119.5 kB / 0.5286 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.4312, allocations: 3.65 MB / 0.5322 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.4316, allocations: 38.19 kB / 0.5322 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.4316, allocations: 18.17 kB / 0.5323 GB, free: 10.27 MB / 398.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 () * 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.0003959/0.432, allocations: 181.9 kB / 0.5324 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4322, allocations: 31.09 kB / 0.5325 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.4332, allocations: 331.5 kB / 0.5328 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.4332, allocations: 2 kB / 0.5328 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4332, allocations: 0 / 0.5328 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.4332, allocations: 0.75 kB / 0.5328 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.4338, allocations: 296.8 kB / 0.5331 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4338, allocations: 5.031 kB / 0.5331 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.4344, allocations: 101 kB / 0.5332 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-06/0.4345, allocations: 0 / 0.5332 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.4345, allocations: 11.83 kB / 0.5332 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.437, allocations: 3.647 MB / 0.5367 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.437, allocations: 3.938 kB / 0.5367 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.4378, allocations: 348.3 kB / 0.5371 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.438, allocations: 105.8 kB / 0.5372 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.4381, allocations: 5.188 kB / 0.5372 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.4383, allocations: 16.55 kB / 0.5372 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.4384, allocations: 14.67 kB / 0.5372 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.4385, allocations: 9.516 kB / 0.5372 GB, free: 5.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.4389, allocations: 242.6 kB / 0.5375 GB, free: 5.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4389, allocations: 3.938 kB / 0.5375 GB, free: 5.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000689/0.4396, allocations: 71.33 kB / 0.5375 GB, free: 5.441 MB / 398.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 () * 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.0003679/0.44, allocations: 127 kB / 0.5376 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.4414, allocations: 321.1 kB / 0.538 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4414, allocations: 1.344 kB / 0.538 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.4422, allocations: 199.4 kB / 0.5381 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.4429, allocations: 60.09 kB / 0.5382 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4445, allocations: 0.5901 MB / 0.5388 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.445, allocations: 0.7878 MB / 0.5395 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4451, allocations: 26.75 kB / 0.5396 GB, free: 3.969 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4451, allocations: 1.125 kB / 0.5396 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Templates: time 0.01761/0.4627, allocations: 10.81 MB / 0.5501 GB, free: 12.08 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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