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.001784/0.001784, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002182/0.002182, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.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.001552/0.001552, allocations: 55.86 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.009727/0.276, allocations: 7.267 MB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.2808, allocations: 2.559 MB / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006051/0.2814, allocations: 35.81 kB / 441.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.2827, allocations: 0.5186 MB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009487/0.2837, allocations: 464.5 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.2844, allocations: 366.5 kB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.286, allocations: 1.503 MB / 444.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/0.2866, allocations: 400 kB / 444.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007433/0.2874, allocations: 0.5797 MB / 445.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006443/0.288, allocations: 0.5167 MB / 445.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.2882, allocations: 140 kB / 445.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.2885, allocations: 176 kB / 446.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.2887, allocations: 286.9 kB / 446.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.2893, allocations: 0.5365 MB / 446.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.2912, allocations: 1.739 MB / 448.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2912, allocations: 0 / 448.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2912, allocations: 0 / 448.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.2912, allocations: 0 / 448.6 MB, free: 5.578 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002458/0.2937, allocations: 1.473 MB / 450.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2937, allocations: 8.031 kB / 450.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.2943, allocations: 200 kB / 450.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.2957, allocations: 0.7212 MB / 451 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.2958, allocations: 77.94 kB / 451.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.2959, allocations: 104 kB / 451.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.2976, allocations: 1.055 MB / 452.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.2976, allocations: 8 kB / 452.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/0.2977, allocations: 36 kB / 452.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.2977, allocations: 24 kB / 452.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2989, allocations: 0.6363 MB / 453 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.3038, allocations: 3.555 MB / 456.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.3047, allocations: 415.9 kB / 456.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.305, allocations: 152.8 kB / 457.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3051, allocations: 4 kB / 457.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3051, allocations: 34.56 kB / 457.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.3051, allocations: 4 kB / 457.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002301/0.3074, allocations: 1.185 MB / 458.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.3075, allocations: 136.5 kB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.3091, allocations: 0.8291 MB / 459.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.3092, allocations: 33.7 kB / 459.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.3098, allocations: 0.6047 MB / 459.9 MB, free: 9.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.3099, allocations: 158.7 kB / 460.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.3102, allocations: 138.6 kB / 460.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3104, allocations: 338 kB / 460.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.3109, allocations: 172.8 kB / 460.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009633/0.3119, allocations: 0.5661 MB / 461.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.3134, allocations: 0.6828 MB / 461.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3134, allocations: 0 / 461.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001961/0.3153, allocations: 0.7434 MB / 462.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3154, allocations: 8 kB / 462.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.3154, allocations: 12 kB / 462.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.3156, allocations: 32.86 kB / 462.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.3165, allocations: 175.7 kB / 462.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.3179, allocations: 1.268 MB / 464.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008428/0.3188, allocations: 39.94 kB / 464.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.3189, allocations: 35.94 kB / 464.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008521/0.3197, allocations: 350.1 kB / 464.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008431/0.3206, allocations: 0.5545 MB / 465.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00126/0.3218, allocations: 0.6676 MB / 465.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.621e-06/0.3218, allocations: 0 / 465.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001766/0.3236, allocations: 0.7198 MB / 466.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3236, allocations: 12.81 kB / 466.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.3236, allocations: 12 kB / 466.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.3238, allocations: 44.83 kB / 466.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/0.3246, allocations: 159.8 kB / 466.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.326, allocations: 1.26 MB / 468 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.3268, allocations: 39.94 kB / 468.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.3269, allocations: 40.16 kB / 468.1 MB, free: 0.7852 MB / 366.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.0002914/0.3271, allocations: 231 kB / 468.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3273, allocations: 95.38 kB / 468.4 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3284, allocations: 418.4 kB / 468.8 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3284, allocations: 4 kB / 468.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3284, allocations: 4 kB / 468.8 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3284, allocations: 3.984 kB / 468.8 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.3312, allocations: 1.141 MB / 470 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3312, allocations: 3.984 kB / 470 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.3317, allocations: 79.84 kB / 470.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.3318, allocations: 29.06 kB / 470.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.3319, allocations: 11.94 kB / 470.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.3332, allocations: 1.241 MB / 471.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3332, allocations: 0 / 471.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.3349, allocations: 0.7112 MB / 472 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.3353, allocations: 123.4 kB / 472.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.3355, allocations: 12 kB / 472.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.3359, allocations: 24.11 kB / 472.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.336, allocations: 31.89 kB / 472.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.3361, allocations: 12 kB / 472.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.3371, allocations: 0.5498 MB / 472.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3371, allocations: 0 / 472.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001916/0.3391, allocations: 348 kB / 473.1 MB, free: 11.52 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.0002438/0.3393, allocations: 127 kB / 473.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.3416, allocations: 0.9345 MB / 474.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3416, allocations: 0 / 474.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.3422, allocations: 283.2 kB / 474.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.3437, allocations: 218.2 kB / 474.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.3479, allocations: 1.827 MB / 476.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.3487, allocations: 439.4 kB / 476.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005667/0.3492, allocations: 110.9 kB / 477 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.3494, allocations: 59.44 kB / 477.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3494, allocations: 0 / 477.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of Templates: time 0.03244/0.3819, allocations: 11.94 MB / 489 MB, free: 11.71 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_CurrentControlled/DCPM_CurrentControlled.csv","/var/lib/jenkins/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: 5.045792277902365]