./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race.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.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 289adcaae4c50abff0035518c5703ebebf5bd048dfea932ca710de251a5a744e --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 17:00:39,204 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 17:00:39,245 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:39,248 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 17:00:39,249 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 17:00:39,264 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 17:00:39,265 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 17:00:39,265 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 17:00:39,265 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 17:00:39,266 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 17:00:39,266 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 17:00:39,266 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 17:00:39,267 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 17:00:39,267 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 17:00:39,267 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 17:00:39,267 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 17:00:39,268 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 17:00:39,268 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 17:00:39,268 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 17:00:39,269 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 17:00:39,269 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 17:00:39,269 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 17:00:39,269 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 17:00:39,270 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 17:00:39,270 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 17:00:39,270 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 17:00:39,270 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 17:00:39,271 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 17:00:39,271 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 17:00:39,271 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-21 17:00:39,272 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 17:00:39,272 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 17:00:39,272 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 17:00:39,272 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 17:00:39,273 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 17:00:39,273 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-21 17:00:39,273 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 17:00:39,273 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 17:00:39,274 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 17:00:39,274 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 17:00:39,274 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 17:00:39,275 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 17:00:39,275 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 17:00:39,275 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 -> 289adcaae4c50abff0035518c5703ebebf5bd048dfea932ca710de251a5a744e Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 17:00:39,529 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 17:00:39,546 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 17:00:39,548 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 17:00:39,549 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 17:00:39,549 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 17:00:39,550 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.i [2023-11-21 17:00:40,680 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 17:00:40,898 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 17:00:40,903 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race.i [2023-11-21 17:00:40,925 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/7eaa78b79/ba696517d2fb49b8aab50aae0a56aab5/FLAGc813c47cf [2023-11-21 17:00:40,939 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/7eaa78b79/ba696517d2fb49b8aab50aae0a56aab5 [2023-11-21 17:00:40,942 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 17:00:40,943 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 17:00:40,945 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:40,946 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 17:00:40,949 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 17:00:40,951 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:40,952 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40fceb03 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:40, skipping insertion in model container [2023-11-21 17:00:40,952 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:40" (1/1) ... [2023-11-21 17:00:41,004 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 17:00:41,161 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:41,400 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:41,408 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 17:00:41,423 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:41,441 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:41,486 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 17:00:41,491 INFO L206 MainTranslator]: Completed translation [2023-11-21 17:00:41,492 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:41 WrapperNode [2023-11-21 17:00:41,492 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:41,493 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:41,496 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 17:00:41,496 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 17:00:41,502 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:41" (1/1) ... [2023-11-21 17:00:41,516 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:41" (1/1) ... [2023-11-21 17:00:41,533 INFO L138 Inliner]: procedures = 266, calls = 19, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 87 [2023-11-21 17:00:41,534 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:41,536 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 17:00:41,536 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 17:00:41,536 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 17:00:41,543 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:41" (1/1) ... [2023-11-21 17:00:41,544 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:41" (1/1) ... [2023-11-21 17:00:41,547 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:41" (1/1) ... [2023-11-21 17:00:41,557 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:41,571 INFO L158 Benchmark]: Toolchain (without parser) took 624.48ms. Allocated memory was 65.0MB in the beginning and 100.7MB in the end (delta: 35.7MB). Free memory was 40.9MB in the beginning and 60.6MB in the end (delta: -19.7MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. [2023-11-21 17:00:41,571 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 65.0MB. Free memory was 41.9MB in the beginning and 41.8MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:41,572 INFO L158 Benchmark]: CACSL2BoogieTranslator took 547.32ms. Allocated memory was 65.0MB in the beginning and 100.7MB in the end (delta: 35.7MB). Free memory was 40.7MB in the beginning and 64.8MB in the end (delta: -24.1MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. [2023-11-21 17:00:41,576 INFO L158 Benchmark]: Boogie Procedure Inliner took 41.31ms. Allocated memory is still 100.7MB. Free memory was 64.3MB in the beginning and 61.8MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:00:41,577 INFO L158 Benchmark]: Boogie Preprocessor took 31.40ms. Allocated memory is still 100.7MB. Free memory was 61.8MB in the beginning and 60.6MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:00:41,579 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.17ms. Allocated memory is still 65.0MB. Free memory was 41.9MB in the beginning and 41.8MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 547.32ms. Allocated memory was 65.0MB in the beginning and 100.7MB in the end (delta: 35.7MB). Free memory was 40.7MB in the beginning and 64.8MB in the end (delta: -24.1MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 41.31ms. Allocated memory is still 100.7MB. Free memory was 64.3MB in the beginning and 61.8MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.40ms. Allocated memory is still 100.7MB. Free memory was 61.8MB in the beginning and 60.6MB in the end (delta: 1.2MB). 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 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.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 289adcaae4c50abff0035518c5703ebebf5bd048dfea932ca710de251a5a744e --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 17:00:43,291 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 17:00:43,345 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:43,350 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 17:00:43,350 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 17:00:43,372 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 17:00:43,373 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 17:00:43,373 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 17:00:43,373 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 17:00:43,377 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 17:00:43,377 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 17:00:43,377 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 17:00:43,377 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 17:00:43,379 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 17:00:43,379 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 17:00:43,379 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 17:00:43,379 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 17:00:43,380 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 17:00:43,380 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 17:00:43,380 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 17:00:43,380 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 17:00:43,381 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 17:00:43,381 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-21 17:00:43,381 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-21 17:00:43,381 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 17:00:43,382 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 17:00:43,382 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 17:00:43,382 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 17:00:43,382 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 17:00:43,382 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 17:00:43,383 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 17:00:43,383 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 17:00:43,384 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 17:00:43,384 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 17:00:43,384 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 17:00:43,384 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-21 17:00:43,384 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 17:00:43,385 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 17:00:43,385 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 17:00:43,385 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 17:00:43,385 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 17:00:43,386 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 17:00:43,386 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 17:00:43,386 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 17:00:43,386 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 -> 289adcaae4c50abff0035518c5703ebebf5bd048dfea932ca710de251a5a744e Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 17:00:43,674 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 17:00:43,693 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 17:00:43,695 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 17:00:43,696 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 17:00:43,697 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 17:00:43,698 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.i [2023-11-21 17:00:44,993 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 17:00:45,193 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 17:00:45,200 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-race-challenges/per-thread-array-index-race.i [2023-11-21 17:00:45,225 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/f89fd4319/506814871c0a45d0a71518cf8305ec25/FLAG8fed1cef7 [2023-11-21 17:00:45,235 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/f89fd4319/506814871c0a45d0a71518cf8305ec25 [2023-11-21 17:00:45,238 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 17:00:45,239 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 17:00:45,240 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:45,240 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 17:00:45,243 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 17:00:45,244 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:45" (1/1) ... [2023-11-21 17:00:45,245 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7068abe9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:45, skipping insertion in model container [2023-11-21 17:00:45,245 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:00:45" (1/1) ... [2023-11-21 17:00:45,286 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 17:00:45,453 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:45,654 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:45,663 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 17:00:45,672 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:00:45,713 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:00:45,765 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 17:00:45,770 INFO L206 MainTranslator]: Completed translation [2023-11-21 17:00:45,771 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:00:45 WrapperNode [2023-11-21 17:00:45,771 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 17:00:45,772 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:45,772 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 17:00:45,773 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 17:00:45,778 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:45" (1/1) ... [2023-11-21 17:00:45,814 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:45" (1/1) ... [2023-11-21 17:00:45,842 INFO L138 Inliner]: procedures = 267, calls = 19, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 87 [2023-11-21 17:00:45,843 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 17:00:45,843 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 17:00:45,843 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 17:00:45,843 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 17:00:45,852 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:45" (1/1) ... [2023-11-21 17:00:45,853 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:45" (1/1) ... [2023-11-21 17:00:45,860 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:45" (1/1) ... [2023-11-21 17:00:45,872 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,878 INFO L158 Benchmark]: Toolchain (without parser) took 637.88ms. Allocated memory was 60.8MB in the beginning and 81.8MB in the end (delta: 21.0MB). Free memory was 33.3MB in the beginning and 37.8MB in the end (delta: -4.5MB). Peak memory consumption was 16.1MB. Max. memory is 16.1GB. [2023-11-21 17:00:45,878 INFO L158 Benchmark]: CDTParser took 1.00ms. Allocated memory is still 60.8MB. Free memory was 41.3MB in the beginning and 41.3MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:00:45,879 INFO L158 Benchmark]: CACSL2BoogieTranslator took 531.91ms. Allocated memory was 60.8MB in the beginning and 81.8MB in the end (delta: 21.0MB). Free memory was 33.2MB in the beginning and 42.1MB in the end (delta: -8.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-21 17:00:45,879 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.51ms. Allocated memory is still 81.8MB. Free memory was 42.1MB in the beginning and 39.3MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:00:45,880 INFO L158 Benchmark]: Boogie Preprocessor took 32.54ms. Allocated memory is still 81.8MB. Free memory was 39.3MB in the beginning and 37.8MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:00:45,883 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.00ms. Allocated memory is still 60.8MB. Free memory was 41.3MB in the beginning and 41.3MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 531.91ms. Allocated memory was 60.8MB in the beginning and 81.8MB in the end (delta: 21.0MB). Free memory was 33.2MB in the beginning and 42.1MB in the end (delta: -8.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.51ms. Allocated memory is still 81.8MB. Free memory was 42.1MB in the beginning and 39.3MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 32.54ms. Allocated memory is still 81.8MB. Free memory was 39.3MB in the beginning and 37.8MB in the end (delta: 1.5MB). 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