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.001425/0.001425, allocations: 121.8 kB / 17.79 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.001646/0.001646, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.83 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3912, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003536/0.3948, allocations: 1.884 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3963, allocations: 0.8531 MB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.3963, allocations: 1.375 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.3966, allocations: 48.05 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.397, allocations: 82.81 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3973, allocations: 90.61 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.3977, allocations: 255.5 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3978, allocations: 34.06 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.3981, allocations: 103.3 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3983, allocations: 123 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.3984, allocations: 10.94 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.3987, allocations: 121.4 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.3988, allocations: 61.69 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.399, allocations: 108 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.3995, allocations: 308.2 kB / 0.535 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3995, allocations: 0 / 0.535 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3995, allocations: 1.375 kB / 0.535 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3996, allocations: 0 / 0.535 GB, free: 10.67 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.001017/0.4006, allocations: 0.546 MB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4006, allocations: 9.656 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.4007, allocations: 32.97 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4011, allocations: 239.8 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.4011, allocations: 18.78 kB / 0.5358 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.4011, allocations: 27.12 kB / 0.5358 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.4019, allocations: 371.9 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4019, allocations: 11.92 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.4019, allocations: 10.03 kB / 0.5362 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/0.402, allocations: 29.09 kB / 0.5362 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.4027, allocations: 372.2 kB / 0.5366 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.4041, allocations: 0.8348 MB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.4046, allocations: 271.8 kB / 0.5376 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.4048, allocations: 90 kB / 0.5377 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.4049, allocations: 14.19 kB / 0.5377 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4049, allocations: 31.69 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.4049, allocations: 1.156 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009186/0.4058, allocations: 333.5 kB / 0.5381 GB, free: 8.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.4059, allocations: 53.44 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.4064, allocations: 338.3 kB / 0.5385 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.4064, allocations: 31.33 kB / 0.5385 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4066, allocations: 170.2 kB / 0.5387 GB, free: 8.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.4067, allocations: 55.64 kB / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.4068, allocations: 58.23 kB / 0.5388 GB, free: 7.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.407, allocations: 343.2 kB / 0.5391 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.4073, allocations: 94.56 kB / 0.5392 GB, free: 7.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.4077, allocations: 196.4 kB / 0.5394 GB, free: 7.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.4083, allocations: 303.1 kB / 0.5397 GB, free: 7.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4083, allocations: 1.25 kB / 0.5397 GB, free: 7.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007096/0.409, allocations: 353.8 kB / 0.54 GB, free: 7.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.409, allocations: 9.5 kB / 0.54 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4091, allocations: 6.531 kB / 0.54 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4091, allocations: 4.156 kB / 0.54 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.4097, allocations: 124.1 kB / 0.5401 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.4118, allocations: 3.65 MB / 0.5437 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.4121, allocations: 40.66 kB / 0.5437 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.4121, allocations: 15.39 kB / 0.5438 GB, free: 3.316 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.0002721/0.4124, allocations: 187.9 kB / 0.5439 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.4125, allocations: 27.5 kB / 0.544 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.4131, allocations: 331.4 kB / 0.5443 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4132, allocations: 2.219 kB / 0.5443 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4132, allocations: 1.062 kB / 0.5443 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.4132, allocations: 0 / 0.5443 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.4135, allocations: 305.1 kB / 0.5446 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4136, allocations: 0 / 0.5446 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.414, allocations: 101 kB / 0.5447 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.414, allocations: 1.031 kB / 0.5447 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.414, allocations: 11.14 kB / 0.5447 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.4159, allocations: 3.647 MB / 0.5482 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.416, allocations: 3.938 kB / 0.5482 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.4165, allocations: 359.1 kB / 0.5486 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.4166, allocations: 103.4 kB / 0.5487 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.4166, allocations: 1.469 kB / 0.5487 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4168, allocations: 15.64 kB / 0.5487 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.4169, allocations: 14.83 kB / 0.5487 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.4169, allocations: 13.56 kB / 0.5487 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000274/0.4172, allocations: 249.5 kB / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4172, allocations: 0 / 0.549 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.4176, allocations: 72.02 kB / 0.549 GB, free: 14.47 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.0002669/0.4179, allocations: 127.4 kB / 0.5492 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008725/0.4188, allocations: 319.5 kB / 0.5495 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4188, allocations: 0 / 0.5495 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.4194, allocations: 196.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.0003986/0.4198, allocations: 56.8 kB / 0.5497 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.4207, allocations: 0.5705 MB / 0.5503 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4211, allocations: 0.7912 MB / 0.551 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.4213, 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 5.967e-05/0.4214, allocations: 27.42 kB / 0.5511 GB, free: 12.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4214, allocations: 0 / 0.5511 GB, free: 12.37 MB / 414.1 MB Notification: Performance of Templates: time 0.009755/0.4311, allocations: 5.606 MB / 0.5566 GB, free: 6.836 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