Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.001329/0.001329, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.001436/0.001436, allocations: 157.9 kB / 24.5 MB, free: 3.707 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.546/1.546, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2055/0.2055, allocations: 32.81 MB / 294.1 MB, free: 15.98 MB / 286.1 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.91 kB / 440.6 MB, free: 9.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3407, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003104/0.3438, allocations: 2.206 MB / 0.4963 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.3465, allocations: 1.631 MB / 0.4979 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.3467, allocations: 7.031 kB / 0.4979 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.3472, allocations: 137.7 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.3478, allocations: 291.9 kB / 0.4983 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.349, allocations: 0.5366 MB / 0.4988 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.3495, allocations: 0.5787 MB / 0.4994 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3497, allocations: 46.67 kB / 0.4994 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.3499, allocations: 235.9 kB / 0.4997 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3502, allocations: 234.9 kB / 0.4999 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.3502, allocations: 33.53 kB / 0.4999 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.3506, allocations: 184.3 kB / 0.5001 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3507, allocations: 139.8 kB / 0.5002 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3508, allocations: 161.5 kB / 0.5004 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.3515, allocations: 0.6028 MB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3515, allocations: 0 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3515, allocations: 0 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3515, allocations: 2.875 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001098/0.3526, allocations: 0.848 MB / 0.5018 GB, free: 26.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3526, allocations: 13.59 kB / 0.5018 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.3527, allocations: 58.28 kB / 0.5019 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.3533, allocations: 418.2 kB / 0.5023 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3533, allocations: 14.17 kB / 0.5023 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3533, allocations: 14.44 kB / 0.5023 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.3538, allocations: 338.9 kB / 0.5026 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3538, allocations: 6.703 kB / 0.5026 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.3538, allocations: 4 kB / 0.5026 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3538, allocations: 7.25 kB / 0.5026 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.3541, allocations: 126 kB / 0.5028 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.3549, allocations: 0.7799 MB / 0.5035 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.3555, allocations: 303.9 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.3557, allocations: 115 kB / 0.5039 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3557, allocations: 2.781 kB / 0.5039 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.356, allocations: 224.7 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.492e-06/0.356, allocations: 0 / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.000868/0.3569, allocations: 420.4 kB / 0.5045 GB, free: 24.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.357, allocations: 249 kB / 0.5048 GB, free: 24.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.3576, allocations: 0.6753 MB / 0.5054 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3577, allocations: 35.8 kB / 0.5055 GB, free: 24.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3578, allocations: 236.6 kB / 0.5057 GB, free: 24.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3578, allocations: 63.84 kB / 0.5058 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.3579, allocations: 67.28 kB / 0.5058 GB, free: 24.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.358, allocations: 366.7 kB / 0.5062 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3582, allocations: 84.31 kB / 0.5062 GB, free: 23.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3585, allocations: 430.1 kB / 0.5067 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.3589, allocations: 247.5 kB / 0.5069 GB, free: 23.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3589, allocations: 0 / 0.5069 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005646/0.3595, allocations: 334.1 kB / 0.5072 GB, free: 22.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3595, allocations: 6.5 kB / 0.5072 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3595, allocations: 3.188 kB / 0.5072 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3595, allocations: 7.062 kB / 0.5072 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3598, allocations: 53.25 kB / 0.5073 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3598, allocations: 7.062 kB / 0.5073 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.36, allocations: 31.2 kB / 0.5073 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.36, allocations: 12.42 kB / 0.5073 GB, free: 22.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.3602, allocations: 217.3 kB / 0.5075 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.3602, allocations: 60.09 kB / 0.5076 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.3609, allocations: 385.7 kB / 0.508 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3609, allocations: 5.672 kB / 0.508 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3609, allocations: 6.969 kB / 0.508 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3609, allocations: 0 / 0.508 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3612, allocations: 324.2 kB / 0.5083 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3612, allocations: 0 / 0.5083 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.3613, allocations: 35.05 kB / 0.5083 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3613, allocations: 3.125 kB / 0.5083 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3614, allocations: 6.641 kB / 0.5083 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3614, allocations: 11.03 kB / 0.5083 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3614, allocations: 0 / 0.5083 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3619, allocations: 397.7 kB / 0.5087 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.362, allocations: 59.81 kB / 0.5088 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.3621, allocations: 9.656 kB / 0.5088 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3622, allocations: 16.44 kB / 0.5088 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.3623, allocations: 47.67 kB / 0.5088 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3624, allocations: 12.81 kB / 0.5089 GB, free: 22.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.3628, allocations: 497.3 kB / 0.5093 GB, free: 21.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3628, allocations: 4 kB / 0.5093 GB, free: 21.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.3632, allocations: 107.2 kB / 0.5094 GB, free: 21.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.365, allocations: 493.9 kB / 0.5099 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.3655, allocations: 242.9 kB / 0.5101 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3655, allocations: 3.516 kB / 0.5101 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.3658, allocations: 172.2 kB / 0.5103 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.3665, allocations: 150.1 kB / 0.5104 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3677, allocations: 0.8379 MB / 0.5113 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3679, allocations: 246.3 kB / 0.5115 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.3681, allocations: 92.78 kB / 0.5116 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3683, allocations: 55.94 kB / 0.5116 GB, free: 20.82 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3683, allocations: 0 / 0.5116 GB, free: 20.82 MB / 446.1 MB Notification: Performance of Templates: time 0.01514/0.3834, allocations: 8.004 MB / 0.5195 GB, free: 19.81 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.366873456980102]