Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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.0009878/0.0009878, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001059/0.001059, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9221/0.9221, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5557/0.5557, allocations: 88.07 MB / 349.9 MB, free: 14.3 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=2000,variableFilter="revolute.[0-9,]+..angle|revolute.[0-9,]+..phi|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=2000,variableFilter="revolute.[0-9,]+..angle|revolute.[0-9,]+..phi|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.67e-05, allocations: 5.484 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01051/0.01053, allocations: 11.88 MB / 463.5 MB, free: 25.8 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007719/0.01825, allocations: 4.398 MB / 467.9 MB, free: 23.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.01994, allocations: 100.7 kB / 468 MB, free: 23.01 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.02407, allocations: 3.307 MB / 471.3 MB, free: 21.63 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.02893, allocations: 2.221 MB / 473.5 MB, free: 20.59 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.03109, allocations: 1.109 MB / 474.7 MB, free: 20.13 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.008726/0.03982, allocations: 8.268 MB / 482.9 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006628/0.04645, allocations: 4.569 MB / 487.5 MB, free: 14.62 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007208/0.05366, allocations: 3.238 MB / 490.7 MB, free: 13.26 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006301/0.05996, allocations: 3.437 MB / 494.2 MB, free: 12.33 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002102/0.06206, allocations: 441.8 kB / 494.6 MB, free: 12.33 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.0662, allocations: 1.259 MB / 495.9 MB, free: 12.13 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003995/0.07019, allocations: 2.691 MB / 498.5 MB, free: 10.01 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003061/0.07326, allocations: 1.675 MB / 0.4885 GB, free: 8.328 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006919/0.08017, allocations: 5.946 MB / 0.4943 GB, free: 2.363 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.08018, allocations: 0 / 0.4943 GB, free: 2.363 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08018, allocations: 0 / 0.4943 GB, free: 2.363 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001701/0.08035, allocations: 0 / 0.4943 GB, free: 2.363 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1559 * Number of variables: 1559 Notification: Performance of Generate backend data structure: time 0.01124/0.09159, allocations: 7.072 MB / 0.5012 GB, free: 11.22 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.09164, allocations: 8.031 kB / 0.5012 GB, free: 11.21 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02655/0.1182, allocations: 5.876 MB / 0.507 GB, free: 5.32 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009198/0.1274, allocations: 4.285 MB / 0.5111 GB, free: 0.9609 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.1276, allocations: 267.1 kB / 0.5114 GB, free: 0.6992 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.1286, allocations: 364.1 kB / 0.5117 GB, free: 352 kB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009559/0.1382, allocations: 6.926 MB / 0.5185 GB, free: 8.422 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.1383, allocations: 51.55 kB / 0.5186 GB, free: 8.371 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.1386, allocations: 167.9 kB / 0.5187 GB, free: 8.207 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001967/0.1406, allocations: 2.022 MB / 0.5207 GB, free: 6.184 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007076/0.1477, allocations: 3.775 MB / 0.5244 GB, free: 2.391 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/0.1759, allocations: 44.33 MB / 0.5677 GB, free: 4.797 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.1806, allocations: 2.31 MB / 0.5699 GB, free: 2.438 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.1817, allocations: 0.8143 MB / 0.5707 GB, free: 1.609 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007613/0.1893, allocations: 6.043 MB / 0.5766 GB, free: 11.53 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.1894, allocations: 62.64 kB / 0.5767 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=186): time 4.329e-06/0.1894, allocations: 0 / 0.5767 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of matching and sorting (n=218): time 0.03452/0.2239, allocations: 18.62 MB / 0.5949 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.224, allocations: 308 kB / 0.5952 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.2279, allocations: 4.164 MB / 0.5992 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.228, allocations: 57.7 kB / 0.5993 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.2298, allocations: 3.643 MB / 0.6028 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/0.2304, allocations: 0.9076 MB / 0.6037 GB, free: 15.59 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.2317, allocations: 1.431 MB / 0.6051 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2318, allocations: 476.8 kB / 0.6056 GB, free: 13.68 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.2332, allocations: 0.84 MB / 0.6064 GB, free: 12.83 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/0.237, allocations: 6.201 MB / 0.6124 GB, free: 4.234 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005875/0.2429, allocations: 7.545 MB / 0.6198 GB, free: 10.37 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.899e-05/0.2429, allocations: 32 kB / 0.6198 GB, free: 10.34 MB / 0.5418 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.0101/0.253, allocations: 6.996 MB / 0.6267 GB, free: 3.332 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.2531, allocations: 56.97 kB / 0.6267 GB, free: 3.277 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.2532, allocations: 120 kB / 0.6268 GB, free: 3.16 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003797/0.257, allocations: 1.786 MB / 0.6286 GB, free: 1.367 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/0.26, allocations: 1.532 MB / 0.6301 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007165/0.2672, allocations: 5.567 MB / 0.6355 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.2708, allocations: 0.6006 MB / 0.6361 GB, free: 9.539 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000614/0.2715, allocations: 368 kB / 0.6365 GB, free: 9.18 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (759): * Single equations (assignments): 755 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,39,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00173/0.2732, allocations: 0.6539 MB / 0.6371 GB, free: 8.512 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/0.2741, allocations: 461.4 kB / 0.6375 GB, free: 8.059 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/0.2795, allocations: 3.246 MB / 0.6407 GB, free: 4.793 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.2795, allocations: 24 kB / 0.6407 GB, free: 4.77 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.2795, allocations: 8 kB / 0.6407 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.2795, allocations: 11.95 kB / 0.6407 GB, free: 4.75 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2791/0.5586, allocations: 8.044 MB / 0.6486 GB, free: 160.1 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.5586, allocations: 2.906 kB / 0.6486 GB, free: 160.1 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.5598, allocations: 388.9 kB / 0.649 GB, free: 160.1 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004092/0.5639, allocations: 1.588 MB / 0.6505 GB, free: 160.1 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.5641, allocations: 44.67 kB / 0.6506 GB, free: 160.1 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/0.5713, allocations: 5.271 MB / 0.6557 GB, free: 158.2 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5714, allocations: 2.875 kB / 0.6557 GB, free: 158.2 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/0.5789, allocations: 4.403 MB / 0.66 GB, free: 157.4 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008823/0.5798, allocations: 443 kB / 0.6604 GB, free: 157.4 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.5803, allocations: 44.34 kB / 0.6605 GB, free: 157.4 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.582, allocations: 376.5 kB / 0.6608 GB, free: 157.4 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/0.5824, allocations: 142.1 kB / 0.661 GB, free: 157.3 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.5825, allocations: 61.7 kB / 0.661 GB, free: 157.3 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.002397/0.5849, allocations: 1.862 MB / 0.6629 GB, free: 157.1 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5849, allocations: 0 / 0.6629 GB, free: 157.1 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.00447/0.5894, allocations: 1.469 MB / 0.6643 GB, free: 157.1 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * 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 (159): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004365/0.5898, allocations: 196.8 kB / 0.6645 GB, free: 157 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.006053/0.5959, allocations: 3.748 MB / 0.6681 GB, free: 156.4 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5959, allocations: 2.594 kB / 0.6681 GB, free: 156.4 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.5979, allocations: 1.296 MB / 0.6694 GB, free: 156.1 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.6009, allocations: 0.5953 MB / 0.67 GB, free: 155.9 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.615, allocations: 9.49 MB / 0.6793 GB, free: 151.6 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.6166, allocations: 1.497 MB / 0.6807 GB, free: 151.1 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.002851/0.6194, allocations: 1.765 MB / 0.6824 GB, free: 151 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/0.6201, allocations: 270.2 kB / 0.6827 GB, free: 151 MB / 0.5575 GB Notification: Performance of SimCode: time 1.573e-06/0.6201, allocations: 0 / 0.6827 GB, free: 151 MB / 0.5575 GB Notification: Performance of Templates: time 0.05493/0.675, allocations: 54.57 MB / 0.736 GB, free: 111.9 MB / 0.5575 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.034632957074791]