/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-NoLbe-OGIterative-CovSimpl-Hitting.epf -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/concurrent/pthreads/predecessorInAtomicBlockBug.c -------------------------------------------------------------------------------- This is Ultimate 0.2.1-2cf4d3f9dd5fed411db405f577e28237a543b59a-2cf4d3f [2021-08-13 17:43:38,985 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-13 17:43:38,986 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-13 17:43:39,010 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-13 17:43:39,010 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-13 17:43:39,011 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-13 17:43:39,012 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-13 17:43:39,017 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-13 17:43:39,018 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-13 17:43:39,019 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-13 17:43:39,019 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-13 17:43:39,020 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-13 17:43:39,020 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-13 17:43:39,021 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-13 17:43:39,021 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-13 17:43:39,022 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-13 17:43:39,023 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-13 17:43:39,023 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-13 17:43:39,024 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-13 17:43:39,027 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-13 17:43:39,028 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-13 17:43:39,032 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-13 17:43:39,032 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-13 17:43:39,033 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-13 17:43:39,035 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-13 17:43:39,035 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-13 17:43:39,035 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-13 17:43:39,036 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-13 17:43:39,036 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-13 17:43:39,037 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-13 17:43:39,037 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-13 17:43:39,037 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-13 17:43:39,038 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-13 17:43:39,038 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-13 17:43:39,039 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-13 17:43:39,039 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-13 17:43:39,040 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-13 17:43:39,040 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-13 17:43:39,040 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-13 17:43:39,041 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-13 17:43:39,042 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-13 17:43:39,052 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-NoLbe-OGIterative-CovSimpl-Hitting.epf [2021-08-13 17:43:39,072 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-13 17:43:39,072 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-13 17:43:39,073 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-13 17:43:39,073 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-13 17:43:39,073 INFO L138 SettingsManager]: * Use SBE=true [2021-08-13 17:43:39,073 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-13 17:43:39,073 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-13 17:43:39,073 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-13 17:43:39,073 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-13 17:43:39,074 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-08-13 17:43:39,075 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-13 17:43:39,075 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-13 17:43:39,075 INFO L138 SettingsManager]: * To the following directory=./dump/ [2021-08-13 17:43:39,075 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-08-13 17:43:39,075 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-13 17:43:39,075 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-13 17:43:39,075 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Compute cosets for OwickiGries annotation iteratively=true [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * Use hitting sets in computation of OwickiGries annotation=true [2021-08-13 17:43:39,076 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2021-08-13 17:43:39,077 INFO L138 SettingsManager]: * Simplify away covered predicates in OwickiGries annotation=true 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 [2021-08-13 17:43:39,336 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-13 17:43:39,355 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-13 17:43:39,357 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-13 17:43:39,358 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-13 17:43:39,359 INFO L275 PluginConnector]: CDTParser initialized [2021-08-13 17:43:39,360 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/concurrent/pthreads/predecessorInAtomicBlockBug.c [2021-08-13 17:43:39,422 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0fecc3c9d/9a832a7d1ae14479b635c8abf222a596/FLAG55da1e55a [2021-08-13 17:43:39,752 INFO L306 CDTParser]: Found 1 translation units. [2021-08-13 17:43:39,752 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/concurrent/pthreads/predecessorInAtomicBlockBug.c [2021-08-13 17:43:39,752 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2021-08-13 17:43:39,777 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0fecc3c9d/9a832a7d1ae14479b635c8abf222a596/FLAG55da1e55a [2021-08-13 17:43:40,187 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0fecc3c9d/9a832a7d1ae14479b635c8abf222a596 [2021-08-13 17:43:40,189 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-13 17:43:40,190 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-08-13 17:43:40,193 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-13 17:43:40,193 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-13 17:43:40,196 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-13 17:43:40,197 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,197 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@32f3e68e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40, skipping insertion in model container [2021-08-13 17:43:40,197 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,202 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-13 17:43:40,210 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-13 17:43:40,319 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-13 17:43:40,325 INFO L203 MainTranslator]: Completed pre-run [2021-08-13 17:43:40,333 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-13 17:43:40,342 INFO L208 MainTranslator]: Completed translation [2021-08-13 17:43:40,342 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40 WrapperNode [2021-08-13 17:43:40,342 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-13 17:43:40,343 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-08-13 17:43:40,343 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-08-13 17:43:40,343 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-08-13 17:43:40,347 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,351 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,393 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-08-13 17:43:40,394 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-13 17:43:40,394 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-13 17:43:40,394 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-13 17:43:40,398 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,399 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,400 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,400 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,402 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,402 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,403 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... [2021-08-13 17:43:40,403 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-13 17:43:40,404 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-13 17:43:40,404 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-13 17:43:40,405 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-13 17:43:40,406 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-13 17:43:40,484 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-08-13 17:43:40,485 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2021-08-13 17:43:40,485 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2021-08-13 17:43:40,485 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2021-08-13 17:43:40,487 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2021-08-13 17:43:40,487 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-13 17:43:40,487 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-13 17:43:40,487 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-08-13 17:43:40,487 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-08-13 17:43:40,488 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2021-08-13 17:43:40,630 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-13 17:43:40,630 INFO L299 CfgBuilder]: Removed 4 assume(true) statements. [2021-08-13 17:43:40,631 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.08 05:43:40 BoogieIcfgContainer [2021-08-13 17:43:40,631 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-13 17:43:40,632 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-08-13 17:43:40,632 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-08-13 17:43:40,634 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-08-13 17:43:40,634 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.08 05:43:40" (1/3) ... [2021-08-13 17:43:40,638 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@640bf2b1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.08 05:43:40, skipping insertion in model container [2021-08-13 17:43:40,639 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.08 05:43:40" (2/3) ... [2021-08-13 17:43:40,639 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@640bf2b1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.08 05:43:40, skipping insertion in model container [2021-08-13 17:43:40,650 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.08 05:43:40" (3/3) ... [2021-08-13 17:43:40,652 INFO L111 eAbstractionObserver]: Analyzing ICFG predecessorInAtomicBlockBug.c [2021-08-13 17:43:40,656 INFO L206 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-08-13 17:43:40,656 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2021-08-13 17:43:40,656 INFO L445 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,676 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,677 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,677 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,677 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,677 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,677 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,679 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,679 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,679 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,679 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-08-13 17:43:40,694 INFO L149 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2021-08-13 17:43:40,708 INFO L255 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2021-08-13 17:43:40,721 INFO L378 AbstractCegarLoop]: Interprodecural is true [2021-08-13 17:43:40,721 INFO L379 AbstractCegarLoop]: Hoare is false [2021-08-13 17:43:40,721 INFO L380 AbstractCegarLoop]: Compute interpolants for FPandBP [2021-08-13 17:43:40,721 INFO L381 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2021-08-13 17:43:40,721 INFO L382 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-08-13 17:43:40,721 INFO L383 AbstractCegarLoop]: Difference is false [2021-08-13 17:43:40,721 INFO L384 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-08-13 17:43:40,721 INFO L388 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2021-08-13 17:43:40,727 INFO L74 FinitePrefix]: Start finitePrefix. Operand has 29 places, 25 transitions, 55 flow [2021-08-13 17:43:40,745 INFO L129 PetriNetUnfolder]: 0/24 cut-off events. [2021-08-13 17:43:40,745 INFO L130 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2021-08-13 17:43:40,746 INFO L84 FinitePrefix]: Finished finitePrefix Result has 28 conditions, 24 events. 0/24 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 10 event pairs, 0 based on Foata normal form. 0/23 useless extension candidates. Maximal degree in co-relation 0. Up to 1 conditions per place. [2021-08-13 17:43:40,746 INFO L82 GeneralOperation]: Start removeDead. Operand has 29 places, 25 transitions, 55 flow [2021-08-13 17:43:40,749 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 25 places, 21 transitions, 45 flow [2021-08-13 17:43:40,753 INFO L129 PetriNetUnfolder]: 0/14 cut-off events. [2021-08-13 17:43:40,753 INFO L130 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2021-08-13 17:43:40,753 INFO L258 CegarLoopForPetriNet]: Found error trace [2021-08-13 17:43:40,754 INFO L266 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-13 17:43:40,754 INFO L430 AbstractCegarLoop]: === Iteration 1 === [fooErr0ASSERT_VIOLATIONASSERT, fooErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION]=== [2021-08-13 17:43:40,761 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-13 17:43:40,761 INFO L82 PathProgramCache]: Analyzing trace with hash 2023173854, now seen corresponding path program 1 times [2021-08-13 17:43:40,766 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-13 17:43:40,767 INFO L361 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [559240381] [2021-08-13 17:43:40,767 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-13 17:43:40,839 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-13 17:43:40,893 INFO L142 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2021-08-13 17:43:40,894 INFO L147 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2021-08-13 17:43:40,896 INFO L142 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2021-08-13 17:43:40,899 INFO L147 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 3 [2021-08-13 17:43:40,910 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-13 17:43:40,911 INFO L179 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-13 17:43:40,911 INFO L361 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [559240381] [2021-08-13 17:43:40,911 INFO L200 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [559240381] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-13 17:43:40,912 INFO L226 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-13 17:43:40,912 INFO L239 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-13 17:43:40,912 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [828776735] [2021-08-13 17:43:40,918 INFO L462 AbstractCegarLoop]: Interpolant automaton has 3 states [2021-08-13 17:43:40,919 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-13 17:43:40,929 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-13 17:43:40,930 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-13 17:43:40,933 INFO L513 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 25 [2021-08-13 17:43:40,936 INFO L92 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 21 transitions, 45 flow. Second operand has 3 states, 3 states have (on average 20.666666666666668) internal successors, (62), 3 states have internal predecessors, (62), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-13 17:43:40,936 INFO L101 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2021-08-13 17:43:40,936 INFO L102 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 25 [2021-08-13 17:43:40,937 INFO L74 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2021-08-13 17:43:40,972 INFO L129 PetriNetUnfolder]: 1/27 cut-off events. [2021-08-13 17:43:40,972 INFO L130 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2021-08-13 17:43:40,973 INFO L84 FinitePrefix]: Finished finitePrefix Result has 38 conditions, 27 events. 1/27 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 14 event pairs, 1 based on Foata normal form. 1/28 useless extension candidates. Maximal degree in co-relation 21. Up to 6 conditions per place. [2021-08-13 17:43:40,974 INFO L132 encePairwiseOnDemand]: 22/25 looper letters, 2 selfloop transitions, 2 changer transitions 0/21 dead transitions. [2021-08-13 17:43:40,974 INFO L138 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 27 places, 21 transitions, 53 flow [2021-08-13 17:43:40,975 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-13 17:43:40,976 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2021-08-13 17:43:40,981 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 65 transitions. [2021-08-13 17:43:40,982 INFO L558 CegarLoopForPetriNet]: DFA transition density 0.8666666666666667 [2021-08-13 17:43:40,983 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 65 transitions. [2021-08-13 17:43:40,984 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 65 transitions. [2021-08-13 17:43:40,984 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-13 17:43:40,986 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 65 transitions. [2021-08-13 17:43:40,988 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 21.666666666666668) internal successors, (65), 3 states have internal predecessors, (65), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-13 17:43:40,992 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 25.0) internal successors, (100), 4 states have internal predecessors, (100), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-13 17:43:40,992 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 25.0) internal successors, (100), 4 states have internal predecessors, (100), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-13 17:43:40,993 INFO L348 CegarLoopForPetriNet]: 25 programPoint places, 2 predicate places. [2021-08-13 17:43:40,993 INFO L482 AbstractCegarLoop]: Abstraction has has 27 places, 21 transitions, 53 flow [2021-08-13 17:43:40,993 INFO L483 AbstractCegarLoop]: Interpolant automaton has has 3 states, 3 states have (on average 20.666666666666668) internal successors, (62), 3 states have internal predecessors, (62), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-13 17:43:40,993 INFO L258 CegarLoopForPetriNet]: Found error trace [2021-08-13 17:43:40,994 INFO L266 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-13 17:43:40,994 WARN L519 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-08-13 17:43:40,994 INFO L430 AbstractCegarLoop]: === Iteration 2 === [fooErr0ASSERT_VIOLATIONASSERT, fooErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION]=== [2021-08-13 17:43:40,995 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-13 17:43:40,995 INFO L82 PathProgramCache]: Analyzing trace with hash 1095684396, now seen corresponding path program 1 times [2021-08-13 17:43:40,995 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-13 17:43:40,996 INFO L361 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1838180666] [2021-08-13 17:43:40,996 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-13 17:43:41,023 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-13 17:43:41,023 INFO L223 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-13 17:43:41,029 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-13 17:43:41,029 INFO L223 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-13 17:43:41,040 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-13 17:43:41,041 INFO L651 BasicCegarLoop]: Counterexample might be feasible [2021-08-13 17:43:41,041 WARN L519 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-08-13 17:43:41,043 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2021-08-13 17:43:41,056 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.08 05:43:41 BasicIcfg [2021-08-13 17:43:41,056 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-08-13 17:43:41,057 INFO L168 Benchmark]: Toolchain (without parser) took 866.34 ms. Allocated memory is still 183.5 MB. Free memory was 146.6 MB in the beginning and 125.9 MB in the end (delta: 20.7 MB). Peak memory consumption was 21.3 MB. Max. memory is 8.0 GB. [2021-08-13 17:43:41,057 INFO L168 Benchmark]: CDTParser took 0.13 ms. Allocated memory is still 183.5 MB. Free memory was 165.2 MB in the beginning and 165.1 MB in the end (delta: 114.8 kB). There was no memory consumed. Max. memory is 8.0 GB. [2021-08-13 17:43:41,058 INFO L168 Benchmark]: CACSL2BoogieTranslator took 149.24 ms. Allocated memory is still 183.5 MB. Free memory was 146.4 MB in the beginning and 138.0 MB in the end (delta: 8.4 MB). Peak memory consumption was 8.4 MB. Max. memory is 8.0 GB. [2021-08-13 17:43:41,058 INFO L168 Benchmark]: Boogie Procedure Inliner took 49.94 ms. Allocated memory is still 183.5 MB. Free memory was 137.9 MB in the beginning and 166.4 MB in the end (delta: -28.5 MB). Peak memory consumption was 5.6 MB. Max. memory is 8.0 GB. [2021-08-13 17:43:41,059 INFO L168 Benchmark]: Boogie Preprocessor took 10.06 ms. Allocated memory is still 183.5 MB. Free memory was 166.4 MB in the beginning and 165.3 MB in the end (delta: 1.1 MB). Peak memory consumption was 1.0 MB. Max. memory is 8.0 GB. [2021-08-13 17:43:41,059 INFO L168 Benchmark]: RCFGBuilder took 227.15 ms. Allocated memory is still 183.5 MB. Free memory was 165.3 MB in the beginning and 153.2 MB in the end (delta: 12.1 MB). Peak memory consumption was 11.5 MB. Max. memory is 8.0 GB. [2021-08-13 17:43:41,059 INFO L168 Benchmark]: TraceAbstraction took 423.64 ms. Allocated memory is still 183.5 MB. Free memory was 153.2 MB in the beginning and 125.9 MB in the end (delta: 27.3 MB). Peak memory consumption was 27.3 MB. Max. memory is 8.0 GB. [2021-08-13 17:43:41,061 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.13 ms. Allocated memory is still 183.5 MB. Free memory was 165.2 MB in the beginning and 165.1 MB in the end (delta: 114.8 kB). There was no memory consumed. Max. memory is 8.0 GB. * CACSL2BoogieTranslator took 149.24 ms. Allocated memory is still 183.5 MB. Free memory was 146.4 MB in the beginning and 138.0 MB in the end (delta: 8.4 MB). Peak memory consumption was 8.4 MB. Max. memory is 8.0 GB. * Boogie Procedure Inliner took 49.94 ms. Allocated memory is still 183.5 MB. Free memory was 137.9 MB in the beginning and 166.4 MB in the end (delta: -28.5 MB). Peak memory consumption was 5.6 MB. Max. memory is 8.0 GB. * Boogie Preprocessor took 10.06 ms. Allocated memory is still 183.5 MB. Free memory was 166.4 MB in the beginning and 165.3 MB in the end (delta: 1.1 MB). Peak memory consumption was 1.0 MB. Max. memory is 8.0 GB. * RCFGBuilder took 227.15 ms. Allocated memory is still 183.5 MB. Free memory was 165.3 MB in the beginning and 153.2 MB in the end (delta: 12.1 MB). Peak memory consumption was 11.5 MB. Max. memory is 8.0 GB. * TraceAbstraction took 423.64 ms. Allocated memory is still 183.5 MB. Free memory was 153.2 MB in the beginning and 125.9 MB in the end (delta: 27.3 MB). Peak memory consumption was 27.3 MB. Max. memory is 8.0 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 19]: assertion can be violated assertion can be violated We found a FailurePath: [L16] 0 int x = 0; VAL [x=0] [L24] 0 pthread_t threadId; VAL [x=0] [L25] FCALL, FORK 0 pthread_create(&threadId, NULL, & foo, NULL) VAL [arg={0:0}, x=0] [L27] 0 x = x - 1 VAL [arg={0:0}, arg={0:0}, x=-1] [L19] 1 CodeAnnotStmt[Assertion] VAL [arg={0:0}, arg={0:0}, x=-1] - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 33 locations, 3 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 4.1ms, RemoveRedundantFlowTime: 0.0ms, RemoveRedundantFlowUnfoldingTime: 0.0ms, BackfoldingTime: 0.0ms, BackfoldingUnfoldingTime: 0.0ms, FlowIncreaseByBackfolding: 0, BasicCegarLoop: VerificationResult: UNSAFE, OverallTime: 323.8ms, OverallIterations: 2, TraceHistogramMax: 1, EmptinessCheckTime: 0.0ms, AutomataDifference: 65.4ms, DeadEndRemovalTime: 0.0ms, HoareAnnotationTime: 0.0ms, InitialAbstractionConstructionTime: 27.5ms, PartialOrderReductionTime: 0.0ms, HoareTripleCheckerStatistics: 3 SDtfs, 0 SDslu, 0 SDs, 0 SdLazy, 4 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 9.0ms Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 10.3ms Time, 0.0ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=53occurred in iteration=1, InterpolantAutomatonStates: 3, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0ms DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 14.6ms SsaConstructionTime, 29.9ms SatisfiabilityAnalysisTime, 69.4ms InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 12 ConstructedInterpolants, 0 QuantifiedInterpolants, 30 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...