Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.0009149/0.0009149, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001014/0.001014, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9912/0.9912, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2693/0.2693, allocations: 32.8 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.254e-05, allocations: 6.25 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008448/0.008471, allocations: 10.6 MB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006353/0.01482, allocations: 4.018 MB / 390.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.01579, allocations: 79.56 kB / 390.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.01855, allocations: 2.761 MB / 393.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.02144, allocations: 1.89 MB / 395.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.02285, allocations: 0.7911 MB / 396.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003805/0.02666, allocations: 4.913 MB / 401.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.02934, allocations: 3.307 MB / 404.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.0312, allocations: 2.343 MB / 406.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.03291, allocations: 2.299 MB / 409 MB, free: 3.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.0332, allocations: 320 kB / 409.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.03448, allocations: 1.193 MB / 410.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.03583, allocations: 2.038 MB / 412.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008321/0.03666, allocations: 1.258 MB / 413.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.04026, allocations: 4.464 MB / 418.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.04026, allocations: 0 / 418.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.04026, allocations: 0 / 418.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.552e-05/0.04032, allocations: 0 / 418.3 MB, free: 10.24 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.004795/0.04511, allocations: 5.082 MB / 423.4 MB, free: 5.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.04516, allocations: 8.031 kB / 423.4 MB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004348/0.04951, allocations: 2.432 MB / 425.8 MB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.05153, allocations: 2.118 MB / 427.9 MB, free: 492 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.05165, allocations: 242.4 kB / 428.1 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/0.05213, allocations: 400.2 kB / 428.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006385/0.05851, allocations: 6.098 MB / 434.6 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.05858, allocations: 43.64 kB / 434.7 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.05881, allocations: 147.9 kB / 434.8 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/0.06021, allocations: 1.755 MB / 436.6 MB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.06595, allocations: 3.364 MB / 439.9 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2058/0.2718, allocations: 42.29 MB / 482.2 MB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.2761, allocations: 2.176 MB / 484.4 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.2769, allocations: 0.5601 MB / 485 MB, free: 58.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00518/0.282, allocations: 4.642 MB / 489.6 MB, free: 55.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2821, allocations: 59.84 kB / 489.7 MB, free: 55.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.807e-06/0.2821, allocations: 3.438 kB / 489.7 MB, free: 55.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01866/0.3007, allocations: 10.65 MB / 0.4886 GB, free: 52.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008108/0.3015, allocations: 2.056 MB / 0.4906 GB, free: 50.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.3051, allocations: 3.457 MB / 0.494 GB, free: 48.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.978e-05/0.3052, allocations: 47.3 kB / 0.494 GB, free: 48.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.3066, allocations: 3.317 MB / 0.4973 GB, free: 46.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/0.307, allocations: 0.697 MB / 0.4979 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.3081, allocations: 1.296 MB / 0.4992 GB, free: 44.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.3081, allocations: 482.1 kB / 0.4997 GB, free: 44.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3092, allocations: 0.6888 MB / 0.5003 GB, free: 44.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/0.3121, allocations: 6.166 MB / 0.5064 GB, free: 36.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/0.3168, allocations: 7.596 MB / 0.5138 GB, free: 28.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.784e-05/0.3169, allocations: 40.25 kB / 0.5138 GB, free: 28.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01283/0.3297, allocations: 6.69 MB / 0.5204 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.299e-05/0.3298, allocations: 59.44 kB / 0.5204 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006591/0.3364, allocations: 2.29 MB / 0.5226 GB, free: 26.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.3428, allocations: 1.911 MB / 0.5245 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.3456, allocations: 1.375 MB / 0.5259 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/0.3501, allocations: 4.798 MB / 0.5305 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/0.3537, allocations: 464.6 kB / 0.531 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/0.3541, allocations: 372.2 kB / 0.5313 GB, free: 18.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001306/0.3554, allocations: 0.6584 MB / 0.532 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.3558, allocations: 364.8 kB / 0.5323 GB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.3562, allocations: 353 kB / 0.5327 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002584/0.3588, allocations: 1.27 MB / 0.5339 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3588, allocations: 4 kB / 0.5339 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3588, allocations: 6.375 kB / 0.5339 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.3691, allocations: 6.7 MB / 0.5405 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3692, allocations: 4 kB / 0.5405 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.3699, allocations: 255.6 kB / 0.5407 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.3718, allocations: 0.6305 MB / 0.5413 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.3719, allocations: 43.97 kB / 0.5414 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.3744, allocations: 4.21 MB / 0.5455 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005781/0.375, allocations: 1.905 MB / 0.5473 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/0.3792, allocations: 2.897 MB / 0.5502 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/0.3798, allocations: 329.6 kB / 0.5505 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.3801, allocations: 39.98 kB / 0.5505 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.3812, allocations: 171.7 kB / 0.5507 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.3815, allocations: 116.7 kB / 0.5508 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.3816, allocations: 47.98 kB / 0.5508 GB, free: 14.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002505/0.3841, allocations: 1.479 MB / 0.5523 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3841, allocations: 0 / 0.5523 GB, free: 13.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004977/0.3891, allocations: 1.103 MB / 0.5534 GB, free: 12.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0003505/0.3894, allocations: 186.5 kB / 0.5535 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.3942, allocations: 3.639 MB / 0.5571 GB, free: 8.406 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3942, allocations: 0 / 0.5571 GB, free: 8.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.3958, allocations: 1.356 MB / 0.5584 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.3972, allocations: 440.6 kB / 0.5588 GB, free: 6.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/0.4062, allocations: 7.571 MB / 0.5662 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.4074, allocations: 1.177 MB / 0.5674 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002293/0.4097, allocations: 1.579 MB / 0.5689 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.4101, allocations: 227.5 kB / 0.5691 GB, free: 11.86 MB / 442.7 MB Notification: Performance of SimCode: time 2.094e-06/0.4101, allocations: 4 kB / 0.5691 GB, free: 11.86 MB / 442.7 MB Notification: Performance of Templates: time 0.1952/0.6054, allocations: 35.02 MB / 0.6033 GB, free: 127 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","",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.689457865897566]