Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 121.1 kB / 20.44 MB, free: 1.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 210.5 kB / 23.74 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2635/0.2635, allocations: 46.94 MB / 360.9 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.89 kB / 0.4967 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 66.03 MB / 0.5612 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003493/0.3801, allocations: 2.154 MB / 0.5633 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3821, allocations: 1.238 MB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.3821, allocations: 3.938 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3824, allocations: 71.58 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.3826, allocations: 91.44 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.3832, allocations: 187.3 kB / 0.5648 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.3838, allocations: 445.9 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.3839, allocations: 12.94 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.3842, allocations: 163.2 kB / 0.5654 GB, free: 64 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3845, allocations: 183.1 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3845, allocations: 16 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.3849, allocations: 231.6 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.385, allocations: 95.47 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3852, allocations: 166.9 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.3859, allocations: 0.5001 MB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3859, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3859, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3859, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001201/0.3871, allocations: 0.6376 MB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3871, allocations: 12.03 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.3875, allocations: 76.61 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.3879, allocations: 241.8 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.3879, allocations: 25.38 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.388, allocations: 44.31 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.389, allocations: 0.5742 MB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.389, allocations: 0 / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.389, allocations: 16 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.3891, allocations: 17 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/0.3899, allocations: 435.5 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.392, allocations: 1.351 MB / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.3926, allocations: 267.5 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.3929, allocations: 130.5 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3929, allocations: 11.98 kB / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.393, allocations: 34.56 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.824e-06/0.393, allocations: 3.938 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001259/0.3942, allocations: 457.1 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.3943, allocations: 106.8 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.3949, allocations: 0.4979 MB / 0.5713 GB, free: 9.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.395, allocations: 37.69 kB / 0.5714 GB, free: 9.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3952, allocations: 208.3 kB / 0.5716 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.3952, allocations: 59.64 kB / 0.5716 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3953, allocations: 49.7 kB / 0.5717 GB, free: 9.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3955, allocations: 358.9 kB / 0.572 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.3959, allocations: 123.8 kB / 0.5721 GB, free: 8.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.3962, allocations: 177.3 kB / 0.5723 GB, free: 8.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.3969, allocations: 303.6 kB / 0.5726 GB, free: 8.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3969, allocations: 0 / 0.5726 GB, free: 8.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008648/0.3977, allocations: 385 kB / 0.573 GB, free: 8.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3978, allocations: 11.94 kB / 0.573 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.97e-05/0.3978, allocations: 28 kB / 0.573 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3979, allocations: 4 kB / 0.573 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.3981, allocations: 31.95 kB / 0.573 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3981, allocations: 4 kB / 0.573 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3983, allocations: 55.61 kB / 0.5731 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.3984, allocations: 20.05 kB / 0.5731 GB, free: 7.887 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002074/0.3986, allocations: 189.6 kB / 0.5733 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3987, allocations: 43.66 kB / 0.5733 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.3995, allocations: 372.6 kB / 0.5737 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3995, allocations: 7.984 kB / 0.5737 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3995, allocations: 0 / 0.5737 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3995, allocations: 4 kB / 0.5737 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.4001, allocations: 336.4 kB / 0.574 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-05/0.4002, allocations: 35.98 kB / 0.5741 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4003, allocations: 27.91 kB / 0.5741 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4004, allocations: 3.938 kB / 0.5741 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4004, allocations: 15.94 kB / 0.5741 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4004, allocations: 0 / 0.5741 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4004, allocations: 3.938 kB / 0.5741 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.4013, allocations: 0.5718 MB / 0.5747 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4014, allocations: 47.64 kB / 0.5747 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.4014, allocations: 11.94 kB / 0.5747 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.4017, allocations: 15.97 kB / 0.5747 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.4018, allocations: 19.98 kB / 0.5748 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.4018, allocations: 19.98 kB / 0.5748 GB, free: 6.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004535/0.4023, allocations: 379 kB / 0.5751 GB, free: 5.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 0.5751 GB, free: 5.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005122/0.4028, allocations: 107.8 kB / 0.5752 GB, free: 5.633 MB / 414.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003538/0.4031, allocations: 155 kB / 0.5754 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.4041, allocations: 0.5109 MB / 0.5759 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4041, allocations: 0 / 0.5759 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.4047, allocations: 379.1 kB / 0.5762 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.4054, allocations: 105.6 kB / 0.5763 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4072, allocations: 0.8216 MB / 0.5771 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.4078, allocations: 0.8495 MB / 0.578 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.408, allocations: 63.25 kB / 0.578 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.408, allocations: 31.36 kB / 0.5781 GB, free: 2.555 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.408, allocations: 0 / 0.5781 GB, free: 2.555 MB / 414.1 MB Notification: Performance of Templates: time 0.01534/0.4234, allocations: 7.349 MB / 0.5852 GB, free: 11.31 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.854388064937666]