Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.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.001579/0.001579, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.002164/0.002164, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.102/1.102, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=800,variableFilter="time|controller.speed_PI.x|controller.positionToSpeed.x|controller.position_PI.x|controller.busdelay.y|gearbox.phi_rel|gearbox.w_rel|slewRateLimiter.y|rodMass.s|rodMass.v|elastoGap.s_rel|elastoGap.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=800,variableFilter="time|controller.speed_PI.x|controller.positionToSpeed.x|controller.position_PI.x|controller.busdelay.y|gearbox.phi_rel|gearbox.w_rel|slewRateLimiter.y|rodMass.s|rodMass.v|elastoGap.s_rel|elastoGap.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.825e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01294/0.01296, allocations: 13.49 MB / 286.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1389/0.1519, allocations: 5.307 MB / 291.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.1545, allocations: 102.4 kB / 291.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.1574, allocations: 0.9676 MB / 292.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.1618, allocations: 1.279 MB / 294.1 MB, free: 15.03 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.1648, allocations: 0.9976 MB / 295.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006519/0.1713, allocations: 4.461 MB / 299.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.1745, allocations: 1.777 MB / 301.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006572/0.1811, allocations: 3.347 MB / 304.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.185, allocations: 1.964 MB / 306.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.1866, allocations: 0.5489 MB / 307.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.1894, allocations: 0.8685 MB / 308 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.191, allocations: 1.402 MB / 309.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.194, allocations: 1.521 MB / 311 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.1996, allocations: 3.775 MB / 314.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1996, allocations: 0 / 314.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1996, allocations: 0 / 314.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.1998, allocations: 0 / 314.7 MB, free: 5.723 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.006015/0.2058, allocations: 4.461 MB / 319.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2059, allocations: 15.98 kB / 319.2 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.207, allocations: 0.7318 MB / 319.9 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/0.2103, allocations: 2.489 MB / 322.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.2106, allocations: 417.1 kB / 322.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.211, allocations: 321.9 kB / 323.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004417/0.2154, allocations: 2.545 MB / 325.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-05/0.2155, allocations: 14.48 kB / 325.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.2157, allocations: 124 kB / 325.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.2158, allocations: 153.4 kB / 326 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.2187, allocations: 1.337 MB / 327.3 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.2344, allocations: 11.36 MB / 338.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2364, allocations: 0.9722 MB / 339.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/0.2373, allocations: 0.5328 MB / 340.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.2375, allocations: 65.97 kB / 340.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.2386, allocations: 0.7908 MB / 341 MB, free: 11.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=183): time 3.847e-06/0.2387, allocations: 0 / 341 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=227): time 0.01257/0.2512, allocations: 6.771 MB / 347.8 MB, free: 4.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002045/0.2533, allocations: 2.71 MB / 350.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.2553, allocations: 1.748 MB / 352.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.2556, allocations: 81.69 kB / 352.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.2569, allocations: 1.651 MB / 354 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/0.2575, allocations: 0.7966 MB / 354.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/0.2581, allocations: 483.9 kB / 355.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2582, allocations: 484.7 kB / 355.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/0.259, allocations: 433 kB / 356.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.2603, allocations: 1.42 MB / 357.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.2623, allocations: 1.881 MB / 359.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.2624, allocations: 8 kB / 359.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=335) (initialization): time 0.003768/0.2661, allocations: 2.182 MB / 361.7 MB, free: 5.605 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.2662, allocations: 12 kB / 361.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.2662, allocations: 23.92 kB / 361.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.2669, allocations: 330.8 kB / 362 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.2682, allocations: 0.6201 MB / 362.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.2719, allocations: 4.765 MB / 367.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.2733, allocations: 151.9 kB / 367.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.2734, allocations: 108 kB / 367.6 MB, free: 15.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,motor.uniformNoise.actualGlobalSeed,motor.uniformNoise.localSeed,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 299 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0008856/0.2743, allocations: 327.2 kB / 368 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/0.2747, allocations: 330.3 kB / 368.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.2774, allocations: 1.826 MB / 370.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2774, allocations: 20 kB / 370.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.2774, allocations: 4 kB / 370.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.2774, allocations: 11.95 kB / 370.2 MB, free: 12.8 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.2862, allocations: 6.18 MB / 376.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2862, allocations: 0 / 376.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009456/0.2871, allocations: 383.6 kB / 376.7 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008097/0.2879, allocations: 406 kB / 377.1 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.2881, allocations: 51.97 kB / 377.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.2929, allocations: 6.929 MB / 384.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001427/0.2944, allocations: 2.361 MB / 386.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.2983, allocations: 2.499 MB / 388.9 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/0.2992, allocations: 0.498 MB / 389.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.2994, allocations: 48 kB / 389.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.3, allocations: 99.89 kB / 389.6 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.3003, allocations: 193.6 kB / 389.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.3004, allocations: 63.97 kB / 389.8 MB, free: 8.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.3016, allocations: 0.9884 MB / 390.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3016, allocations: 0 / 390.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002049/0.3037, allocations: 0.7421 MB / 391.6 MB, free: 6.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.3049, allocations: 0.5777 MB / 392.1 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.3082, allocations: 1.998 MB / 394.1 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3082, allocations: 7.938 kB / 394.1 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.31, allocations: 1.499 MB / 395.6 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.3122, allocations: 0.6451 MB / 396.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/0.3208, allocations: 6.005 MB / 402.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.3215, allocations: 0.8212 MB / 403.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00159/0.3231, allocations: 492 kB / 403.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.3236, allocations: 196.4 kB / 403.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.044e-06/0.3236, allocations: 0 / 403.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Templates: time 0.1718/0.4954, allocations: 43.09 MB / 446.9 MB, free: 108.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ActuatorWithNoise/ActuatorWithNoise.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: 5.771469013765454]