Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.001699/0.001699, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002019/0.002019, allocations: 208.3 kB / 20.75 MB, free: 2.293 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.719/1.719, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.3009/0.3009, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] 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.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 71.91 kB / 0.4914 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1651, allocations: 65.99 MB / 0.5559 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004204/0.1693, allocations: 2.03 MB / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1718, allocations: 1.16 MB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.172, allocations: 4 kB / 0.559 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.1724, allocations: 59.59 kB / 0.5591 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1727, allocations: 83.52 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.1736, allocations: 175 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005877/0.1742, allocations: 334.5 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.1743, allocations: 24.75 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.1746, allocations: 123.4 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.1749, allocations: 143.2 kB / 0.5599 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.175, allocations: 8 kB / 0.5599 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.1755, allocations: 215.7 kB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1756, allocations: 71.67 kB / 0.5602 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1758, allocations: 131.1 kB / 0.5603 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007666/0.1766, allocations: 406.3 kB / 0.5607 GB, free: 328 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1766, allocations: 0 / 0.5607 GB, free: 328 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1766, allocations: 0 / 0.5607 GB, free: 328 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1766, allocations: 0 / 0.5607 GB, free: 328 kB / 414.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.001392/0.178, allocations: 0.6348 MB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.178, allocations: 16.03 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.1785, allocations: 68.66 kB / 0.5614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.1788, allocations: 267.5 kB / 0.5617 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1789, allocations: 16.56 kB / 0.5617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.1789, allocations: 28 kB / 0.5617 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.1797, allocations: 441.8 kB / 0.5621 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1797, allocations: 0 / 0.5621 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1798, allocations: 12 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1798, allocations: 12.56 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.1806, allocations: 325.9 kB / 0.5625 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.1824, allocations: 1.097 MB / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.183, allocations: 239.7 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.1833, allocations: 110.4 kB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.1833, allocations: 4 kB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.1834, allocations: 38.56 kB / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1834, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.001195/0.1846, allocations: 361.2 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.1846, allocations: 110.8 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.1851, allocations: 401.6 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.1852, allocations: 29.7 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1853, allocations: 196 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.1854, allocations: 51.56 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1855, allocations: 65.89 kB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1857, allocations: 346.9 kB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.186, allocations: 124.1 kB / 0.5655 GB, free: 11.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.1864, allocations: 231.8 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.1872, allocations: 371.2 kB / 0.5661 GB, free: 10.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1872, allocations: 0 / 0.5661 GB, free: 10.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009374/0.1881, allocations: 401 kB / 0.5665 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1882, allocations: 4.094 kB / 0.5665 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/0.1882, allocations: 31.88 kB / 0.5665 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.1882, allocations: 4 kB / 0.5665 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.1885, allocations: 52.39 kB / 0.5666 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.1885, allocations: 19.94 kB / 0.5666 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.1888, allocations: 59.59 kB / 0.5666 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.1889, allocations: 12 kB / 0.5666 GB, free: 9.824 MB / 430.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.0002324/0.1891, allocations: 179.9 kB / 0.5668 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1892, allocations: 27.81 kB / 0.5668 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.1899, allocations: 292 kB / 0.5671 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1899, allocations: 4 kB / 0.5671 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1899, allocations: 3.938 kB / 0.5671 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1899, allocations: 0 / 0.5671 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1904, allocations: 297.5 kB / 0.5674 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.1905, allocations: 20 kB / 0.5674 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1906, allocations: 23.97 kB / 0.5674 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1906, allocations: 0 / 0.5674 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.1906, allocations: 11.98 kB / 0.5675 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.1906, allocations: 4 kB / 0.5675 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1906, allocations: 7.875 kB / 0.5675 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.1915, allocations: 0.5016 MB / 0.568 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1916, allocations: 116.8 kB / 0.5681 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.1916, allocations: 0 / 0.5681 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1919, allocations: 19.98 kB / 0.5681 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.192, allocations: 23.91 kB / 0.5681 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.192, allocations: 7.984 kB / 0.5681 GB, free: 8.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.1923, allocations: 291.1 kB / 0.5684 GB, free: 7.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1923, allocations: 4 kB / 0.5684 GB, free: 7.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.1929, allocations: 91.88 kB / 0.5685 GB, free: 7.828 MB / 430.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.0003543/0.1932, allocations: 163.1 kB / 0.5686 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.1941, allocations: 422.7 kB / 0.5691 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1941, allocations: 0 / 0.5691 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.1945, allocations: 274.1 kB / 0.5693 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.1951, allocations: 65.72 kB / 0.5694 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1964, allocations: 0.6119 MB / 0.57 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1969, allocations: 0.8026 MB / 0.5708 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.197, allocations: 66.91 kB / 0.5708 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.1971, allocations: 23.42 kB / 0.5708 GB, free: 5.281 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1971, allocations: 0 / 0.5708 GB, free: 5.281 MB / 430.1 MB Notification: Performance of Templates: time 0.01213/0.2092, allocations: 5.831 MB / 0.5765 GB, free: 15.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.868002329021692]