Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 71.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3938, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003117/0.397, allocations: 1.875 MB / 0.5329 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3984, allocations: 0.8602 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.3985, allocations: 1.375 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3987, allocations: 49.42 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3991, allocations: 89.36 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.3994, allocations: 86.72 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.3997, allocations: 259.6 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.3998, allocations: 30.25 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.4, allocations: 111.6 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.4002, allocations: 123.5 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.4002, allocations: 5.5 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.4005, allocations: 122.6 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.4006, allocations: 61 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.4007, allocations: 101 kB / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.4011, allocations: 306.2 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4011, allocations: 0 / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4011, allocations: 5.125 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4011, allocations: 0 / 0.535 GB, free: 10.69 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008158/0.402, allocations: 0.5576 MB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.402, allocations: 9.656 kB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.4021, allocations: 29.41 kB / 0.5356 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.4023, allocations: 240.4 kB / 0.5358 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.4024, allocations: 22.88 kB / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.4024, allocations: 24.09 kB / 0.5358 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.403, allocations: 379.8 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4031, allocations: 3.938 kB / 0.5362 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.4031, allocations: 14.59 kB / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.4032, allocations: 23.89 kB / 0.5362 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.4038, allocations: 368.4 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.4051, allocations: 0.8473 MB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.4056, allocations: 264.8 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4058, allocations: 94.84 kB / 0.5378 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4059, allocations: 14.97 kB / 0.5378 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4059, allocations: 35.91 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.4059, allocations: 0 / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007392/0.4067, allocations: 337 kB / 0.5381 GB, free: 8.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4067, allocations: 52.78 kB / 0.5382 GB, free: 8.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.4071, allocations: 343.3 kB / 0.5385 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4071, allocations: 29.7 kB / 0.5385 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4072, allocations: 171.1 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.4073, allocations: 67.69 kB / 0.5388 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.4074, allocations: 58.2 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4075, allocations: 344.2 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.4077, allocations: 94.38 kB / 0.5392 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.408, allocations: 191.9 kB / 0.5394 GB, free: 7.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.4085, allocations: 300.4 kB / 0.5397 GB, free: 7.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4085, allocations: 1.062 kB / 0.5397 GB, free: 7.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006217/0.4091, allocations: 350.2 kB / 0.54 GB, free: 7.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4092, allocations: 6.906 kB / 0.54 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4092, allocations: 2.5 kB / 0.5401 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4092, allocations: 4.625 kB / 0.5401 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.4098, allocations: 127.8 kB / 0.5402 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.4116, allocations: 3.65 MB / 0.5437 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4119, allocations: 46.03 kB / 0.5438 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.4119, allocations: 10.38 kB / 0.5438 GB, free: 3.305 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.0002731/0.4122, allocations: 185.3 kB / 0.544 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.4122, allocations: 27.03 kB / 0.544 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/0.4129, allocations: 330.1 kB / 0.5443 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4129, allocations: 1.125 kB / 0.5443 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4129, allocations: 1.125 kB / 0.5443 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.413, allocations: 0 / 0.5443 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.4134, allocations: 301.9 kB / 0.5446 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4134, allocations: 0 / 0.5446 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.4138, allocations: 107.9 kB / 0.5447 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4139, allocations: 1.438 kB / 0.5447 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4139, allocations: 7.594 kB / 0.5447 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.4159, allocations: 3.65 MB / 0.5483 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4159, allocations: 5.094 kB / 0.5483 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.4165, allocations: 355.1 kB / 0.5486 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.4166, allocations: 103.5 kB / 0.5487 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.4167, allocations: 3.984 kB / 0.5487 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.4168, allocations: 12.94 kB / 0.5487 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.4169, allocations: 10.86 kB / 0.5487 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.4169, allocations: 13.45 kB / 0.5488 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.4172, allocations: 249.7 kB / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.4177, allocations: 80.19 kB / 0.5491 GB, free: 14.46 MB / 414.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.0002825/0.4179, allocations: 131.5 kB / 0.5492 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009127/0.4189, allocations: 317 kB / 0.5495 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4189, allocations: 0 / 0.5495 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.4194, allocations: 192.5 kB / 0.5497 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.4199, allocations: 64.77 kB / 0.5497 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.421, allocations: 0.5663 MB / 0.5503 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4214, allocations: 0.7834 MB / 0.5511 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.4216, allocations: 82.88 kB / 0.5511 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.4217, allocations: 35.42 kB / 0.5512 GB, free: 12.36 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4217, allocations: 0 / 0.5512 GB, free: 12.36 MB / 414.1 MB Notification: Performance of Templates: time 0.009914/0.4316, allocations: 5.474 MB / 0.5565 GB, free: 6.961 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches