./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 AFTER --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 AFTER --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-29 19:48:15,453 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 19:48:15,456 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 19:48:15,482 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 19:48:15,483 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 19:48:15,484 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 19:48:15,485 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 19:48:15,487 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 19:48:15,488 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 19:48:15,489 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 19:48:15,490 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 19:48:15,491 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 19:48:15,491 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 19:48:15,492 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 19:48:15,493 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 19:48:15,494 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 19:48:15,494 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 19:48:15,495 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 19:48:15,496 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 19:48:15,498 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 19:48:15,499 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 19:48:15,500 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 19:48:15,501 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 19:48:15,501 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 19:48:15,504 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 19:48:15,505 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 19:48:15,505 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 19:48:15,506 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 19:48:15,506 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 19:48:15,507 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 19:48:15,508 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 19:48:15,508 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 19:48:15,509 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 19:48:15,510 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 19:48:15,511 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 19:48:15,511 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 19:48:15,512 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 19:48:15,512 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 19:48:15,512 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 19:48:15,513 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 19:48:15,514 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 19:48:15,515 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-29 19:48:15,535 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 19:48:15,535 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 19:48:15,536 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 19:48:15,536 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 19:48:15,536 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 19:48:15,537 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 19:48:15,537 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 19:48:15,537 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 19:48:15,538 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 19:48:15,538 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 19:48:15,538 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 19:48:15,538 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 19:48:15,539 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 19:48:15,539 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 19:48:15,539 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 19:48:15,539 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 19:48:15,540 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 19:48:15,540 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 19:48:15,540 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 19:48:15,540 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 19:48:15,540 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 19:48:15,541 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 19:48:15,541 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 19:48:15,541 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 19:48:15,541 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 19:48:15,541 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:48:15,542 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 19:48:15,542 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 19:48:15,542 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 19:48:15,542 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 19:48:15,543 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 19:48:15,543 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 19:48:15,543 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 19:48:15,543 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 19:48:15,543 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 -> AFTER [2023-08-29 19:48:15,852 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 19:48:15,872 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 19:48:15,874 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 19:48:15,875 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 19:48:15,877 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 19:48:15,878 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-29 19:48:17,059 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 19:48:17,324 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 19:48:17,325 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i [2023-08-29 19:48:17,338 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0da299d8b/f6189527d3b74b67b41fbb13243ab2e3/FLAG5da28e7b2 [2023-08-29 19:48:17,356 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0da299d8b/f6189527d3b74b67b41fbb13243ab2e3 [2023-08-29 19:48:17,358 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 19:48:17,359 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 19:48:17,360 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 19:48:17,360 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 19:48:17,365 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 19:48:17,366 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,369 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@763854d8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17, skipping insertion in model container [2023-08-29 19:48:17,370 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,376 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 19:48:17,431 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 19:48:17,626 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-29 19:48:17,792 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-29 19:48:17,802 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:48:17,811 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 19:48:17,833 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-29 19:48:17,860 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-29 19:48:17,862 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:48:17,897 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 19:48:17,898 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 19:48:17,898 WARN L667 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 19:48:17,903 INFO L208 MainTranslator]: Completed translation [2023-08-29 19:48:17,904 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17 WrapperNode [2023-08-29 19:48:17,904 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 19:48:17,905 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 19:48:17,906 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 19:48:17,906 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 19:48:17,911 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,937 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,955 INFO L138 Inliner]: procedures = 171, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 75 [2023-08-29 19:48:17,958 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 19:48:17,959 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 19:48:17,959 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 19:48:17,959 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 19:48:17,966 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,967 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,973 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,974 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,989 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,994 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:17,999 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:18,004 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:18,007 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 19:48:18,011 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 19:48:18,012 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 19:48:18,013 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 19:48:18,013 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:17" (1/1) ... [2023-08-29 19:48:18,019 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:48:18,031 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 19:48:18,046 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-29 19:48:18,054 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-29 19:48:18,081 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 19:48:18,081 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-29 19:48:18,081 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-29 19:48:18,081 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-29 19:48:18,082 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 19:48:18,083 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 19:48:18,084 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-29 19:48:18,215 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 19:48:18,217 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 19:48:18,405 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 19:48:18,574 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 19:48:18,574 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-29 19:48:18,575 ERROR L336 CfgBuilder]: Unexpected successor node of atomic block begin: L718-2 is neither atomic block end nor a sink node. [2023-08-29 19:48:18,576 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-29 19:48:18,580 INFO L158 Benchmark]: Toolchain (without parser) took 1220.07ms. Allocated memory was 67.1MB in the beginning and 88.1MB in the end (delta: 21.0MB). Free memory was 42.9MB in the beginning and 57.3MB in the end (delta: -14.3MB). Peak memory consumption was 32.7MB. Max. memory is 16.1GB. [2023-08-29 19:48:18,581 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 67.1MB. Free memory is still 44.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:48:18,581 INFO L158 Benchmark]: CACSL2BoogieTranslator took 544.48ms. Allocated memory was 67.1MB in the beginning and 88.1MB in the end (delta: 21.0MB). Free memory was 42.7MB in the beginning and 59.4MB in the end (delta: -16.8MB). Peak memory consumption was 16.0MB. Max. memory is 16.1GB. [2023-08-29 19:48:18,582 INFO L158 Benchmark]: Boogie Procedure Inliner took 52.62ms. Allocated memory is still 88.1MB. Free memory was 59.4MB in the beginning and 57.7MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:48:18,583 INFO L158 Benchmark]: Boogie Preprocessor took 51.77ms. Allocated memory is still 88.1MB. Free memory was 57.3MB in the beginning and 56.1MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:48:18,583 INFO L158 Benchmark]: RCFGBuilder took 567.65ms. Allocated memory is still 88.1MB. Free memory was 56.1MB in the beginning and 57.3MB in the end (delta: -1.2MB). Peak memory consumption was 23.0MB. Max. memory is 16.1GB. [2023-08-29 19:48:18,586 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.19ms. Allocated memory is still 67.1MB. Free memory is still 44.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 544.48ms. Allocated memory was 67.1MB in the beginning and 88.1MB in the end (delta: 21.0MB). Free memory was 42.7MB in the beginning and 59.4MB in the end (delta: -16.8MB). Peak memory consumption was 16.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 52.62ms. Allocated memory is still 88.1MB. Free memory was 59.4MB in the beginning and 57.7MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 51.77ms. Allocated memory is still 88.1MB. Free memory was 57.3MB in the beginning and 56.1MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 567.65ms. Allocated memory is still 88.1MB. Free memory was 56.1MB in the beginning and 57.3MB in the end (delta: -1.2MB). Peak memory consumption was 23.0MB. 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-29 19:48:18,603 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 AFTER --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-29 19:48:20,538 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 19:48:20,540 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 19:48:20,583 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 19:48:20,585 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 19:48:20,588 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 19:48:20,590 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 19:48:20,593 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 19:48:20,595 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 19:48:20,599 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 19:48:20,600 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 19:48:20,603 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 19:48:20,603 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 19:48:20,605 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 19:48:20,606 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 19:48:20,611 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 19:48:20,612 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 19:48:20,613 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 19:48:20,615 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 19:48:20,619 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 19:48:20,635 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 19:48:20,636 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 19:48:20,637 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 19:48:20,638 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 19:48:20,644 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 19:48:20,645 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 19:48:20,645 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 19:48:20,647 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 19:48:20,648 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 19:48:20,648 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 19:48:20,649 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 19:48:20,655 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 19:48:20,656 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 19:48:20,657 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 19:48:20,658 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 19:48:20,658 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 19:48:20,659 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 19:48:20,659 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 19:48:20,659 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 19:48:20,660 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 19:48:20,660 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 19:48:20,662 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2023-08-29 19:48:20,695 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 19:48:20,696 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 19:48:20,697 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 19:48:20,697 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 19:48:20,698 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 19:48:20,698 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 19:48:20,699 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 19:48:20,699 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 19:48:20,699 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 19:48:20,700 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 19:48:20,701 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 19:48:20,701 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 19:48:20,701 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 19:48:20,701 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 19:48:20,702 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 19:48:20,702 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 19:48:20,702 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 19:48:20,702 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 19:48:20,702 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 19:48:20,703 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 19:48:20,703 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2023-08-29 19:48:20,703 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-08-29 19:48:20,703 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 19:48:20,703 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 19:48:20,704 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 19:48:20,704 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 19:48:20,704 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 19:48:20,704 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:48:20,705 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 19:48:20,705 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 19:48:20,705 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2023-08-29 19:48:20,705 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-08-29 19:48:20,706 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 19:48:20,706 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 19:48:20,706 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 19:48:20,706 INFO L138 SettingsManager]: * Logic for external solver=AUFBV [2023-08-29 19:48:20,707 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 19:48:20,707 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 -> AFTER [2023-08-29 19:48:21,039 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 19:48:21,062 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 19:48:21,065 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 19:48:21,066 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 19:48:21,066 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 19:48:21,068 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-29 19:48:22,241 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 19:48:22,483 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 19:48:22,484 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/02_inc_cas.i [2023-08-29 19:48:22,498 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e5a5294ed/88e0174c8cbf43918869378b8db7464d/FLAG6df202851 [2023-08-29 19:48:22,827 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e5a5294ed/88e0174c8cbf43918869378b8db7464d [2023-08-29 19:48:22,829 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 19:48:22,830 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 19:48:22,831 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 19:48:22,831 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 19:48:22,833 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 19:48:22,833 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:48:22" (1/1) ... [2023-08-29 19:48:22,834 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@37c58c08 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:22, skipping insertion in model container [2023-08-29 19:48:22,834 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:48:22" (1/1) ... [2023-08-29 19:48:22,839 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 19:48:22,877 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 19:48:23,048 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-29 19:48:23,204 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-29 19:48:23,212 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:48:23,224 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 19:48:23,247 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-29 19:48:23,267 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-29 19:48:23,270 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:48:23,319 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 19:48:23,319 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 19:48:23,319 WARN L667 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 19:48:23,325 INFO L208 MainTranslator]: Completed translation [2023-08-29 19:48:23,326 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23 WrapperNode [2023-08-29 19:48:23,326 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 19:48:23,327 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 19:48:23,328 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 19:48:23,328 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 19:48:23,334 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,366 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,391 INFO L138 Inliner]: procedures = 175, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 76 [2023-08-29 19:48:23,391 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 19:48:23,392 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 19:48:23,393 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 19:48:23,393 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 19:48:23,401 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,402 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,412 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,413 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,430 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,436 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,439 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,444 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,450 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 19:48:23,453 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 19:48:23,453 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 19:48:23,453 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 19:48:23,454 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:48:23" (1/1) ... [2023-08-29 19:48:23,459 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:48:23,471 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 19:48:23,490 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-29 19:48:23,503 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-29 19:48:23,531 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-08-29 19:48:23,531 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-29 19:48:23,531 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-29 19:48:23,531 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-29 19:48:23,531 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 19:48:23,532 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 19:48:23,532 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 19:48:23,532 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-08-29 19:48:23,532 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-08-29 19:48:23,532 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2023-08-29 19:48:23,532 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-29 19:48:23,533 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 19:48:23,533 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 19:48:23,534 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-29 19:48:23,678 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 19:48:23,680 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 19:48:23,945 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 19:48:24,071 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 19:48:24,071 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-29 19:48:24,072 ERROR L336 CfgBuilder]: Unexpected successor node of atomic block begin: L718-2 is neither atomic block end nor a sink node. [2023-08-29 19:48:24,073 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-29 19:48:24,076 INFO L158 Benchmark]: Toolchain (without parser) took 1245.87ms. Allocated memory was 71.3MB in the beginning and 102.8MB in the end (delta: 31.5MB). Free memory was 46.2MB in the beginning and 78.9MB in the end (delta: -32.7MB). Peak memory consumption was 35.7MB. Max. memory is 16.1GB. [2023-08-29 19:48:24,077 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 71.3MB. Free memory is still 49.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:48:24,078 INFO L158 Benchmark]: CACSL2BoogieTranslator took 495.62ms. Allocated memory was 71.3MB in the beginning and 102.8MB in the end (delta: 31.5MB). Free memory was 45.9MB in the beginning and 80.9MB in the end (delta: -35.0MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. [2023-08-29 19:48:24,078 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.33ms. Allocated memory is still 102.8MB. Free memory was 80.4MB in the beginning and 78.8MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:48:24,079 INFO L158 Benchmark]: Boogie Preprocessor took 59.47ms. Allocated memory is still 102.8MB. Free memory was 78.8MB in the beginning and 76.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:48:24,079 INFO L158 Benchmark]: RCFGBuilder took 622.36ms. Allocated memory is still 102.8MB. Free memory was 76.7MB in the beginning and 78.9MB in the end (delta: -2.2MB). Peak memory consumption was 34.4MB. Max. memory is 16.1GB. [2023-08-29 19:48:24,082 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.20ms. Allocated memory is still 71.3MB. Free memory is still 49.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 495.62ms. Allocated memory was 71.3MB in the beginning and 102.8MB in the end (delta: 31.5MB). Free memory was 45.9MB in the beginning and 80.9MB in the end (delta: -35.0MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.33ms. Allocated memory is still 102.8MB. Free memory was 80.4MB in the beginning and 78.8MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 59.47ms. Allocated memory is still 102.8MB. Free memory was 78.8MB in the beginning and 76.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 622.36ms. Allocated memory is still 102.8MB. Free memory was 76.7MB in the beginning and 78.9MB in the end (delta: -2.2MB). Peak memory consumption was 34.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-29 19:48:24,101 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 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?