Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.0007489/0.0007489, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003814/0.003814, allocations: 154.4 kB / 24.7 MB, free: 8.922 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.8747/0.8747, allocations: 177 MB / 204.9 MB, free: 5.766 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.2301/0.2301, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 443.5 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.183e-05, allocations: 8.188 kB / 443.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.1804/0.1804, allocations: 1.847 MB / 445.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.1811, allocations: 0.7724 MB / 446.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.1811, allocations: 3.625 kB / 446.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1812, allocations: 50.38 kB / 446.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1813, allocations: 94.88 kB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.1815, allocations: 77.67 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1816, allocations: 281.2 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.607e-05/0.1816, allocations: 14.38 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1817, allocations: 124 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.1818, allocations: 110.2 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1818, allocations: 9.438 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.1819, allocations: 73.7 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.182, allocations: 69.28 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.182, allocations: 67.27 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1822, allocations: 289.2 kB / 447.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.1822, allocations: 0 / 447.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1822, allocations: 0 / 447.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.197e-06/0.1822, allocations: 0 / 447.3 MB, free: 42.9 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0004148/0.1826, allocations: 498.2 kB / 447.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1826, allocations: 10.56 kB / 447.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1827, allocations: 30.28 kB / 447.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1828, allocations: 183.2 kB / 448 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1828, allocations: 21.17 kB / 448 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1828, allocations: 24.06 kB / 448.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1832, allocations: 383.8 kB / 448.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1832, allocations: 3.938 kB / 448.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1832, allocations: 10.88 kB / 448.5 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.1832, allocations: 26.77 kB / 448.5 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1836, allocations: 371.8 kB / 448.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.1842, allocations: 0.6826 MB / 449.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1845, allocations: 257.2 kB / 449.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1846, allocations: 94.3 kB / 449.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1846, allocations: 2.844 kB / 449.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.1846, allocations: 33.89 kB / 449.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.1846, allocations: 0 / 449.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004075/0.185, allocations: 330.2 kB / 450.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.185, allocations: 54.25 kB / 450.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.1851, allocations: 201.3 kB / 450.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1851, allocations: 25.7 kB / 450.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.1852, allocations: 183.9 kB / 450.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1852, allocations: 66.19 kB / 450.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.1852, allocations: 62.75 kB / 450.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.1853, allocations: 323.4 kB / 451.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1854, allocations: 101.7 kB / 451.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1855, allocations: 186.6 kB / 451.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1858, allocations: 307 kB / 451.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1858, allocations: 0 / 451.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003219/0.1861, allocations: 332.3 kB / 452 MB, free: 40.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1861, allocations: 6.031 kB / 452 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1861, allocations: 2.969 kB / 452 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1861, allocations: 11.09 kB / 452 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.1864, allocations: 125.3 kB / 452.2 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006836/0.1871, allocations: 3.654 MB / 455.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.1872, allocations: 31.98 kB / 455.9 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1872, allocations: 11.69 kB / 455.9 MB, free: 36.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.1874, allocations: 177.4 kB / 456 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1874, allocations: 20.47 kB / 456.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.1877, allocations: 316.9 kB / 456.4 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1877, allocations: 2.875 kB / 456.4 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1877, allocations: 3.938 kB / 456.4 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1877, allocations: 3.938 kB / 456.4 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1878, allocations: 228.2 kB / 456.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1878, allocations: 3.188 kB / 456.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.188, allocations: 108.4 kB / 456.7 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.188, allocations: 6.844 kB / 456.7 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.188, allocations: 9.406 kB / 456.7 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006027/0.1886, allocations: 3.639 MB / 460.4 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1887, allocations: 3.375 kB / 460.4 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1889, allocations: 346.6 kB / 460.7 MB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.1889, allocations: 18 kB / 460.7 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1889, allocations: 5.922 kB / 460.7 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.189, allocations: 6.812 kB / 460.7 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.189, allocations: 18.17 kB / 460.8 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.189, allocations: 8.891 kB / 460.8 MB, free: 32.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.1891, allocations: 133.1 kB / 460.9 MB, free: 32.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1891, allocations: 0 / 460.9 MB, free: 32.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.1893, allocations: 93.88 kB / 461 MB, free: 32.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.1894, allocations: 137 kB / 461.1 MB, free: 32.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.1898, allocations: 316.8 kB / 461.4 MB, free: 32.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.1898, allocations: 0 / 461.4 MB, free: 32.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.1901, allocations: 190.2 kB / 461.6 MB, free: 32.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.1902, allocations: 24.08 kB / 461.6 MB, free: 32.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1907, allocations: 0.5583 MB / 462.2 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.1908, allocations: 184.4 kB / 462.4 MB, free: 31.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.1908, allocations: 23.19 kB / 462.4 MB, free: 31.9 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1908, allocations: 0 / 462.4 MB, free: 31.9 MB / 410.7 MB Notification: Performance of Templates: time 0.005766/0.1966, allocations: 10.08 MB / 472.5 MB, free: 31.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.834184982813895]