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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 112.4 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 253.1 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 44.91 MB / 353.2 MB, free: 11.85 MB / 286.1 MB " [Timeout remaining time 179] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.88 kB / 497.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4161, allocations: 64.28 MB / 0.5485 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004283/0.4204, allocations: 2.037 MB / 0.5505 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.4227, allocations: 1.085 MB / 0.5515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.4228, allocations: 1.25 kB / 0.5515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.4231, allocations: 61.5 kB / 0.5516 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.4234, allocations: 80.33 kB / 0.5516 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.424, allocations: 165.4 kB / 0.5518 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.4244, allocations: 321.9 kB / 0.5521 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.4245, allocations: 15.28 kB / 0.5521 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.4248, allocations: 119.3 kB / 0.5522 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.425, allocations: 145.2 kB / 0.5524 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.4251, allocations: 10.84 kB / 0.5524 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.4254, allocations: 140.1 kB / 0.5525 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.4255, allocations: 81.66 kB / 0.5526 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.4257, allocations: 117.5 kB / 0.5527 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.4263, allocations: 385.3 kB / 0.5531 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4263, allocations: 0 / 0.5531 GB, free: 9.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4263, allocations: 1.062 kB / 0.5531 GB, free: 9.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4263, allocations: 7.875 kB / 0.5531 GB, free: 9.656 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.001287/0.4276, allocations: 0.558 MB / 0.5536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4276, allocations: 10.36 kB / 0.5536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.4277, allocations: 35.8 kB / 0.5537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.4281, allocations: 211 kB / 0.5539 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.4282, allocations: 20 kB / 0.5539 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.4282, allocations: 24.78 kB / 0.5539 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.4292, allocations: 429.1 kB / 0.5543 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4292, allocations: 0 / 0.5543 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.4292, allocations: 15.22 kB / 0.5543 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.4293, allocations: 13.62 kB / 0.5544 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.4301, allocations: 327.3 kB / 0.5547 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.4322, allocations: 1.054 MB / 0.5557 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.4329, allocations: 234.5 kB / 0.5559 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.4332, allocations: 105.5 kB / 0.556 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/0.4332, allocations: 11.97 kB / 0.556 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.4333, allocations: 38.5 kB / 0.5561 GB, free: 7.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.4333, allocations: 0 / 0.5561 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001104/0.4344, allocations: 361.3 kB / 0.5564 GB, free: 7.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.4345, allocations: 106.8 kB / 0.5565 GB, free: 6.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.4351, allocations: 405.6 kB / 0.5569 GB, free: 6.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4352, allocations: 25.7 kB / 0.5569 GB, free: 6.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.4354, allocations: 200 kB / 0.5571 GB, free: 6.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.4355, allocations: 51.53 kB / 0.5572 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.4356, allocations: 61.92 kB / 0.5572 GB, free: 6.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4358, allocations: 346.8 kB / 0.5576 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4361, allocations: 116.1 kB / 0.5577 GB, free: 5.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.4366, allocations: 227.8 kB / 0.5579 GB, free: 5.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.4373, allocations: 367 kB / 0.5582 GB, free: 5.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4373, allocations: 0 / 0.5582 GB, free: 5.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008801/0.4382, allocations: 404.9 kB / 0.5586 GB, free: 4.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4382, allocations: 4 kB / 0.5586 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/0.4383, allocations: 27.98 kB / 0.5587 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.4383, allocations: 8 kB / 0.5587 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.4385, allocations: 43.91 kB / 0.5587 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.4385, allocations: 20.3 kB / 0.5587 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.4388, allocations: 59.61 kB / 0.5588 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.4389, allocations: 20 kB / 0.5588 GB, free: 4.469 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.0001886/0.439, allocations: 181.3 kB / 0.559 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.4391, allocations: 27.81 kB / 0.559 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.4397, allocations: 296 kB / 0.5593 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.4397, allocations: 4 kB / 0.5593 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4397, allocations: 3.938 kB / 0.5593 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4397, allocations: 3.984 kB / 0.5593 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.4402, allocations: 268.6 kB / 0.5595 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.4402, allocations: 23.98 kB / 0.5596 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.4404, allocations: 23.97 kB / 0.5596 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4404, allocations: 0 / 0.5596 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.4404, allocations: 12 kB / 0.5596 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4404, allocations: 4 kB / 0.5596 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4404, allocations: 3.938 kB / 0.5596 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.4412, allocations: 0.5016 MB / 0.5601 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.4412, allocations: 39.69 kB / 0.5601 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.4413, allocations: 8 kB / 0.5601 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.4415, allocations: 15.97 kB / 0.5602 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.4416, allocations: 19.92 kB / 0.5602 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4417, allocations: 4 kB / 0.5602 GB, free: 2.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.442, allocations: 295.1 kB / 0.5605 GB, free: 2.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.442, allocations: 4 kB / 0.5605 GB, free: 2.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.4426, allocations: 87.88 kB / 0.5606 GB, free: 2.602 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.0003783/0.443, allocations: 155.1 kB / 0.5607 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000993/0.444, allocations: 426.7 kB / 0.5611 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.444, allocations: 0 / 0.5611 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.4444, allocations: 274.4 kB / 0.5614 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.445, allocations: 73.94 kB / 0.5614 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4462, allocations: 0.6204 MB / 0.562 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.4467, allocations: 0.8024 MB / 0.5628 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.4469, allocations: 66.91 kB / 0.5629 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.4469, allocations: 27.38 kB / 0.5629 GB, free: 32 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4469, allocations: 0 / 0.5629 GB, free: 32 kB / 398.1 MB Notification: Performance of Templates: time 0.01163/0.4585, allocations: 5.871 MB / 0.5687 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.702404676005244]