./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/pthread-race-challenges/thread-join-binomial-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/thread-join-binomial-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 9c17f10721ad43a689085e56bbab66351be2a01da9f0c20359ae30ab37e92dbe --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 17:01:09,196 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 17:01:09,277 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Default.epf [2023-11-21 17:01:09,280 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 17:01:09,281 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 17:01:09,308 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 17:01:09,311 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 17:01:09,312 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 17:01:09,313 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 17:01:09,313 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 17:01:09,314 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 17:01:09,314 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 17:01:09,314 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 17:01:09,317 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 17:01:09,318 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 17:01:09,318 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 17:01:09,319 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 17:01:09,319 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 17:01:09,319 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 17:01:09,319 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 17:01:09,319 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 17:01:09,320 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 17:01:09,320 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 17:01:09,321 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 17:01:09,321 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 17:01:09,321 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 17:01:09,321 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 17:01:09,321 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 17:01:09,322 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 17:01:09,322 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-21 17:01:09,322 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 17:01:09,323 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 17:01:09,323 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 17:01:09,323 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 17:01:09,324 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 17:01:09,324 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-21 17:01:09,324 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 17:01:09,324 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 17:01:09,324 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 17:01:09,325 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 17:01:09,325 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 17:01:09,325 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 17:01:09,325 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 17:01:09,326 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 -> 9c17f10721ad43a689085e56bbab66351be2a01da9f0c20359ae30ab37e92dbe Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 17:01:09,599 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 17:01:09,618 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 17:01:09,621 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 17:01:09,622 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 17:01:09,623 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 17:01:09,624 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-race-challenges/thread-join-binomial-race-2.i [2023-11-21 17:01:10,801 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 17:01:11,005 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 17:01:11,013 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-race-challenges/thread-join-binomial-race-2.i [2023-11-21 17:01:11,036 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/7b400e722/f90f9539938940d7aca7a5a885374eac/FLAG72306ab95 [2023-11-21 17:01:11,047 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/7b400e722/f90f9539938940d7aca7a5a885374eac [2023-11-21 17:01:11,049 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 17:01:11,050 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 17:01:11,051 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 17:01:11,051 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 17:01:11,054 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 17:01:11,055 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:01:11" (1/1) ... [2023-11-21 17:01:11,056 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@16e8e3e9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:11, skipping insertion in model container [2023-11-21 17:01:11,056 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:01:11" (1/1) ... [2023-11-21 17:01:11,108 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 17:01:11,265 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:01:11,492 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:01:11,504 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 17:01:11,524 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:01:11,552 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:01:11,618 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 17:01:11,623 INFO L206 MainTranslator]: Completed translation [2023-11-21 17:01:11,624 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:11 WrapperNode [2023-11-21 17:01:11,624 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 17:01:11,625 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 17:01:11,625 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 17:01:11,625 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 17:01:11,630 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:01:11" (1/1) ... [2023-11-21 17:01:11,656 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:01:11" (1/1) ... [2023-11-21 17:01:11,694 INFO L138 Inliner]: procedures = 269, calls = 25, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 93 [2023-11-21 17:01:11,695 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 17:01:11,696 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 17:01:11,696 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 17:01:11,696 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 17:01:11,704 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:11" (1/1) ... [2023-11-21 17:01:11,705 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:11" (1/1) ... [2023-11-21 17:01:11,719 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:11" (1/1) ... [2023-11-21 17:01:11,727 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:01:11,736 INFO L158 Benchmark]: Toolchain (without parser) took 685.18ms. Allocated memory is still 81.8MB. Free memory was 56.8MB in the beginning and 44.4MB in the end (delta: 12.5MB). Peak memory consumption was 12.5MB. Max. memory is 16.1GB. [2023-11-21 17:01:11,737 INFO L158 Benchmark]: CDTParser took 0.52ms. Allocated memory is still 52.4MB. Free memory is still 34.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:01:11,737 INFO L158 Benchmark]: CACSL2BoogieTranslator took 573.49ms. Allocated memory is still 81.8MB. Free memory was 56.6MB in the beginning and 48.6MB in the end (delta: 8.0MB). Peak memory consumption was 23.0MB. Max. memory is 16.1GB. [2023-11-21 17:01:11,738 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.37ms. Allocated memory is still 81.8MB. Free memory was 48.2MB in the beginning and 45.8MB in the end (delta: 2.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:01:11,739 INFO L158 Benchmark]: Boogie Preprocessor took 38.81ms. Allocated memory is still 81.8MB. Free memory was 45.8MB in the beginning and 44.4MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:01:11,741 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.52ms. Allocated memory is still 52.4MB. Free memory is still 34.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 573.49ms. Allocated memory is still 81.8MB. Free memory was 56.6MB in the beginning and 48.6MB in the end (delta: 8.0MB). Peak memory consumption was 23.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.37ms. Allocated memory is still 81.8MB. Free memory was 48.2MB in the beginning and 45.8MB in the end (delta: 2.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.81ms. Allocated memory is still 81.8MB. Free memory was 45.8MB in the beginning and 44.4MB 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 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/thread-join-binomial-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 9c17f10721ad43a689085e56bbab66351be2a01da9f0c20359ae30ab37e92dbe --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 17:01:13,519 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 17:01:13,580 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf [2023-11-21 17:01:13,586 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 17:01:13,586 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 17:01:13,607 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 17:01:13,608 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 17:01:13,608 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 17:01:13,608 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 17:01:13,611 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 17:01:13,612 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 17:01:13,612 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 17:01:13,612 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 17:01:13,614 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 17:01:13,614 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 17:01:13,614 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 17:01:13,614 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 17:01:13,615 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 17:01:13,615 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 17:01:13,615 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 17:01:13,615 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 17:01:13,616 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 17:01:13,616 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-21 17:01:13,617 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-21 17:01:13,617 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 17:01:13,617 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 17:01:13,617 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 17:01:13,617 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 17:01:13,618 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 17:01:13,618 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 17:01:13,619 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 17:01:13,619 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 17:01:13,619 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 17:01:13,619 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 17:01:13,620 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 17:01:13,620 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-21 17:01:13,620 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 17:01:13,620 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 17:01:13,620 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 17:01:13,621 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 17:01:13,621 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 17:01:13,621 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 17:01:13,622 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 17:01:13,622 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 17:01:13,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 -> 9c17f10721ad43a689085e56bbab66351be2a01da9f0c20359ae30ab37e92dbe Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 17:01:14,014 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 17:01:14,034 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 17:01:14,036 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 17:01:14,037 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 17:01:14,038 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 17:01:14,039 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-race-challenges/thread-join-binomial-race-2.i [2023-11-21 17:01:15,296 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 17:01:15,539 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 17:01:15,542 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-race-challenges/thread-join-binomial-race-2.i [2023-11-21 17:01:15,562 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/853d352b8/f612aa420ecb45d28190a609a9f12306/FLAGf9cfeceec [2023-11-21 17:01:15,573 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/853d352b8/f612aa420ecb45d28190a609a9f12306 [2023-11-21 17:01:15,575 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 17:01:15,578 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 17:01:15,580 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 17:01:15,580 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 17:01:15,584 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 17:01:15,584 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:01:15" (1/1) ... [2023-11-21 17:01:15,585 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@39cafa84 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:15, skipping insertion in model container [2023-11-21 17:01:15,585 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 05:01:15" (1/1) ... [2023-11-21 17:01:15,623 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 17:01:15,820 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:01:16,060 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:01:16,075 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 17:01:16,095 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 17:01:16,125 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 17:01:16,185 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 17:01:16,191 INFO L206 MainTranslator]: Completed translation [2023-11-21 17:01:16,192 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:16 WrapperNode [2023-11-21 17:01:16,192 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 17:01:16,193 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 17:01:16,193 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 17:01:16,193 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 17:01:16,199 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:01:16" (1/1) ... [2023-11-21 17:01:16,230 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:01:16" (1/1) ... [2023-11-21 17:01:16,259 INFO L138 Inliner]: procedures = 270, calls = 25, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 93 [2023-11-21 17:01:16,259 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 17:01:16,260 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 17:01:16,260 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 17:01:16,260 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 17:01:16,269 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:16" (1/1) ... [2023-11-21 17:01:16,269 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:16" (1/1) ... [2023-11-21 17:01:16,283 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 05:01:16" (1/1) ... [2023-11-21 17:01:16,294 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:01:16,300 INFO L158 Benchmark]: Toolchain (without parser) took 720.94ms. Allocated memory was 65.0MB in the beginning and 92.3MB in the end (delta: 27.3MB). Free memory was 34.7MB in the beginning and 60.5MB in the end (delta: -25.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 17:01:16,300 INFO L158 Benchmark]: CDTParser took 0.87ms. Allocated memory is still 41.9MB. Free memory was 17.4MB in the beginning and 17.3MB in the end (delta: 54.0kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:01:16,301 INFO L158 Benchmark]: CACSL2BoogieTranslator took 612.23ms. Allocated memory was 65.0MB in the beginning and 92.3MB in the end (delta: 27.3MB). Free memory was 34.4MB in the beginning and 64.7MB in the end (delta: -30.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-21 17:01:16,301 INFO L158 Benchmark]: Boogie Procedure Inliner took 66.18ms. Allocated memory is still 92.3MB. Free memory was 64.7MB in the beginning and 62.1MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 17:01:16,302 INFO L158 Benchmark]: Boogie Preprocessor took 38.20ms. Allocated memory is still 92.3MB. Free memory was 62.1MB in the beginning and 60.5MB in the end (delta: 1.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-21 17:01:16,305 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.87ms. Allocated memory is still 41.9MB. Free memory was 17.4MB in the beginning and 17.3MB in the end (delta: 54.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 612.23ms. Allocated memory was 65.0MB in the beginning and 92.3MB in the end (delta: 27.3MB). Free memory was 34.4MB in the beginning and 64.7MB in the end (delta: -30.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 66.18ms. Allocated memory is still 92.3MB. Free memory was 64.7MB in the beginning and 62.1MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 38.20ms. Allocated memory is still 92.3MB. Free memory was 62.1MB in the beginning and 60.5MB in the end (delta: 1.6MB). Peak memory consumption was 4.2MB. 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