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.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.00112/0.00112, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2225/0.2225, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4005, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003898/0.4044, allocations: 2.012 MB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4063, allocations: 1.082 MB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.4064, allocations: 1.844 kB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.4067, allocations: 56.69 kB / 0.522 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.4069, allocations: 81.03 kB / 0.5221 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.4075, allocations: 154.1 kB / 0.5222 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.4079, allocations: 335.3 kB / 0.5226 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.408, allocations: 21.64 kB / 0.5226 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.4082, allocations: 116.8 kB / 0.5227 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.4084, allocations: 134 kB / 0.5228 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.4084, allocations: 9.875 kB / 0.5228 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.4089, allocations: 198.9 kB / 0.523 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.409, allocations: 73.55 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.4091, allocations: 126.2 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.4098, allocations: 387.3 kB / 0.5236 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4098, allocations: 4 kB / 0.5236 GB, free: 0.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4098, allocations: 0 / 0.5236 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4098, allocations: 0.9375 kB / 0.5236 GB, free: 0.75 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001081/0.4109, allocations: 0.6273 MB / 0.5242 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4109, allocations: 13.28 kB / 0.5242 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.411, allocations: 37.72 kB / 0.5242 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4112, allocations: 266.7 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4113, allocations: 19.5 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.4113, allocations: 24.59 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.4121, allocations: 433.3 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4121, allocations: 1.375 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.4121, allocations: 11.36 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.4122, allocations: 19.62 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.4129, allocations: 325.8 kB / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.4144, allocations: 1.099 MB / 0.5264 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.4149, allocations: 239.1 kB / 0.5266 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.4152, allocations: 108.1 kB / 0.5267 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.4152, allocations: 2.75 kB / 0.5267 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4153, allocations: 33.31 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.4153, allocations: 0 / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001039/0.4163, allocations: 362.5 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4164, allocations: 112.1 kB / 0.5272 GB, free: 14.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.4168, allocations: 400.7 kB / 0.5276 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4168, allocations: 26.98 kB / 0.5276 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.417, allocations: 205.5 kB / 0.5278 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.417, allocations: 54.44 kB / 0.5278 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4171, allocations: 57.09 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4173, allocations: 344.6 kB / 0.5282 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.4176, allocations: 118.1 kB / 0.5283 GB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.418, allocations: 236 kB / 0.5286 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.4186, allocations: 366.1 kB / 0.5289 GB, free: 12.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4186, allocations: 0.9375 kB / 0.5289 GB, free: 12.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008591/0.4195, allocations: 399.1 kB / 0.5293 GB, free: 12.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4195, allocations: 8.031 kB / 0.5293 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/0.4196, allocations: 25.23 kB / 0.5293 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4196, allocations: 10.03 kB / 0.5293 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4198, allocations: 52.33 kB / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4199, allocations: 13.69 kB / 0.5294 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.4201, allocations: 60.66 kB / 0.5295 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.4202, allocations: 13 kB / 0.5295 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.4203, allocations: 179 kB / 0.5296 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.4204, allocations: 32.34 kB / 0.5297 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.4211, allocations: 288.5 kB / 0.5299 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4211, allocations: 2.844 kB / 0.5299 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4211, allocations: 4.812 kB / 0.53 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4211, allocations: 1 kB / 0.53 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.4216, allocations: 302.2 kB / 0.5302 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/0.4216, allocations: 22.22 kB / 0.5303 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.4218, allocations: 24.16 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4218, allocations: 9.547 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.4218, allocations: 3.875 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4218, allocations: 1.281 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4218, allocations: 5.375 kB / 0.5303 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.4226, allocations: 0.5057 MB / 0.5308 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.4227, allocations: 116.2 kB / 0.5309 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.4227, allocations: 1.25 kB / 0.5309 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.423, allocations: 19.55 kB / 0.5309 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.423, allocations: 27.08 kB / 0.531 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.4231, allocations: 14.73 kB / 0.531 GB, free: 11.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.4234, allocations: 287.7 kB / 0.5312 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4234, allocations: 0 / 0.5312 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005877/0.424, allocations: 89.56 kB / 0.5313 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003248/0.4243, allocations: 154.2 kB / 0.5315 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009747/0.4253, allocations: 423.6 kB / 0.5319 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4253, allocations: 1.094 kB / 0.5319 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.4257, allocations: 267.6 kB / 0.5321 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.4263, allocations: 71.39 kB / 0.5322 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.4277, allocations: 0.6058 MB / 0.5328 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.4282, allocations: 0.8059 MB / 0.5336 GB, free: 9.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.4284, allocations: 67.42 kB / 0.5336 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.4285, allocations: 24.98 kB / 0.5337 GB, free: 9.453 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4285, allocations: 1.125 kB / 0.5337 GB, free: 9.453 MB / 398.1 MB Notification: Performance of Templates: time 0.01243/0.4409, allocations: 5.745 MB / 0.5393 GB, free: 6.637 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches