Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001468, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002053, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 75.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3992, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.005122/0.4043, allocations: 2.03 MB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.4073, allocations: 1.157 MB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.4075, allocations: 1.375 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.4079, allocations: 53.42 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.4083, allocations: 91.94 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.4091, allocations: 181.7 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.4097, allocations: 325.5 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.4099, allocations: 34.25 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.4103, allocations: 122.6 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.4106, allocations: 136.6 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.4106, allocations: 9.812 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.4113, allocations: 219.9 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.4114, allocations: 70.02 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.4117, allocations: 120.7 kB / 0.5354 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008912/0.4126, allocations: 409.1 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4126, allocations: 0 / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4126, allocations: 0 / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.4126, allocations: 1.312 kB / 0.5358 GB, free: 10.05 MB / 398.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.001665/0.4143, allocations: 0.6283 MB / 0.5364 GB, free: 9.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.4144, allocations: 10.47 kB / 0.5364 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.4149, allocations: 60.25 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.4153, allocations: 270.9 kB / 0.5368 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.4154, allocations: 19.22 kB / 0.5368 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.4155, allocations: 25.25 kB / 0.5368 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.4165, allocations: 432.4 kB / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4165, allocations: 0 / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.4166, allocations: 11.38 kB / 0.5372 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.4167, allocations: 21.28 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.4177, allocations: 326.8 kB / 0.5376 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.4198, allocations: 1.104 MB / 0.5386 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.4205, allocations: 234.7 kB / 0.5389 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.4209, allocations: 110 kB / 0.539 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.421, allocations: 12 kB / 0.539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.421, allocations: 40.12 kB / 0.539 GB, free: 7.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.421, allocations: 0 / 0.539 GB, free: 7.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001378/0.4224, allocations: 350.2 kB / 0.5393 GB, free: 7.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.4225, allocations: 112.9 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.4231, allocations: 401.7 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4232, allocations: 26.86 kB / 0.5399 GB, free: 7.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.4234, allocations: 193.5 kB / 0.54 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.4235, allocations: 54.61 kB / 0.5401 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4236, allocations: 65.23 kB / 0.5402 GB, free: 6.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4238, allocations: 339.8 kB / 0.5405 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.4242, allocations: 118.4 kB / 0.5406 GB, free: 6.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.4248, allocations: 236.9 kB / 0.5408 GB, free: 6.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.4257, allocations: 373.2 kB / 0.5412 GB, free: 5.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4257, allocations: 4.969 kB / 0.5412 GB, free: 5.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001156/0.4269, allocations: 400 kB / 0.5416 GB, free: 5.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.427, allocations: 6.312 kB / 0.5416 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-05/0.427, allocations: 29.36 kB / 0.5416 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.427, allocations: 6.125 kB / 0.5416 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.4273, allocations: 45.19 kB / 0.5417 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.4273, allocations: 16.48 kB / 0.5417 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.4277, allocations: 53.77 kB / 0.5417 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.4277, allocations: 20.89 kB / 0.5417 GB, free: 5.656 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.0002046/0.4279, allocations: 169.2 kB / 0.5419 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.428, allocations: 29.66 kB / 0.5419 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/0.4286, allocations: 295.5 kB / 0.5422 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4287, allocations: 6.641 kB / 0.5422 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4287, allocations: 4.844 kB / 0.5422 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4287, allocations: 1.375 kB / 0.5422 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4291, allocations: 298.4 kB / 0.5425 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.4292, allocations: 22.36 kB / 0.5425 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4293, allocations: 27.62 kB / 0.5426 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4293, allocations: 2.625 kB / 0.5426 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.4294, allocations: 7.688 kB / 0.5426 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4294, allocations: 1.094 kB / 0.5426 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4294, allocations: 5 kB / 0.5426 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.4301, allocations: 0.5018 MB / 0.5431 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4302, allocations: 113 kB / 0.5432 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.4303, allocations: 5.156 kB / 0.5432 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.4306, allocations: 17.56 kB / 0.5432 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.4306, allocations: 20.77 kB / 0.5432 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4307, allocations: 9.312 kB / 0.5432 GB, free: 4.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.431, allocations: 293.8 kB / 0.5435 GB, free: 4.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.431, allocations: 0 / 0.5435 GB, free: 4.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.4315, allocations: 91.09 kB / 0.5436 GB, free: 4.312 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.0002967/0.4318, allocations: 166.8 kB / 0.5437 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007705/0.4326, allocations: 428.2 kB / 0.5442 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4326, allocations: 0 / 0.5442 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.433, allocations: 278 kB / 0.5444 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/0.4336, allocations: 73.89 kB / 0.5445 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.4351, allocations: 0.6044 MB / 0.5451 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.4356, allocations: 0.7948 MB / 0.5459 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.4358, allocations: 74.89 kB / 0.5459 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.4359, allocations: 19.44 kB / 0.5459 GB, free: 1.801 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4359, allocations: 0 / 0.5459 GB, free: 1.801 MB / 398.1 MB Notification: Performance of Templates: time 0.01403/0.45, allocations: 5.779 MB / 0.5516 GB, free: 12.1 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches