./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/pthread-atomic/gcd-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-atomic/gcd-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 abac4834eb8b1123405a2c6108c3d30e84ad22df2224a055d262e226b4ba66e1 --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 16:07:21,001 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 16:07:21,068 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Default.epf [2023-11-21 16:07:21,071 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 16:07:21,072 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 16:07:21,096 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 16:07:21,097 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 16:07:21,097 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 16:07:21,098 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 16:07:21,100 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 16:07:21,101 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 16:07:21,101 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 16:07:21,101 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 16:07:21,103 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 16:07:21,103 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 16:07:21,103 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 16:07:21,103 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 16:07:21,104 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 16:07:21,104 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 16:07:21,104 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 16:07:21,104 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 16:07:21,105 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 16:07:21,105 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 16:07:21,106 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 16:07:21,106 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 16:07:21,106 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 16:07:21,106 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 16:07:21,106 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 16:07:21,107 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 16:07:21,107 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-21 16:07:21,108 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 16:07:21,108 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 16:07:21,108 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 16:07:21,108 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 16:07:21,108 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 16:07:21,109 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-21 16:07:21,109 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 16:07:21,109 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 16:07:21,109 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 16:07:21,110 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 16:07:21,110 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 16:07:21,110 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 16:07:21,110 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 16:07:21,110 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 -> abac4834eb8b1123405a2c6108c3d30e84ad22df2224a055d262e226b4ba66e1 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 16:07:21,408 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 16:07:21,424 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 16:07:21,425 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 16:07:21,426 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 16:07:21,429 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 16:07:21,430 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-atomic/gcd-2.i [2023-11-21 16:07:22,655 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 16:07:22,823 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 16:07:22,823 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/gcd-2.i [2023-11-21 16:07:22,852 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/816829313/27cf9b497b684ede931c9d3a25be9267/FLAGccc450891 [2023-11-21 16:07:22,871 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/816829313/27cf9b497b684ede931c9d3a25be9267 [2023-11-21 16:07:22,873 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 16:07:22,874 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 16:07:22,876 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 16:07:22,876 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 16:07:22,879 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 16:07:22,880 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 04:07:22" (1/1) ... [2023-11-21 16:07:22,881 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@75e31417 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:22, skipping insertion in model container [2023-11-21 16:07:22,881 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 04:07:22" (1/1) ... [2023-11-21 16:07:22,935 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 16:07:23,281 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 16:07:23,289 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 16:07:23,326 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 16:07:23,363 INFO L206 MainTranslator]: Completed translation [2023-11-21 16:07:23,364 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:23 WrapperNode [2023-11-21 16:07:23,364 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 16:07:23,365 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 16:07:23,365 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 16:07:23,365 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 16:07:23,370 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:23" (1/1) ... [2023-11-21 16:07:23,393 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:23" (1/1) ... [2023-11-21 16:07:23,427 INFO L138 Inliner]: procedures = 174, calls = 39, calls flagged for inlining = 15, calls inlined = 17, statements flattened = 193 [2023-11-21 16:07:23,428 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 16:07:23,429 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 16:07:23,429 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 16:07:23,429 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 16:07:23,437 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:23" (1/1) ... [2023-11-21 16:07:23,438 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:23" (1/1) ... [2023-11-21 16:07:23,442 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:23" (1/1) ... [2023-11-21 16:07:23,448 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor has thrown an exception: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processJoinStatement(AliasAnalysis.java:175) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processStatementList(AliasAnalysis.java:161) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processBody(AliasAnalysis.java:128) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.aliasAnalysis(AliasAnalysis.java:117) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.tryToSliceMemory(HeapSplitter.java: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 16:07:23,458 INFO L158 Benchmark]: Toolchain (without parser) took 583.45ms. Allocated memory is still 62.9MB. Free memory was 30.7MB in the beginning and 36.2MB in the end (delta: -5.5MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 16:07:23,458 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 50.3MB. Free memory was 27.6MB in the beginning and 27.6MB in the end (delta: 39.2kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 16:07:23,459 INFO L158 Benchmark]: CACSL2BoogieTranslator took 488.32ms. Allocated memory is still 62.9MB. Free memory was 30.5MB in the beginning and 40.2MB in the end (delta: -9.7MB). Peak memory consumption was 7.3MB. Max. memory is 16.1GB. [2023-11-21 16:07:23,459 INFO L158 Benchmark]: Boogie Procedure Inliner took 63.66ms. Allocated memory is still 62.9MB. Free memory was 40.2MB in the beginning and 37.4MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 16:07:23,459 INFO L158 Benchmark]: Boogie Preprocessor took 27.17ms. Allocated memory is still 62.9MB. Free memory was 37.4MB in the beginning and 36.2MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 16:07:23,461 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.16ms. Allocated memory is still 50.3MB. Free memory was 27.6MB in the beginning and 27.6MB in the end (delta: 39.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 488.32ms. Allocated memory is still 62.9MB. Free memory was 30.5MB in the beginning and 40.2MB in the end (delta: -9.7MB). Peak memory consumption was 7.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 63.66ms. Allocated memory is still 62.9MB. Free memory was 40.2MB in the beginning and 37.4MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 27.17ms. Allocated memory is still 62.9MB. Free memory was 37.4MB in the beginning and 36.2MB 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-atomic/gcd-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 abac4834eb8b1123405a2c6108c3d30e84ad22df2224a055d262e226b4ba66e1 --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e93f2d6-m [2023-11-21 16:07:25,187 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 16:07:25,243 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Bitvector.epf [2023-11-21 16:07:25,253 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 16:07:25,253 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-21 16:07:25,287 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 16:07:25,288 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-21 16:07:25,289 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-21 16:07:25,289 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 16:07:25,290 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-21 16:07:25,291 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 16:07:25,291 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 16:07:25,291 INFO L153 SettingsManager]: * Use SBE=true [2023-11-21 16:07:25,292 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 16:07:25,293 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 16:07:25,293 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 16:07:25,294 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 16:07:25,294 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 16:07:25,296 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 16:07:25,296 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 16:07:25,297 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 16:07:25,298 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-11-21 16:07:25,298 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-21 16:07:25,298 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-21 16:07:25,298 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 16:07:25,299 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 16:07:25,299 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 16:07:25,299 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 16:07:25,300 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 16:07:25,300 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-21 16:07:25,300 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-21 16:07:25,301 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-21 16:07:25,301 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 16:07:25,301 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 16:07:25,302 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 16:07:25,302 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-21 16:07:25,302 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 16:07:25,302 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-21 16:07:25,302 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-11-21 16:07:25,303 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-11-21 16:07:25,303 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 16:07:25,304 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-11-21 16:07:25,304 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-11-21 16:07:25,304 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 16:07:25,304 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 -> abac4834eb8b1123405a2c6108c3d30e84ad22df2224a055d262e226b4ba66e1 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-21 16:07:25,618 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 16:07:25,635 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 16:07:25,639 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 16:07:25,640 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 16:07:25,641 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 16:07:25,642 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-atomic/gcd-2.i [2023-11-21 16:07:26,683 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 16:07:26,902 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 16:07:26,903 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/gcd-2.i [2023-11-21 16:07:26,928 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/99a61642f/93a890c355324e0f8fdbdb13de010b7b/FLAGdce84b208 [2023-11-21 16:07:26,951 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/99a61642f/93a890c355324e0f8fdbdb13de010b7b [2023-11-21 16:07:26,953 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 16:07:26,955 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 16:07:26,958 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 16:07:26,958 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 16:07:26,961 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 16:07:26,962 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 04:07:26" (1/1) ... [2023-11-21 16:07:26,963 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7345bd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:26, skipping insertion in model container [2023-11-21 16:07:26,963 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 04:07:26" (1/1) ... [2023-11-21 16:07:27,007 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 16:07:27,288 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 16:07:27,301 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 16:07:27,361 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 16:07:27,393 INFO L206 MainTranslator]: Completed translation [2023-11-21 16:07:27,393 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:27 WrapperNode [2023-11-21 16:07:27,393 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 16:07:27,394 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 16:07:27,394 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 16:07:27,397 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 16:07:27,403 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:27" (1/1) ... [2023-11-21 16:07:27,415 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:27" (1/1) ... [2023-11-21 16:07:27,453 INFO L138 Inliner]: procedures = 177, calls = 39, calls flagged for inlining = 15, calls inlined = 17, statements flattened = 194 [2023-11-21 16:07:27,458 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 16:07:27,462 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 16:07:27,462 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 16:07:27,462 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 16:07:27,483 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:27" (1/1) ... [2023-11-21 16:07:27,483 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:27" (1/1) ... [2023-11-21 16:07:27,499 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 04:07:27" (1/1) ... [2023-11-21 16:07:27,505 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor has thrown an exception: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processJoinStatement(AliasAnalysis.java:175) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processStatementList(AliasAnalysis.java:161) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.processBody(AliasAnalysis.java:128) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.AliasAnalysis.aliasAnalysis(AliasAnalysis.java:117) at de.uni_freiburg.informatik.ultimate.boogie.preprocessor.memoryslicer.HeapSplitter.tryToSliceMemory(HeapSplitter.java: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 16:07:27,509 INFO L158 Benchmark]: Toolchain (without parser) took 553.25ms. Allocated memory is still 88.1MB. Free memory was 53.4MB in the beginning and 49.4MB in the end (delta: 4.0MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. [2023-11-21 16:07:27,509 INFO L158 Benchmark]: CDTParser took 0.80ms. Allocated memory is still 56.6MB. Free memory is still 33.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 16:07:27,509 INFO L158 Benchmark]: CACSL2BoogieTranslator took 435.85ms. Allocated memory is still 88.1MB. Free memory was 53.2MB in the beginning and 53.3MB in the end (delta: -85.3kB). Peak memory consumption was 9.4MB. Max. memory is 16.1GB. [2023-11-21 16:07:27,510 INFO L158 Benchmark]: Boogie Procedure Inliner took 67.17ms. Allocated memory is still 88.1MB. Free memory was 53.3MB in the beginning and 50.6MB in the end (delta: 2.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-21 16:07:27,510 INFO L158 Benchmark]: Boogie Preprocessor took 45.71ms. Allocated memory is still 88.1MB. Free memory was 50.6MB in the beginning and 49.4MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 16:07:27,525 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.80ms. Allocated memory is still 56.6MB. Free memory is still 33.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 435.85ms. Allocated memory is still 88.1MB. Free memory was 53.2MB in the beginning and 53.3MB in the end (delta: -85.3kB). Peak memory consumption was 9.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 67.17ms. Allocated memory is still 88.1MB. Free memory was 53.3MB in the beginning and 50.6MB in the end (delta: 2.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 45.71ms. Allocated memory is still 88.1MB. Free memory was 50.6MB in the beginning and 49.4MB in the end (delta: 1.2MB). 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