./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 527bcce2 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/config/AutomizerReach.xml -i ../../sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash aee5edffc06a346ddce4a9cfa75b4213bee8ccd3009aa5307dc09037d26d7f28 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-527bcce [2023-11-21 21:04:28,888 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 21:04:29,002 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-21 21:04:29,009 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 21:04:29,010 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 21:04:29,052 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 21:04:29,053 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 21:04:29,053 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 21:04:29,054 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-21 21:04:29,059 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-21 21:04:29,060 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 21:04:29,061 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 21:04:29,061 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 21:04:29,063 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 21:04:29,064 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 21:04:29,064 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 21:04:29,065 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 21:04:29,065 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 21:04:29,065 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 21:04:29,066 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 21:04:29,067 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 21:04:29,068 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 21:04:29,068 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 21:04:29,069 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 21:04:29,069 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 21:04:29,069 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 21:04:29,070 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 21:04:29,071 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 21:04:29,071 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 21:04:29,071 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-21 21:04:29,073 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 21:04:29,073 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 21:04:29,073 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 21:04:29,073 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 21:04:29,074 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 21:04:29,074 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-21 21:04:29,074 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 21:04:29,074 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 21:04:29,074 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-21 21:04:29,075 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 21:04:29,075 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-21 21:04:29,075 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 21:04:29,075 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> aee5edffc06a346ddce4a9cfa75b4213bee8ccd3009aa5307dc09037d26d7f28 [2023-11-21 21:04:29,335 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 21:04:29,356 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 21:04:29,359 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 21:04:29,360 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 21:04:29,361 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 21:04:29,362 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/../../sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c [2023-11-21 21:04:32,582 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 21:04:32,768 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 21:04:32,769 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c [2023-11-21 21:04:32,778 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data/29dacc1fc/3d57d945229a4c2495db24ebdb8f813c/FLAGa87aa9ff0 [2023-11-21 21:04:32,793 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data/29dacc1fc/3d57d945229a4c2495db24ebdb8f813c [2023-11-21 21:04:32,795 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 21:04:32,797 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 21:04:32,801 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 21:04:32,802 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 21:04:32,806 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 21:04:32,807 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 09:04:32" (1/1) ... [2023-11-21 21:04:32,808 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@72c4adb4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:32, skipping insertion in model container [2023-11-21 21:04:32,808 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 09:04:32" (1/1) ... [2023-11-21 21:04:32,863 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 21:04:33,146 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c[4303,4316] [2023-11-21 21:04:33,169 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 21:04:33,188 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 21:04:33,238 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c[4303,4316] [2023-11-21 21:04:33,254 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 21:04:33,266 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 21:04:33,266 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 21:04:33,275 INFO L206 MainTranslator]: Completed translation [2023-11-21 21:04:33,275 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:33 WrapperNode [2023-11-21 21:04:33,276 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 21:04:33,278 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 21:04:33,278 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 21:04:33,278 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 21:04:33,287 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:33" (1/1) ... [2023-11-21 21:04:33,311 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:33" (1/1) ... [2023-11-21 21:04:33,370 INFO L138 Inliner]: procedures = 29, calls = 88, calls flagged for inlining = 22, calls inlined = 32, statements flattened = 409 [2023-11-21 21:04:33,371 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 21:04:33,372 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 21:04:33,372 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 21:04:33,372 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 21:04:33,384 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:33" (1/1) ... [2023-11-21 21:04:33,384 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:33" (1/1) ... [2023-11-21 21:04:33,401 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:33" (1/1) ... [2023-11-21 21:04:33,415 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor has thrown an exception: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processJoinStatement(AliasAnalysis.java:175) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processStatementList(AliasAnalysis.java:161) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processBody(AliasAnalysis.java:128) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.aliasAnalysis(AliasAnalysis.java:117) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.tryToSliceMemory(HeapSplitter.java:116) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.process(HeapSplitter.java:102) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:155) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-21 21:04:33,420 INFO L158 Benchmark]: Toolchain (without parser) took 621.31ms. Allocated memory is still 127.9MB. Free memory was 82.6MB in the beginning and 64.7MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-21 21:04:33,420 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 96.5MB. Free memory is still 43.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 21:04:33,421 INFO L158 Benchmark]: CACSL2BoogieTranslator took 475.31ms. Allocated memory is still 127.9MB. Free memory was 82.6MB in the beginning and 69.5MB in the end (delta: 13.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-21 21:04:33,424 INFO L158 Benchmark]: Boogie Procedure Inliner took 93.41ms. Allocated memory is still 127.9MB. Free memory was 69.5MB in the beginning and 65.8MB in the end (delta: 3.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-21 21:04:33,425 INFO L158 Benchmark]: Boogie Preprocessor took 46.28ms. Allocated memory is still 127.9MB. Free memory was 65.8MB in the beginning and 64.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 21:04:33,427 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22ms. Allocated memory is still 96.5MB. Free memory is still 43.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 475.31ms. Allocated memory is still 127.9MB. Free memory was 82.6MB in the beginning and 69.5MB in the end (delta: 13.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 93.41ms. Allocated memory is still 127.9MB. Free memory was 69.5MB in the beginning and 65.8MB in the end (delta: 3.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.28ms. Allocated memory is still 127.9MB. Free memory was 65.8MB in the beginning and 64.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - ExceptionOrErrorResult: ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 de.uni_freiburg.informatik.ultimate.boogie.preprocessor: ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0: de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processJoinStatement(AliasAnalysis.java:175) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/config/AutomizerReach.xml -i ../../sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash aee5edffc06a346ddce4a9cfa75b4213bee8ccd3009aa5307dc09037d26d7f28 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-527bcce [2023-11-21 21:04:35,895 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 21:04:36,031 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2023-11-21 21:04:36,039 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 21:04:36,042 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 21:04:36,089 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 21:04:36,089 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 21:04:36,090 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 21:04:36,091 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-21 21:04:36,096 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-21 21:04:36,097 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 21:04:36,097 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 21:04:36,098 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 21:04:36,100 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 21:04:36,100 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 21:04:36,101 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 21:04:36,101 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 21:04:36,102 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 21:04:36,102 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 21:04:36,103 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 21:04:36,104 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 21:04:36,104 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 21:04:36,105 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 21:04:36,105 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-21 21:04:36,106 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-21 21:04:36,106 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-21 21:04:36,107 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 21:04:36,107 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 21:04:36,107 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 21:04:36,108 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 21:04:36,109 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 21:04:36,110 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-21 21:04:36,110 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 21:04:36,110 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 21:04:36,111 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 21:04:36,111 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 21:04:36,112 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 21:04:36,112 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-21 21:04:36,112 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 21:04:36,113 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 21:04:36,113 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-21 21:04:36,113 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 21:04:36,114 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-21 21:04:36,114 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 21:04:36,114 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-21 21:04:36,115 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> aee5edffc06a346ddce4a9cfa75b4213bee8ccd3009aa5307dc09037d26d7f28 [2023-11-21 21:04:36,529 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 21:04:36,560 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 21:04:36,563 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 21:04:36,565 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 21:04:36,566 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 21:04:36,569 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/../../sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c [2023-11-21 21:04:39,895 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 21:04:40,202 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 21:04:40,203 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c [2023-11-21 21:04:40,213 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data/4035d21fc/9d5d39076538461b9e210c0953a53abb/FLAG3f6f0fa44 [2023-11-21 21:04:40,228 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/bin/uautomizer-verify-bycVGegfSx/data/4035d21fc/9d5d39076538461b9e210c0953a53abb [2023-11-21 21:04:40,230 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 21:04:40,232 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 21:04:40,234 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 21:04:40,234 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 21:04:40,239 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 21:04:40,240 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,242 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6674924 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40, skipping insertion in model container [2023-11-21 21:04:40,242 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,273 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 21:04:40,493 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c[4303,4316] [2023-11-21 21:04:40,525 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 21:04:40,547 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-21 21:04:40,567 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 21:04:40,610 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c[4303,4316] [2023-11-21 21:04:40,622 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 21:04:40,632 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 21:04:40,700 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_48292912-23aa-48dc-a1c3-0e72b65c2afa/sv-benchmarks/c/weaver/parallel-parallel-sum-2.wvr.c[4303,4316] [2023-11-21 21:04:40,705 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 21:04:40,716 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 21:04:40,718 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 21:04:40,726 INFO L206 MainTranslator]: Completed translation [2023-11-21 21:04:40,726 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40 WrapperNode [2023-11-21 21:04:40,727 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 21:04:40,730 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 21:04:40,731 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 21:04:40,731 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 21:04:40,739 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,768 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,824 INFO L138 Inliner]: procedures = 31, calls = 88, calls flagged for inlining = 22, calls inlined = 32, statements flattened = 390 [2023-11-21 21:04:40,838 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 21:04:40,839 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 21:04:40,839 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 21:04:40,840 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 21:04:40,852 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,852 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,863 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 09:04:40" (1/1) ... [2023-11-21 21:04:40,882 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor has thrown an exception: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processJoinStatement(AliasAnalysis.java:175) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processStatementList(AliasAnalysis.java:161) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processBody(AliasAnalysis.java:128) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.aliasAnalysis(AliasAnalysis.java:117) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.tryToSliceMemory(HeapSplitter.java:116) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.process(HeapSplitter.java:102) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:155) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-21 21:04:40,887 INFO L158 Benchmark]: Toolchain (without parser) took 654.15ms. Allocated memory was 71.3MB in the beginning and 90.2MB in the end (delta: 18.9MB). Free memory was 46.9MB in the beginning and 62.8MB in the end (delta: -15.9MB). Peak memory consumption was 5.5MB. Max. memory is 16.1GB. [2023-11-21 21:04:40,888 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 71.3MB. Free memory is still 46.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 21:04:40,889 INFO L158 Benchmark]: CACSL2BoogieTranslator took 493.45ms. Allocated memory was 71.3MB in the beginning and 90.2MB in the end (delta: 18.9MB). Free memory was 46.8MB in the beginning and 67.2MB in the end (delta: -20.5MB). Peak memory consumption was 20.2MB. Max. memory is 16.1GB. [2023-11-21 21:04:40,890 INFO L158 Benchmark]: Boogie Procedure Inliner took 108.19ms. Allocated memory is still 90.2MB. Free memory was 67.2MB in the beginning and 64.1MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 21:04:40,891 INFO L158 Benchmark]: Boogie Preprocessor took 46.17ms. Allocated memory is still 90.2MB. Free memory was 64.1MB in the beginning and 62.8MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 21:04:40,894 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.34ms. Allocated memory is still 71.3MB. Free memory is still 46.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 493.45ms. Allocated memory was 71.3MB in the beginning and 90.2MB in the end (delta: 18.9MB). Free memory was 46.8MB in the beginning and 67.2MB in the end (delta: -20.5MB). Peak memory consumption was 20.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 108.19ms. Allocated memory is still 90.2MB. Free memory was 67.2MB in the beginning and 64.1MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.17ms. Allocated memory is still 90.2MB. Free memory was 64.1MB in the beginning and 62.8MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - ExceptionOrErrorResult: ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 de.uni_freiburg.informatik.ultimate.boogie.preprocessor: ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0: de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processJoinStatement(AliasAnalysis.java:175) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0