Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.001678/0.001678, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001398/0.001398, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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 1.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.88 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1016, allocations: 53.32 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1905/0.2921, allocations: 6.979 MB / 434.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.2971, allocations: 3.128 MB / 437.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.2978, allocations: 35.53 kB / 437.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.2993, allocations: 0.6812 MB / 438 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.3023, allocations: 1.382 MB / 439.4 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.3033, allocations: 0.5 MB / 439.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.3073, allocations: 3.206 MB / 443.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.3079, allocations: 380.5 kB / 443.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.309, allocations: 0.7847 MB / 444.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3105, allocations: 1.336 MB / 445.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.3108, allocations: 130.5 kB / 445.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3125, allocations: 0.9818 MB / 446.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009873/0.3135, allocations: 1.085 MB / 447.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.3145, allocations: 1.212 MB / 449 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.3186, allocations: 4.01 MB / 453 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3186, allocations: 1.031 kB / 453 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3186, allocations: 0 / 453 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.791e-05/0.3187, allocations: 0 / 453 MB, free: 0.5078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.007473/0.3262, allocations: 3.257 MB / 456.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3262, allocations: 9.812 kB / 456.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009224/0.3354, allocations: 2.022 MB / 458.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.3393, allocations: 1.597 MB / 459.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.3394, allocations: 119.5 kB / 460 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.3407, allocations: 300 kB / 460.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.3578, allocations: 8.223 MB / 468.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.358, allocations: 43.62 kB / 468.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.3583, allocations: 75.89 kB / 468.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/0.3609, allocations: 1.393 MB / 470 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.3813, allocations: 9.541 MB / 479.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04202/0.4233, allocations: 30.56 MB / 0.4982 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.4365, allocations: 4.336 MB / 0.5024 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.4399, allocations: 2.082 MB / 0.5044 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.511e-05/0.44, allocations: 15.98 kB / 0.5044 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.4401, allocations: 50.5 kB / 0.5045 GB, free: 5.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.907e-06/0.4401, allocations: 0 / 0.5045 GB, free: 5.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.05053/0.4906, allocations: 18.43 MB / 0.5225 GB, free: 2.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002984/0.4936, allocations: 3.241 MB / 0.5256 GB, free: 15.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004757/0.4983, allocations: 2.987 MB / 0.5286 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006406/0.499, allocations: 41.7 kB / 0.5286 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.5007, allocations: 2.159 MB / 0.5307 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008973/0.5016, allocations: 0.5932 MB / 0.5313 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.5032, allocations: 1.02 MB / 0.5323 GB, free: 8.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5034, allocations: 301.1 kB / 0.5326 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00432/0.5077, allocations: 2.633 MB / 0.5351 GB, free: 5.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007247/0.5149, allocations: 5.588 MB / 0.5406 GB, free: 14.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/0.5275, allocations: 8.621 MB / 0.549 GB, free: 4.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.825e-05/0.5276, allocations: 28 kB / 0.5491 GB, free: 4.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03522/0.5628, allocations: 11.93 MB / 0.5607 GB, free: 8.395 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.5629, allocations: 59.97 kB / 0.5608 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02459/0.5875, allocations: 7.138 MB / 0.5677 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02386/0.6114, allocations: 4.728 MB / 0.5723 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004703/0.6161, allocations: 1.24 MB / 0.5736 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.6358, allocations: 12.61 MB / 0.5859 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/0.641, allocations: 0.5733 MB / 0.5864 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007036/0.6417, allocations: 323.9 kB / 0.5867 GB, free: 13.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002502/0.6442, allocations: 1.414 MB / 0.5881 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005822/0.6448, allocations: 262.2 kB / 0.5884 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.6456, allocations: 414.9 kB / 0.5888 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01299/0.6586, allocations: 5.002 MB / 0.5937 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.6586, allocations: 4 kB / 0.5937 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.6586, allocations: 15.92 kB / 0.5937 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.6677, allocations: 5.346 MB / 0.5989 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.6677, allocations: 3.938 kB / 0.5989 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.6696, allocations: 367.4 kB / 0.5992 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009394/0.679, allocations: 2.388 MB / 0.6016 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.6792, allocations: 43.95 kB / 0.6016 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.6904, allocations: 9.443 MB / 0.6108 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002441/0.6928, allocations: 3.067 MB / 0.6138 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2224/0.9152, allocations: 8.764 MB / 0.6224 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008293/0.916, allocations: 331.9 kB / 0.6227 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/0.9164, allocations: 33.67 kB / 0.6227 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/0.9188, allocations: 323.6 kB / 0.6231 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004776/0.9193, allocations: 99.88 kB / 0.6231 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/0.9195, allocations: 54.91 kB / 0.6232 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003294/0.9227, allocations: 1.862 MB / 0.625 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9227, allocations: 0 / 0.625 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004933/0.9277, allocations: 0.9999 MB / 0.626 GB, free: 162.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004524/0.9281, allocations: 166.3 kB / 0.6262 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01267/0.9408, allocations: 7.193 MB / 0.6332 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9408, allocations: 1.031 kB / 0.6332 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005653/0.9465, allocations: 3.564 MB / 0.6367 GB, free: 158.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.9486, allocations: 309.6 kB / 0.637 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.9586, allocations: 8.197 MB / 0.645 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.9602, allocations: 2.293 MB / 0.6472 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002952/0.9631, allocations: 1.667 MB / 0.6488 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/0.9638, allocations: 197.1 kB / 0.649 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of SimCode: time 9.81e-07/0.9638, allocations: 0 / 0.649 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.05546/1.019, allocations: 43.68 MB / 0.6917 GB, free: 112.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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: 6.582148572430015]