./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i --full-output --preprocessor.use.memory.slicer true --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version e93f2d6f Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash b606ed8b0061f7540a480987fb5d0368be6ab145ef928bee0cc134c3bece9590 --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 17:00:37,858 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 17:00:37,923 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Default.epf [2023-11-21 17:00:37,927 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 17:00:37,928 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 17:00:37,952 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 17:00:37,953 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 17:00:37,953 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 17:00:37,954 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 17:00:37,957 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 17:00:37,957 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 17:00:37,957 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 17:00:37,958 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 17:00:37,959 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 17:00:37,959 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 17:00:37,959 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 17:00:37,960 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 17:00:37,960 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 17:00:37,960 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 17:00:37,960 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 17:00:37,960 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 17:00:37,961 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 17:00:37,962 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 17:00:37,962 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 17:00:37,962 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 17:00:37,962 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 17:00:37,962 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 17:00:37,963 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 17:00:37,963 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 17:00:37,963 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-21 17:00:37,964 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 17:00:37,964 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 17:00:37,965 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 17:00:37,965 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 17:00:37,965 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 17:00:37,965 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-21 17:00:37,965 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 17:00:37,966 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 17:00:37,966 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 17:00:37,967 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 17:00:37,967 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 17:00:37,967 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 17:00:37,967 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 17:00:37,967 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux 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 ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter 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 -> b606ed8b0061f7540a480987fb5d0368be6ab145ef928bee0cc134c3bece9590 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 17:00:38,247 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 17:00:38,267 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 17:00:38,268 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 17:00:38,269 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 17:00:38,270 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 17:00:38,270 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i [2023-11-21 17:00:39,390 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 17:00:39,623 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 17:00:39,624 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i [2023-11-21 17:00:39,650 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/0f544e732/90581592cab440719ac6ca51ffb3c191/FLAG9f9b2500f [2023-11-21 17:00:39,660 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/0f544e732/90581592cab440719ac6ca51ffb3c191 [2023-11-21 17:00:39,662 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 17:00:39,663 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 17:00:39,664 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:39,664 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 17:00:39,667 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 17:00:39,668 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:39" (1/1) ... [2023-11-21 17:00:39,669 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6e1cb352 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:39, skipping insertion in model container [2023-11-21 17:00:39,669 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:39" (1/1) ... [2023-11-21 17:00:39,718 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 17:00:39,883 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:40,088 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:40,096 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 17:00:40,117 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:40,150 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:40,198 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 17:00:40,203 INFO L206 MainTranslator]: Completed translation [2023-11-21 17:00:40,204 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40 WrapperNode [2023-11-21 17:00:40,204 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:40,205 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:40,205 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 17:00:40,205 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 17:00:40,210 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:40,236 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:40,269 INFO L138 Inliner]: procedures = 266, calls = 19, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 87 [2023-11-21 17:00:40,270 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:40,270 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 17:00:40,270 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 17:00:40,270 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 17:00:40,278 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:40,279 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:40,293 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:40,304 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.processStatementList(AliasAnalysis.java:157) 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:121) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.process(HeapSplitter.java:107) 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 17:00:40,309 INFO L158 Benchmark]: Toolchain (without parser) took 645.56ms. Allocated memory is still 60.8MB. Free memory was 26.5MB in the beginning and 23.8MB in the end (delta: 2.7MB). Peak memory consumption was 1.6MB. Max. memory is 16.1GB. [2023-11-21 17:00:40,310 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 50.3MB. Free memory is still 29.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:40,311 INFO L158 Benchmark]: CACSL2BoogieTranslator took 540.35ms. Allocated memory is still 60.8MB. Free memory was 26.3MB in the beginning and 27.8MB in the end (delta: -1.4MB). Peak memory consumption was 5.8MB. Max. memory is 16.1GB. [2023-11-21 17:00:40,311 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.79ms. Allocated memory is still 60.8MB. Free memory was 27.8MB in the beginning and 25.2MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:00:40,312 INFO L158 Benchmark]: Boogie Preprocessor took 37.97ms. Allocated memory is still 60.8MB. Free memory was 25.2MB in the beginning and 23.8MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:40,314 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.14ms. Allocated memory is still 50.3MB. Free memory is still 29.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 540.35ms. Allocated memory is still 60.8MB. Free memory was 26.3MB in the beginning and 27.8MB in the end (delta: -1.4MB). Peak memory consumption was 5.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.79ms. Allocated memory is still 60.8MB. Free memory was 27.8MB in the beginning and 25.2MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.97ms. Allocated memory is still 60.8MB. Free memory was 25.2MB in the beginning and 23.8MB in the end (delta: 1.3MB). 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: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash b606ed8b0061f7540a480987fb5d0368be6ab145ef928bee0cc134c3bece9590 --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 17:00:42,509 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 17:00:42,567 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf [2023-11-21 17:00:42,575 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 17:00:42,576 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 17:00:42,607 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 17:00:42,608 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 17:00:42,608 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 17:00:42,609 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 17:00:42,612 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 17:00:42,612 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 17:00:42,613 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 17:00:42,613 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 17:00:42,614 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 17:00:42,614 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 17:00:42,614 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 17:00:42,615 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 17:00:42,615 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 17:00:42,615 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 17:00:42,615 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 17:00:42,615 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 17:00:42,616 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 17:00:42,616 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-21 17:00:42,617 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-21 17:00:42,617 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 17:00:42,617 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 17:00:42,617 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 17:00:42,617 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 17:00:42,618 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 17:00:42,618 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 17:00:42,619 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 17:00:42,619 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 17:00:42,619 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 17:00:42,620 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 17:00:42,620 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 17:00:42,620 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-21 17:00:42,620 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 17:00:42,620 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 17:00:42,621 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 17:00:42,621 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 17:00:42,621 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 17:00:42,622 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 17:00:42,622 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 17:00:42,622 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 17:00:42,622 INFO L153 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux 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 ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter 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 -> b606ed8b0061f7540a480987fb5d0368be6ab145ef928bee0cc134c3bece9590 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 17:00:42,877 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 17:00:42,895 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 17:00:42,896 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 17:00:42,897 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 17:00:42,897 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 17:00:42,898 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i [2023-11-21 17:00:44,093 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 17:00:44,359 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 17:00:44,359 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race-2.i [2023-11-21 17:00:44,378 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/c67b95755/f5c842e18bd64a828b0bdf6ce7212a19/FLAG889b281a1 [2023-11-21 17:00:44,390 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/c67b95755/f5c842e18bd64a828b0bdf6ce7212a19 [2023-11-21 17:00:44,392 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 17:00:44,393 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 17:00:44,396 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:44,396 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 17:00:44,400 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 17:00:44,402 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:44,403 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@45208da0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44, skipping insertion in model container [2023-11-21 17:00:44,403 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:44,452 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 17:00:44,617 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:44,824 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:44,834 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 17:00:44,855 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:44,884 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:44,925 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 17:00:44,931 INFO L206 MainTranslator]: Completed translation [2023-11-21 17:00:44,931 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44 WrapperNode [2023-11-21 17:00:44,931 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:44,932 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:44,932 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 17:00:44,933 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 17:00:44,944 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:44,971 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:44,994 INFO L138 Inliner]: procedures = 267, calls = 19, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 87 [2023-11-21 17:00:44,997 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:44,997 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 17:00:44,998 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 17:00:44,998 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 17:00:45,006 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:45,007 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:45,013 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:44" (1/1) ... [2023-11-21 17:00:45,023 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.processStatementList(AliasAnalysis.java:157) 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:121) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.process(HeapSplitter.java:107) 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 17:00:45,028 INFO L158 Benchmark]: Toolchain (without parser) took 634.49ms. Allocated memory is still 65.0MB. Free memory was 39.0MB in the beginning and 40.2MB in the end (delta: -1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:45,029 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 48.2MB. Free memory was 25.3MB in the beginning and 25.3MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:45,030 INFO L158 Benchmark]: CACSL2BoogieTranslator took 535.56ms. Allocated memory is still 65.0MB. Free memory was 38.8MB in the beginning and 26.6MB in the end (delta: 12.2MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-21 17:00:45,030 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.72ms. Allocated memory is still 65.0MB. Free memory was 26.4MB in the beginning and 41.6MB in the end (delta: -15.2MB). Peak memory consumption was 3.3MB. Max. memory is 16.1GB. [2023-11-21 17:00:45,031 INFO L158 Benchmark]: Boogie Preprocessor took 29.45ms. Allocated memory is still 65.0MB. Free memory was 41.6MB in the beginning and 40.2MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:45,033 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.13ms. Allocated memory is still 48.2MB. Free memory was 25.3MB in the beginning and 25.3MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 535.56ms. Allocated memory is still 65.0MB. Free memory was 38.8MB in the beginning and 26.6MB in the end (delta: 12.2MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.72ms. Allocated memory is still 65.0MB. Free memory was 26.4MB in the beginning and 41.6MB in the end (delta: -15.2MB). Peak memory consumption was 3.3MB. Max. memory is 16.1GB. * Boogie Preprocessor took 29.45ms. Allocated memory is still 65.0MB. Free memory was 41.6MB in the beginning and 40.2MB in the end (delta: 1.4MB). 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 Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0