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.00176/0.001761, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002251/0.002251, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.6 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.2783/0.2783, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 75.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5613, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004096/0.5654, allocations: 2.029 MB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.5679, allocations: 1.158 MB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.5681, allocations: 1.375 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.5685, allocations: 61.34 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.5689, allocations: 80.02 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.5699, allocations: 181.5 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.5704, allocations: 325.5 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.5705, allocations: 37.34 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.5708, allocations: 123.1 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.571, allocations: 136.4 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.571, allocations: 10.72 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.5715, allocations: 214.7 kB / 0.5359 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5716, allocations: 70.14 kB / 0.536 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.5718, allocations: 129.6 kB / 0.5361 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.5724, allocations: 400.4 kB / 0.5365 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5724, allocations: 1.125 kB / 0.5365 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5724, allocations: 4 kB / 0.5365 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.5724, allocations: 0 / 0.5365 GB, free: 10.03 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.001142/0.5735, allocations: 0.625 MB / 0.5371 GB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5736, allocations: 10.03 kB / 0.5371 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.574, allocations: 73.52 kB / 0.5372 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.5743, allocations: 261.9 kB / 0.5374 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5744, allocations: 19.34 kB / 0.5374 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.5744, allocations: 25.97 kB / 0.5375 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.5752, allocations: 431.7 kB / 0.5379 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5752, allocations: 4 kB / 0.5379 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.5753, allocations: 11.34 kB / 0.5379 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.5753, allocations: 13.84 kB / 0.5379 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.576, allocations: 321.7 kB / 0.5382 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.5776, allocations: 1.105 MB / 0.5393 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.5781, allocations: 247 kB / 0.5395 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.5784, allocations: 106.6 kB / 0.5396 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.5784, allocations: 6.875 kB / 0.5396 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5785, allocations: 37.41 kB / 0.5397 GB, free: 7.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.5785, allocations: 3.938 kB / 0.5397 GB, free: 7.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009903/0.5795, allocations: 353.8 kB / 0.54 GB, free: 7.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.5795, allocations: 113.2 kB / 0.5401 GB, free: 7.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.58, allocations: 401.1 kB / 0.5405 GB, free: 7.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.58, allocations: 26.8 kB / 0.5405 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.5802, allocations: 198.5 kB / 0.5407 GB, free: 6.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.5803, allocations: 49.48 kB / 0.5408 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.5804, allocations: 62.31 kB / 0.5408 GB, free: 6.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5805, allocations: 343.1 kB / 0.5412 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.5809, allocations: 122.3 kB / 0.5413 GB, free: 6.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.5812, allocations: 240.1 kB / 0.5415 GB, free: 6.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.582, allocations: 369.3 kB / 0.5419 GB, free: 5.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.582, allocations: 1.188 kB / 0.5419 GB, free: 5.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008716/0.5829, allocations: 403.7 kB / 0.5422 GB, free: 5.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5829, allocations: 6.656 kB / 0.5422 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/0.5829, allocations: 26.17 kB / 0.5423 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.583, allocations: 5.75 kB / 0.5423 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.5832, allocations: 48.61 kB / 0.5423 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5832, allocations: 9.562 kB / 0.5423 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.5835, allocations: 56.81 kB / 0.5424 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.5836, allocations: 21.69 kB / 0.5424 GB, free: 5.629 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.0001912/0.5838, allocations: 176.7 kB / 0.5426 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5839, allocations: 33.59 kB / 0.5426 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/0.5845, allocations: 284.8 kB / 0.5429 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5845, allocations: 2.25 kB / 0.5429 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5845, allocations: 9.156 kB / 0.5429 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5845, allocations: 1.344 kB / 0.5429 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.585, allocations: 301.5 kB / 0.5432 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/0.5851, allocations: 18.16 kB / 0.5432 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5852, allocations: 24.34 kB / 0.5432 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5852, allocations: 5.375 kB / 0.5432 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.5853, allocations: 12.11 kB / 0.5432 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5853, allocations: 1.469 kB / 0.5432 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5853, allocations: 9.328 kB / 0.5432 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.5861, allocations: 0.4938 MB / 0.5437 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5862, allocations: 112.4 kB / 0.5438 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.5863, allocations: 14.28 kB / 0.5439 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.5866, allocations: 13.08 kB / 0.5439 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.5866, allocations: 23.86 kB / 0.5439 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.5867, allocations: 10.67 kB / 0.5439 GB, free: 4.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.587, allocations: 288.8 kB / 0.5442 GB, free: 4.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.587, allocations: 0 / 0.5442 GB, free: 4.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.5876, allocations: 95.25 kB / 0.5443 GB, free: 4.277 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.0003531/0.588, allocations: 153 kB / 0.5444 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007812/0.5888, allocations: 433.7 kB / 0.5448 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5888, allocations: 0 / 0.5448 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.5892, allocations: 279.2 kB / 0.5451 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.5898, allocations: 69.7 kB / 0.5452 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.591, allocations: 0.6335 MB / 0.5458 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5914, allocations: 0.7948 MB / 0.5465 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.5915, allocations: 27.42 kB / 0.5466 GB, free: 1.793 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5915, allocations: 0 / 0.5466 GB, free: 1.793 MB / 398.1 MB Notification: Performance of Templates: time 0.009786/0.6013, allocations: 5.579 MB / 0.552 GB, free: 12.24 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/jenkins1/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/jenkins1/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