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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005704/0.005704, allocations: 152.6 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8733/0.8733, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] 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=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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 443.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.439e-05, allocations: 2.281 kB / 443.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.1788/0.1788, allocations: 1.984 MB / 445.4 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1799, allocations: 1.046 MB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1799, allocations: 2.594 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1801, allocations: 60.48 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1803, allocations: 76.75 kB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1806, allocations: 183.2 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1808, allocations: 348.1 kB / 447.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1809, allocations: 10.81 kB / 447.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1811, allocations: 165.6 kB / 447.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1812, allocations: 117.6 kB / 447.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1812, allocations: 10.34 kB / 447.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1814, allocations: 147.4 kB / 447.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.1814, allocations: 74.89 kB / 447.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.1815, allocations: 85.28 kB / 447.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1818, allocations: 398.2 kB / 448.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1818, allocations: 3.156 kB / 448.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1818, allocations: 1.531 kB / 448.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1818, allocations: 0 / 448.1 MB, free: 42.48 MB / 410.7 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.0005953/0.1824, allocations: 0.5645 MB / 448.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1824, allocations: 8.781 kB / 448.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.1826, allocations: 63.2 kB / 448.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1827, allocations: 197.9 kB / 449 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1828, allocations: 18.83 kB / 449 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1828, allocations: 33.31 kB / 449 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.1831, allocations: 435.9 kB / 449.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1831, allocations: 2.469 kB / 449.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1832, allocations: 11.09 kB / 449.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1832, allocations: 15.45 kB / 449.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1835, allocations: 326.5 kB / 449.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.1841, allocations: 0.9466 MB / 450.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1844, allocations: 233.2 kB / 451 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.1845, allocations: 107.5 kB / 451.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1845, allocations: 5.891 kB / 451.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.838e-06/0.1845, allocations: 45.38 kB / 451.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.1845, allocations: 0 / 451.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004704/0.185, allocations: 339 kB / 451.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.185, allocations: 107.1 kB / 451.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1851, allocations: 259.5 kB / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1851, allocations: 29.7 kB / 451.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.1852, allocations: 212.5 kB / 452 MB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1852, allocations: 52.56 kB / 452.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1853, allocations: 60.48 kB / 452.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.903e-05/0.1853, allocations: 335.3 kB / 452.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1854, allocations: 121 kB / 452.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1856, allocations: 233.8 kB / 452.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.186, allocations: 367.3 kB / 453.2 MB, free: 39.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.186, allocations: 4 kB / 453.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004276/0.1864, allocations: 390.8 kB / 453.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1864, allocations: 8.656 kB / 453.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.1864, allocations: 24.17 kB / 453.6 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1864, allocations: 5.531 kB / 453.6 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1866, allocations: 45.08 kB / 453.7 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1866, allocations: 9.75 kB / 453.7 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1867, allocations: 41.53 kB / 453.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1867, allocations: 22.7 kB / 453.7 MB, free: 39.28 MB / 410.7 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.0001002/0.1868, allocations: 176.6 kB / 453.9 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.1868, allocations: 24.33 kB / 453.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.1871, allocations: 269.5 kB / 454.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1871, allocations: 2.875 kB / 454.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1871, allocations: 3.938 kB / 454.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1871, allocations: 4 kB / 454.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1873, allocations: 240 kB / 454.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.1874, allocations: 24.12 kB / 454.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.1874, allocations: 24.25 kB / 454.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1874, allocations: 2.875 kB / 454.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1874, allocations: 6.781 kB / 454.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1874, allocations: 2.969 kB / 454.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1874, allocations: 0 / 454.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1877, allocations: 0.4941 MB / 455 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.1878, allocations: 27.58 kB / 455 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1878, allocations: 7.094 kB / 455 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1879, allocations: 15.16 kB / 455 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.188, allocations: 19.05 kB / 455 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.188, allocations: 5.781 kB / 455.1 MB, free: 38.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.1881, allocations: 176.4 kB / 455.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1881, allocations: 4 kB / 455.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.1884, allocations: 115.9 kB / 455.3 MB, free: 38.38 MB / 410.7 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.0001945/0.1886, allocations: 158.4 kB / 455.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.1889, allocations: 425.1 kB / 455.9 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1889, allocations: 3.938 kB / 455.9 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1891, allocations: 268.1 kB / 456.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1894, allocations: 31.77 kB / 456.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.19, allocations: 0.5948 MB / 456.8 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.42e-05/0.1901, allocations: 185.5 kB / 457 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1901, allocations: 24.19 kB / 457 MB, free: 37.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1901, allocations: 0 / 457 MB, free: 37.38 MB / 410.7 MB Notification: Performance of Templates: time 0.003625/0.1937, allocations: 4.842 MB / 461.9 MB, free: 36.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.9592730132862926]