Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.001849/0.001849, allocations: 73.48 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002305/0.002305, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 55.5 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09834, allocations: 53.34 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.01046/0.1088, allocations: 7.254 MB / 386.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005154/0.114, allocations: 2.571 MB / 388.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.1146, allocations: 31.88 kB / 388.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.116, allocations: 0.5161 MB / 389.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000946/0.1169, allocations: 460.5 kB / 389.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.1176, allocations: 371.5 kB / 390.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.1193, allocations: 1.499 MB / 391.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.1199, allocations: 396 kB / 392 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007712/0.1207, allocations: 0.5875 MB / 392.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.1214, allocations: 0.5167 MB / 393.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.1216, allocations: 140 kB / 393.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.1219, allocations: 176 kB / 393.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.1222, allocations: 279 kB / 393.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.1227, allocations: 0.5443 MB / 394.2 MB, free: 240 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.1246, allocations: 1.739 MB / 396 MB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1246, allocations: 0 / 396 MB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1246, allocations: 4 kB / 396 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1247, allocations: 3.938 kB / 396 MB, free: 14.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002541/0.1272, allocations: 1.462 MB / 397.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1272, allocations: 8.031 kB / 397.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006345/0.1279, allocations: 203.9 kB / 397.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.1292, allocations: 0.7174 MB / 398.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.1293, allocations: 77.94 kB / 398.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1295, allocations: 103.9 kB / 398.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.1311, allocations: 1.055 MB / 399.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.1312, allocations: 11.92 kB / 399.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.1313, allocations: 40 kB / 399.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1313, allocations: 24 kB / 399.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1326, allocations: 0.6324 MB / 400.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.1377, allocations: 3.555 MB / 403.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1387, allocations: 404.8 kB / 404.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.1391, allocations: 160.8 kB / 404.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1391, allocations: 4 kB / 404.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1391, allocations: 38.56 kB / 404.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.284e-06/0.1391, allocations: 0 / 404.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002459/0.1416, allocations: 1.181 MB / 405.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.1417, allocations: 136.5 kB / 405.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.1428, allocations: 0.8175 MB / 406.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.1428, allocations: 37.7 kB / 406.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.1433, allocations: 0.6124 MB / 407.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.1434, allocations: 158.7 kB / 407.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.1436, allocations: 138.6 kB / 407.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1438, allocations: 334 kB / 407.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.1441, allocations: 176.8 kB / 408 MB, free: 1.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.1448, allocations: 0.5701 MB / 408.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1458, allocations: 0.6868 MB / 409.3 MB, free: 408 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1458, allocations: 4 kB / 409.3 MB, free: 404 kB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001338/0.1472, allocations: 0.7437 MB / 410 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1472, allocations: 8 kB / 410 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.1472, allocations: 12 kB / 410 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.1473, allocations: 36.84 kB / 410.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.1479, allocations: 167.7 kB / 410.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1491, allocations: 1.272 MB / 411.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.1497, allocations: 39.88 kB / 411.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.1497, allocations: 39.94 kB / 411.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005857/0.1503, allocations: 354.1 kB / 411.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006262/0.1509, allocations: 0.5468 MB / 412.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009244/0.1518, allocations: 0.6715 MB / 413.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.1519, allocations: 0 / 413.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001229/0.1531, allocations: 0.7122 MB / 413.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1531, allocations: 10.34 kB / 413.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1531, allocations: 15.94 kB / 413.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.977e-05/0.1532, allocations: 37.44 kB / 413.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.1538, allocations: 171.7 kB / 414.1 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1549, allocations: 1.256 MB / 415.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.1554, allocations: 39.94 kB / 415.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.1554, allocations: 32 kB / 415.4 MB, free: 9.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0002249/0.1557, allocations: 236.8 kB / 415.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1558, allocations: 91.38 kB / 415.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008819/0.1567, allocations: 426.4 kB / 416.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1567, allocations: 8 kB / 416.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1567, allocations: 0 / 416.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1567, allocations: 0 / 416.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.1586, allocations: 1.145 MB / 417.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1586, allocations: 0 / 417.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.159, allocations: 79.83 kB / 417.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.1591, allocations: 20.86 kB / 417.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1591, allocations: 12 kB / 417.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.1601, allocations: 1.245 MB / 418.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1601, allocations: 0 / 418.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1614, allocations: 0.7112 MB / 419.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.1616, allocations: 127.4 kB / 419.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.1617, allocations: 11.94 kB / 419.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.1621, allocations: 23.98 kB / 419.5 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.1622, allocations: 39.81 kB / 419.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1622, allocations: 8 kB / 419.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007767/0.163, allocations: 0.5498 MB / 420.1 MB, free: 4.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.163, allocations: 0 / 420.1 MB, free: 4.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001178/0.1642, allocations: 348 kB / 420.5 MB, free: 4.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadTorque.phi,firstOrder.y,PID.I.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 (39): * Single equations (assignments): 38 * 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.0002021/0.1644, allocations: 130 kB / 420.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.1661, allocations: 0.941 MB / 421.5 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1661, allocations: 0 / 421.5 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.1666, allocations: 276.6 kB / 421.8 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.1677, allocations: 226.6 kB / 422 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.1708, allocations: 1.812 MB / 423.8 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.1714, allocations: 435.4 kB / 424.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004469/0.1718, allocations: 118.9 kB / 424.4 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.172, allocations: 60.48 kB / 424.4 MB, free: 328 kB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.172, allocations: 0 / 424.4 MB, free: 328 kB / 382.1 MB Notification: Performance of Templates: time 0.02117/0.1932, allocations: 10.6 MB / 435 MB, free: 5.938 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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: 4.808723635971546]