Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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.00101/0.00101, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001139/0.001139, allocations: 160.5 kB / 24.55 MB, free: 16 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.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.566 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.2685/0.2685, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcpm.iA|dcpm.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcpm.iA|dcpm.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.783e-05, allocations: 3.016 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.004126/0.004144, allocations: 4.43 MB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.006385, allocations: 1.612 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.006716, allocations: 23.81 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.007307, allocations: 289.8 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.007564, allocations: 178.4 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.007937, allocations: 275.6 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.008565, allocations: 0.8536 MB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.008878, allocations: 262.7 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.009306, allocations: 470.8 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.009527, allocations: 247.1 kB / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.009603, allocations: 80 kB / 387.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.009667, allocations: 80 kB / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.00975, allocations: 175.3 kB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.009896, allocations: 243.4 kB / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.01033, allocations: 0.5213 MB / 388.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.01033, allocations: 0 / 388.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.01033, allocations: 3.984 kB / 388.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.01034, allocations: 4 kB / 388.4 MB, free: 8.355 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0009734/0.01131, allocations: 1.052 MB / 389.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.01135, allocations: 12.03 kB / 389.5 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.01147, allocations: 136.4 kB / 389.6 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.0119, allocations: 446 kB / 390.1 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.01193, allocations: 49.69 kB / 390.1 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.01199, allocations: 68.31 kB / 390.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.01255, allocations: 0.5564 MB / 390.7 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.01257, allocations: 4.141 kB / 390.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.0126, allocations: 24.38 kB / 390.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.01262, allocations: 23.92 kB / 390.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.01292, allocations: 215.7 kB / 391 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.01467, allocations: 1.999 MB / 393 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.01509, allocations: 265.4 kB / 393.3 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.0152, allocations: 87.64 kB / 393.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.01523, allocations: 4 kB / 393.4 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01525, allocations: 41.92 kB / 393.4 MB, free: 3.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.323e-06/0.01526, allocations: 3.938 kB / 393.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.000953/0.01621, allocations: 0.7065 MB / 394.1 MB, free: 2.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.01623, allocations: 55.41 kB / 394.2 MB, free: 2.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.01659, allocations: 498.6 kB / 394.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01661, allocations: 29.7 kB / 394.7 MB, free: 1.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.01678, allocations: 419.2 kB / 395.1 MB, free: 1.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.01684, allocations: 126.9 kB / 395.2 MB, free: 1.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.01692, allocations: 79.86 kB / 395.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01707, allocations: 0.5313 MB / 395.8 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.01718, allocations: 77.64 kB / 395.9 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01733, allocations: 173.8 kB / 396.1 MB, free: 372 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.01757, allocations: 244.3 kB / 396.3 MB, free: 84 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01757, allocations: 0 / 396.3 MB, free: 84 kB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003823/0.01795, allocations: 348.4 kB / 396.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01796, allocations: 4 kB / 396.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01797, allocations: 7.938 kB / 396.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.01808, allocations: 23.97 kB / 396.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01828, allocations: 95.88 kB / 396.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006963/0.01898, allocations: 1.732 MB / 398.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01909, allocations: 15.94 kB / 398.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.0191, allocations: 16 kB / 398.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001533/0.01926, allocations: 191.8 kB / 398.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001367/0.01939, allocations: 185.6 kB / 398.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002226/0.01962, allocations: 258 kB / 399.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.01962, allocations: 4 kB / 399.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0003455/0.01996, allocations: 341.5 kB / 399.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.01997, allocations: 8 kB / 399.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01998, allocations: 4 kB / 399.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/0.02004, allocations: 28.02 kB / 399.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.02022, allocations: 95.83 kB / 399.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006328/0.02085, allocations: 1.736 MB / 401.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.02095, allocations: 12 kB / 401.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.02096, allocations: 20 kB / 401.4 MB, free: 10.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.02108, allocations: 288.1 kB / 401.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.02114, allocations: 67.61 kB / 401.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.02119, allocations: 52.84 kB / 401.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02119, allocations: 4 kB / 401.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.02119, allocations: 0 / 401.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0212, allocations: 0 / 401.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.02221, allocations: 0.8248 MB / 402.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02221, allocations: 0 / 402.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.02244, allocations: 63.91 kB / 402.7 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.679e-05/0.02251, allocations: 27.67 kB / 402.7 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.02253, allocations: 4 kB / 402.7 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007718/0.0233, allocations: 1.732 MB / 404.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.0233, allocations: 4 kB / 404.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.02385, allocations: 495.3 kB / 404.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.02391, allocations: 55.59 kB / 405 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.02395, allocations: 4 kB / 405 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.02411, allocations: 19.98 kB / 405 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.02417, allocations: 27.89 kB / 405 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.02419, allocations: 16.06 kB / 405.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.02448, allocations: 326.8 kB / 405.4 MB, free: 6.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02448, allocations: 0 / 405.4 MB, free: 6.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005577/0.02504, allocations: 176 kB / 405.5 MB, free: 6.246 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.y) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * 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 {(1,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.0001022/0.02514, allocations: 114.1 kB / 405.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.02594, allocations: 0.6736 MB / 406.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.02594, allocations: 4 kB / 406.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.02617, allocations: 277.3 kB / 406.6 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.02668, allocations: 105.9 kB / 406.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.02859, allocations: 1.159 MB / 407.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.0287, allocations: 130.1 kB / 408 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.02888, allocations: 64.23 kB / 408.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.02898, allocations: 32.5 kB / 408.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02898, allocations: 0 / 408.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of Templates: time 0.009572/0.03856, allocations: 5.445 MB / 413.5 MB, free: 14.18 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Machines/DCPM_SpeedControlled/DCPM_SpeedControlled.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: 3.377138808835298]