./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-ext/02_inc_cas.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version b8dbc81d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/pthread-ext/02_inc_cas.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash ede09850ec25b369afc0cd16258beff942f9fc7c5304532be31fd5925a934e14 --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-31 22:27:06,583 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-31 22:27:06,585 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-31 22:27:06,634 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-31 22:27:06,634 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-31 22:27:06,637 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-31 22:27:06,639 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-31 22:27:06,642 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-31 22:27:06,644 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-31 22:27:06,648 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-31 22:27:06,649 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-31 22:27:06,652 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-31 22:27:06,652 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-31 22:27:06,654 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-31 22:27:06,656 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-31 22:27:06,662 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-31 22:27:06,663 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-31 22:27:06,665 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-31 22:27:06,667 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-31 22:27:06,672 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-31 22:27:06,674 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-31 22:27:06,675 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-31 22:27:06,676 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-31 22:27:06,677 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-31 22:27:06,683 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-31 22:27:06,683 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-31 22:27:06,684 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-31 22:27:06,685 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-31 22:27:06,686 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-31 22:27:06,687 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-31 22:27:06,687 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-31 22:27:06,692 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-31 22:27:06,693 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-31 22:27:06,695 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-31 22:27:06,696 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-31 22:27:06,696 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-31 22:27:06,697 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-31 22:27:06,697 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-31 22:27:06,697 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-31 22:27:06,698 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-31 22:27:06,699 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-31 22:27:06,700 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-31 22:27:06,735 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-31 22:27:06,735 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-31 22:27:06,736 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-31 22:27:06,736 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-31 22:27:06,737 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-31 22:27:06,737 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-31 22:27:06,738 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-31 22:27:06,738 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-31 22:27:06,738 INFO L138 SettingsManager]: * Use SBE=true [2023-08-31 22:27:06,738 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-31 22:27:06,739 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-31 22:27:06,739 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-31 22:27:06,740 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-31 22:27:06,740 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-31 22:27:06,740 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-31 22:27:06,740 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-31 22:27:06,740 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-31 22:27:06,740 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-31 22:27:06,741 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-31 22:27:06,741 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-31 22:27:06,741 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-31 22:27:06,741 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-31 22:27:06,742 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-31 22:27:06,742 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-31 22:27:06,742 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-31 22:27:06,742 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-31 22:27:06,742 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-31 22:27:06,743 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-31 22:27:06,743 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-31 22:27:06,743 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-31 22:27:06,743 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-31 22:27:06,743 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-31 22:27:06,744 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-31 22:27:06,744 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-31 22:27:06,744 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-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/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> ede09850ec25b369afc0cd16258beff942f9fc7c5304532be31fd5925a934e14 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> BEFORE [2023-08-31 22:27:07,053 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-31 22:27:07,079 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-31 22:27:07,082 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-31 22:27:07,083 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-31 22:27:07,084 INFO L275 PluginConnector]: CDTParser initialized [2023-08-31 22:27:07,085 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/02_inc_cas.i [2023-08-31 22:27:08,267 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-31 22:27:08,557 INFO L351 CDTParser]: Found 1 translation units. [2023-08-31 22:27:08,561 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i [2023-08-31 22:27:08,578 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5242c5712/b95893dcc9e848fdb2c58a2141a5b5e5/FLAG2b9e0b441 [2023-08-31 22:27:08,597 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5242c5712/b95893dcc9e848fdb2c58a2141a5b5e5 [2023-08-31 22:27:08,599 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-31 22:27:08,600 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-31 22:27:08,602 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-31 22:27:08,603 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-31 22:27:08,606 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-31 22:27:08,607 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.08 10:27:08" (1/1) ... [2023-08-31 22:27:08,608 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4ff1baf8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:08, skipping insertion in model container [2023-08-31 22:27:08,608 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.08 10:27:08" (1/1) ... [2023-08-31 22:27:08,614 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-31 22:27:08,663 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-31 22:27:08,851 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-31 22:27:08,977 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i[30873,30886] [2023-08-31 22:27:08,984 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-31 22:27:08,993 INFO L203 MainTranslator]: Completed pre-run [2023-08-31 22:27:09,019 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-31 22:27:09,078 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i[30873,30886] [2023-08-31 22:27:09,082 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-31 22:27:09,112 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 22:27:09,112 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 22:27:09,112 WARN L667 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 22:27:09,118 INFO L208 MainTranslator]: Completed translation [2023-08-31 22:27:09,119 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09 WrapperNode [2023-08-31 22:27:09,119 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-31 22:27:09,120 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-31 22:27:09,120 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-31 22:27:09,120 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-31 22:27:09,126 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,147 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,162 INFO L138 Inliner]: procedures = 171, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 75 [2023-08-31 22:27:09,163 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-31 22:27:09,163 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-31 22:27:09,163 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-31 22:27:09,163 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-31 22:27:09,169 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,169 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,171 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,171 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,176 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,178 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,180 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,181 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,183 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-31 22:27:09,184 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-31 22:27:09,184 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-31 22:27:09,184 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-31 22:27:09,185 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:09" (1/1) ... [2023-08-31 22:27:09,194 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-31 22:27:09,205 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-31 22:27:09,215 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-31 22:27:09,221 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-31 22:27:09,241 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-31 22:27:09,241 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-31 22:27:09,241 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-31 22:27:09,241 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-31 22:27:09,241 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-31 22:27:09,241 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-31 22:27:09,241 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-31 22:27:09,242 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-31 22:27:09,242 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-31 22:27:09,242 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-31 22:27:09,242 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-31 22:27:09,242 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-31 22:27:09,243 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-31 22:27:09,333 INFO L236 CfgBuilder]: Building ICFG [2023-08-31 22:27:09,334 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-31 22:27:09,508 INFO L277 CfgBuilder]: Performing block encoding [2023-08-31 22:27:09,790 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-31 22:27:09,790 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-31 22:27:09,791 ERROR L336 CfgBuilder]: Unexpected successor node of atomic block begin: L718-2 is neither atomic block end nor a sink node. [2023-08-31 22:27:09,792 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder has thrown an exception: java.lang.UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block? at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:305) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBuilderObserver.process(RCFGBuilderObserver.java:88) 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:167) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) 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-08-31 22:27:09,808 INFO L158 Benchmark]: Toolchain (without parser) took 1207.20ms. Allocated memory is still 71.3MB. Free memory was 47.7MB in the beginning and 33.3MB in the end (delta: 14.5MB). Peak memory consumption was 23.8MB. Max. memory is 16.1GB. [2023-08-31 22:27:09,810 INFO L158 Benchmark]: CDTParser took 0.23ms. Allocated memory is still 54.5MB. Free memory was 32.1MB in the beginning and 32.0MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-08-31 22:27:09,811 INFO L158 Benchmark]: CACSL2BoogieTranslator took 516.64ms. Allocated memory is still 71.3MB. Free memory was 47.5MB in the beginning and 44.6MB in the end (delta: 2.9MB). Peak memory consumption was 16.9MB. Max. memory is 16.1GB. [2023-08-31 22:27:09,812 INFO L158 Benchmark]: Boogie Procedure Inliner took 42.91ms. Allocated memory is still 71.3MB. Free memory was 44.6MB in the beginning and 42.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-31 22:27:09,812 INFO L158 Benchmark]: Boogie Preprocessor took 20.09ms. Allocated memory is still 71.3MB. Free memory was 42.5MB in the beginning and 41.1MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-31 22:27:09,813 INFO L158 Benchmark]: RCFGBuilder took 622.98ms. Allocated memory is still 71.3MB. Free memory was 41.1MB in the beginning and 33.3MB in the end (delta: 7.8MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. [2023-08-31 22:27:09,816 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.23ms. Allocated memory is still 54.5MB. Free memory was 32.1MB in the beginning and 32.0MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 516.64ms. Allocated memory is still 71.3MB. Free memory was 47.5MB in the beginning and 44.6MB in the end (delta: 2.9MB). Peak memory consumption was 16.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 42.91ms. Allocated memory is still 71.3MB. Free memory was 44.6MB in the beginning and 42.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 20.09ms. Allocated memory is still 71.3MB. Free memory was 42.5MB in the beginning and 41.1MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 622.98ms. Allocated memory is still 71.3MB. Free memory was 41.1MB in the beginning and 33.3MB in the end (delta: 7.8MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:305) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-08-31 22:27:09,837 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/pthread-ext/02_inc_cas.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash ede09850ec25b369afc0cd16258beff942f9fc7c5304532be31fd5925a934e14 --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-31 22:27:11,767 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-31 22:27:11,769 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-31 22:27:11,803 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-31 22:27:11,807 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-31 22:27:11,810 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-31 22:27:11,814 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-31 22:27:11,816 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-31 22:27:11,819 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-31 22:27:11,823 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-31 22:27:11,824 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-31 22:27:11,827 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-31 22:27:11,829 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-31 22:27:11,831 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-31 22:27:11,833 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-31 22:27:11,836 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-31 22:27:11,837 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-31 22:27:11,838 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-31 22:27:11,839 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-31 22:27:11,840 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-31 22:27:11,849 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-31 22:27:11,850 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-31 22:27:11,851 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-31 22:27:11,852 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-31 22:27:11,857 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-31 22:27:11,861 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-31 22:27:11,862 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-31 22:27:11,863 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-31 22:27:11,864 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-31 22:27:11,865 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-31 22:27:11,868 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-31 22:27:11,868 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-31 22:27:11,870 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-31 22:27:11,871 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-31 22:27:11,872 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-31 22:27:11,872 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-31 22:27:11,873 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-31 22:27:11,873 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-31 22:27:11,874 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-31 22:27:11,874 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-31 22:27:11,875 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-31 22:27:11,877 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2023-08-31 22:27:11,912 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-31 22:27:11,913 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-31 22:27:11,914 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-31 22:27:11,914 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-31 22:27:11,915 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-31 22:27:11,915 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-31 22:27:11,916 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-31 22:27:11,916 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-31 22:27:11,916 INFO L138 SettingsManager]: * Use SBE=true [2023-08-31 22:27:11,916 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-31 22:27:11,917 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-31 22:27:11,917 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-31 22:27:11,917 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-31 22:27:11,918 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-31 22:27:11,918 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-31 22:27:11,918 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-31 22:27:11,918 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-31 22:27:11,918 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-31 22:27:11,919 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-31 22:27:11,919 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-31 22:27:11,919 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2023-08-31 22:27:11,919 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-08-31 22:27:11,919 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-31 22:27:11,919 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-31 22:27:11,920 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-31 22:27:11,920 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-31 22:27:11,920 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-31 22:27:11,920 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-31 22:27:11,921 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-31 22:27:11,921 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-31 22:27:11,921 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2023-08-31 22:27:11,921 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-08-31 22:27:11,921 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-31 22:27:11,922 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-31 22:27:11,922 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-31 22:27:11,922 INFO L138 SettingsManager]: * Logic for external solver=AUFBV [2023-08-31 22:27:11,922 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-31 22:27:11,922 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-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/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> ede09850ec25b369afc0cd16258beff942f9fc7c5304532be31fd5925a934e14 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> BEFORE [2023-08-31 22:27:12,230 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-31 22:27:12,249 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-31 22:27:12,252 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-31 22:27:12,254 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-31 22:27:12,254 INFO L275 PluginConnector]: CDTParser initialized [2023-08-31 22:27:12,256 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/02_inc_cas.i [2023-08-31 22:27:13,333 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-31 22:27:13,632 INFO L351 CDTParser]: Found 1 translation units. [2023-08-31 22:27:13,632 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i [2023-08-31 22:27:13,644 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e84db9f5e/588d35661e354857a2cc830cbfd1df17/FLAGda40f57f8 [2023-08-31 22:27:13,655 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e84db9f5e/588d35661e354857a2cc830cbfd1df17 [2023-08-31 22:27:13,657 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-31 22:27:13,658 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-31 22:27:13,659 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-31 22:27:13,660 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-31 22:27:13,667 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-31 22:27:13,667 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.08 10:27:13" (1/1) ... [2023-08-31 22:27:13,669 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1e952306 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:13, skipping insertion in model container [2023-08-31 22:27:13,669 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.08 10:27:13" (1/1) ... [2023-08-31 22:27:13,675 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-31 22:27:13,726 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-31 22:27:13,856 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-31 22:27:14,026 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i[30873,30886] [2023-08-31 22:27:14,036 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-31 22:27:14,051 INFO L203 MainTranslator]: Completed pre-run [2023-08-31 22:27:14,076 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-31 22:27:14,105 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i[30873,30886] [2023-08-31 22:27:14,112 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-31 22:27:14,162 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 22:27:14,162 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 22:27:14,163 WARN L667 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 22:27:14,168 INFO L208 MainTranslator]: Completed translation [2023-08-31 22:27:14,169 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14 WrapperNode [2023-08-31 22:27:14,169 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-31 22:27:14,171 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-31 22:27:14,171 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-31 22:27:14,171 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-31 22:27:14,177 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,209 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,235 INFO L138 Inliner]: procedures = 175, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 76 [2023-08-31 22:27:14,236 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-31 22:27:14,237 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-31 22:27:14,238 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-31 22:27:14,238 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-31 22:27:14,246 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,247 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,257 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,257 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,272 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,279 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,281 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,286 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,289 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-31 22:27:14,293 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-31 22:27:14,294 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-31 22:27:14,294 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-31 22:27:14,295 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 10:27:14" (1/1) ... [2023-08-31 22:27:14,300 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-31 22:27:14,310 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-31 22:27:14,334 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-31 22:27:14,362 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-31 22:27:14,377 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-08-31 22:27:14,377 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-31 22:27:14,377 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-31 22:27:14,377 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-31 22:27:14,377 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-31 22:27:14,378 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-31 22:27:14,378 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-31 22:27:14,378 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-08-31 22:27:14,378 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-08-31 22:27:14,378 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-08-31 22:27:14,379 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-31 22:27:14,379 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-31 22:27:14,379 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-31 22:27:14,380 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-31 22:27:14,532 INFO L236 CfgBuilder]: Building ICFG [2023-08-31 22:27:14,547 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-31 22:27:14,824 INFO L277 CfgBuilder]: Performing block encoding [2023-08-31 22:27:15,018 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-31 22:27:15,019 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-31 22:27:15,019 ERROR L336 CfgBuilder]: Unexpected successor node of atomic block begin: L718-2 is neither atomic block end nor a sink node. [2023-08-31 22:27:15,020 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder has thrown an exception: java.lang.UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block? at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:305) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBuilderObserver.process(RCFGBuilderObserver.java:88) 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:167) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) 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-08-31 22:27:15,026 INFO L158 Benchmark]: Toolchain (without parser) took 1367.06ms. Allocated memory was 69.2MB in the beginning and 83.9MB in the end (delta: 14.7MB). Free memory was 45.9MB in the beginning and 56.7MB in the end (delta: -10.8MB). Peak memory consumption was 24.0MB. Max. memory is 16.1GB. [2023-08-31 22:27:15,027 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 56.6MB. Free memory was 34.2MB in the beginning and 34.1MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-08-31 22:27:15,027 INFO L158 Benchmark]: CACSL2BoogieTranslator took 510.72ms. Allocated memory is still 69.2MB. Free memory was 45.7MB in the beginning and 41.9MB in the end (delta: 3.8MB). Peak memory consumption was 16.9MB. Max. memory is 16.1GB. [2023-08-31 22:27:15,028 INFO L158 Benchmark]: Boogie Procedure Inliner took 65.53ms. Allocated memory is still 69.2MB. Free memory was 41.9MB in the beginning and 39.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-31 22:27:15,029 INFO L158 Benchmark]: Boogie Preprocessor took 55.63ms. Allocated memory is still 69.2MB. Free memory was 39.8MB in the beginning and 38.1MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-31 22:27:15,030 INFO L158 Benchmark]: RCFGBuilder took 731.09ms. Allocated memory was 69.2MB in the beginning and 83.9MB in the end (delta: 14.7MB). Free memory was 38.1MB in the beginning and 56.7MB in the end (delta: -18.6MB). Peak memory consumption was 15.5MB. Max. memory is 16.1GB. [2023-08-31 22:27:15,037 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21ms. Allocated memory is still 56.6MB. Free memory was 34.2MB in the beginning and 34.1MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 510.72ms. Allocated memory is still 69.2MB. Free memory was 45.7MB in the beginning and 41.9MB in the end (delta: 3.8MB). Peak memory consumption was 16.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 65.53ms. Allocated memory is still 69.2MB. Free memory was 41.9MB in the beginning and 39.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 55.63ms. Allocated memory is still 69.2MB. Free memory was 39.8MB in the beginning and 38.1MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 731.09ms. Allocated memory was 69.2MB in the beginning and 83.9MB in the end (delta: 14.7MB). Free memory was 38.1MB in the beginning and 56.7MB in the end (delta: -18.6MB). Peak memory consumption was 15.5MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:305) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-08-31 22:27:15,058 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: UnsupportedOperationException: Large block encoding incomplete: Is there illegal control flow (e.g. loops) within an atomic block?