/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-POR-NewStatesSleep-NoLbe-Symm.epf -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/concurrent/pthreads/regression/atomic/05-end-no-begin.c -------------------------------------------------------------------------------- This is Ultimate 0.2.1-98196c323137eee61a7c1131837b356358d783d4-98196c3 [2021-06-16 20:11:35,693 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-06-16 20:11:35,695 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-06-16 20:11:35,719 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-06-16 20:11:35,719 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-06-16 20:11:35,720 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-06-16 20:11:35,721 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-06-16 20:11:35,723 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-06-16 20:11:35,724 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-06-16 20:11:35,725 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-06-16 20:11:35,726 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-06-16 20:11:35,727 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-06-16 20:11:35,727 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-06-16 20:11:35,728 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-06-16 20:11:35,729 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-06-16 20:11:35,730 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-06-16 20:11:35,731 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-06-16 20:11:35,731 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-06-16 20:11:35,733 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-06-16 20:11:35,734 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-06-16 20:11:35,736 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-06-16 20:11:35,737 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-06-16 20:11:35,738 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-06-16 20:11:35,738 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-06-16 20:11:35,741 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-06-16 20:11:35,741 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-06-16 20:11:35,741 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-06-16 20:11:35,742 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-06-16 20:11:35,742 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-06-16 20:11:35,743 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-06-16 20:11:35,743 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-06-16 20:11:35,744 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-06-16 20:11:35,745 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-06-16 20:11:35,745 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-06-16 20:11:35,746 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-06-16 20:11:35,746 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-06-16 20:11:35,747 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-06-16 20:11:35,747 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-06-16 20:11:35,748 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-06-16 20:11:35,751 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-06-16 20:11:35,752 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-06-16 20:11:35,756 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-POR-NewStatesSleep-NoLbe-Symm.epf [2021-06-16 20:11:35,793 INFO L113 SettingsManager]: Loading preferences was successful [2021-06-16 20:11:35,794 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-06-16 20:11:35,794 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-06-16 20:11:35,794 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-06-16 20:11:35,795 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-06-16 20:11:35,795 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-06-16 20:11:35,795 INFO L138 SettingsManager]: * Use SBE=true [2021-06-16 20:11:35,796 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-06-16 20:11:35,796 INFO L138 SettingsManager]: * sizeof long=4 [2021-06-16 20:11:35,796 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-06-16 20:11:35,796 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-06-16 20:11:35,796 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-06-16 20:11:35,796 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-06-16 20:11:35,796 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-06-16 20:11:35,797 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-06-16 20:11:35,797 INFO L138 SettingsManager]: * sizeof long double=12 [2021-06-16 20:11:35,797 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-06-16 20:11:35,797 INFO L138 SettingsManager]: * Use constant arrays=true [2021-06-16 20:11:35,797 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-06-16 20:11:35,797 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-06-16 20:11:35,797 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-06-16 20:11:35,798 INFO L138 SettingsManager]: * To the following directory=./dump/ [2021-06-16 20:11:35,798 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-06-16 20:11:35,798 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-06-16 20:11:35,798 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-06-16 20:11:35,798 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-06-16 20:11:35,798 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=SLEEP_NEW_STATES [2021-06-16 20:11:35,799 INFO L138 SettingsManager]: * Limit POR to symmetric independence in concurrent analysis=true [2021-06-16 20:11:35,800 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/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-06-16 20:11:36,067 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-06-16 20:11:36,104 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-06-16 20:11:36,107 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-06-16 20:11:36,107 INFO L271 PluginConnector]: Initializing CDTParser... [2021-06-16 20:11:36,108 INFO L275 PluginConnector]: CDTParser initialized [2021-06-16 20:11:36,109 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/concurrent/pthreads/regression/atomic/05-end-no-begin.c [2021-06-16 20:11:36,170 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8d5377a40/22324392a7c749a88d9443cc31e497b3/FLAG3af49cd25 [2021-06-16 20:11:36,621 INFO L306 CDTParser]: Found 1 translation units. [2021-06-16 20:11:36,622 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/concurrent/pthreads/regression/atomic/05-end-no-begin.c [2021-06-16 20:11:36,622 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2021-06-16 20:11:36,657 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8d5377a40/22324392a7c749a88d9443cc31e497b3/FLAG3af49cd25 [2021-06-16 20:11:37,027 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8d5377a40/22324392a7c749a88d9443cc31e497b3 [2021-06-16 20:11:37,033 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-06-16 20:11:37,034 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-06-16 20:11:37,049 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-06-16 20:11:37,049 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-06-16 20:11:37,053 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-06-16 20:11:37,054 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,056 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@73f3a5fe and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37, skipping insertion in model container [2021-06-16 20:11:37,056 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,062 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-06-16 20:11:37,071 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-06-16 20:11:37,159 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-06-16 20:11:37,170 INFO L203 MainTranslator]: Completed pre-run [2021-06-16 20:11:37,213 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-06-16 20:11:37,227 INFO L208 MainTranslator]: Completed translation [2021-06-16 20:11:37,227 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37 WrapperNode [2021-06-16 20:11:37,228 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-06-16 20:11:37,229 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-06-16 20:11:37,229 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-06-16 20:11:37,229 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-06-16 20:11:37,235 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,240 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,252 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-06-16 20:11:37,253 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-06-16 20:11:37,253 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-06-16 20:11:37,253 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-06-16 20:11:37,259 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,260 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,261 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,261 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,266 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,267 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,268 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (1/1) ... [2021-06-16 20:11:37,273 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-06-16 20:11:37,276 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-06-16 20:11:37,276 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-06-16 20:11:37,276 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-06-16 20:11:37,277 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (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-06-16 20:11:37,349 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-06-16 20:11:37,349 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2021-06-16 20:11:37,350 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2021-06-16 20:11:37,350 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2021-06-16 20:11:37,350 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-06-16 20:11:37,350 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-06-16 20:11:37,350 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-06-16 20:11:37,350 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-06-16 20:11:37,351 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2021-06-16 20:11:37,551 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-06-16 20:11:37,552 INFO L299 CfgBuilder]: Removed 4 assume(true) statements. [2021-06-16 20:11:37,553 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 16.06 08:11:37 BoogieIcfgContainer [2021-06-16 20:11:37,553 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-06-16 20:11:37,554 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-06-16 20:11:37,555 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-06-16 20:11:37,557 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-06-16 20:11:37,557 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 16.06 08:11:37" (1/3) ... [2021-06-16 20:11:37,558 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@58effc59 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 16.06 08:11:37, skipping insertion in model container [2021-06-16 20:11:37,558 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.06 08:11:37" (2/3) ... [2021-06-16 20:11:37,558 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@58effc59 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 16.06 08:11:37, skipping insertion in model container [2021-06-16 20:11:37,558 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 16.06 08:11:37" (3/3) ... [2021-06-16 20:11:37,559 INFO L111 eAbstractionObserver]: Analyzing ICFG 05-end-no-begin.c [2021-06-16 20:11:37,564 WARN L148 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2021-06-16 20:11:37,564 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-06-16 20:11:37,564 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2021-06-16 20:11:37,565 INFO L470 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2021-06-16 20:11:37,580 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,581 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,581 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,581 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,581 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,581 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,582 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,582 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,584 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,584 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,584 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,584 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-16 20:11:37,588 INFO L149 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2021-06-16 20:11:37,605 INFO L255 AbstractCegarLoop]: Starting to check reachability of 2 error locations. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2021-06-16 20:11:37,677 INFO L378 AbstractCegarLoop]: Interprodecural is true [2021-06-16 20:11:37,677 INFO L379 AbstractCegarLoop]: Hoare is false [2021-06-16 20:11:37,678 INFO L380 AbstractCegarLoop]: Compute interpolants for FPandBP [2021-06-16 20:11:37,678 INFO L381 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2021-06-16 20:11:37,678 INFO L382 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-06-16 20:11:37,678 INFO L383 AbstractCegarLoop]: Difference is false [2021-06-16 20:11:37,678 INFO L384 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-06-16 20:11:37,678 INFO L388 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == ULTIMATE.start======== [2021-06-16 20:11:37,727 INFO L430 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr0INUSE_VIOLATION, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2021-06-16 20:11:37,731 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-06-16 20:11:37,732 INFO L82 PathProgramCache]: Analyzing trace with hash -2098265043, now seen corresponding path program 1 times [2021-06-16 20:11:37,740 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-06-16 20:11:37,741 INFO L361 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1567602065] [2021-06-16 20:11:37,741 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-06-16 20:11:37,842 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-06-16 20:11:37,929 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-06-16 20:11:37,931 INFO L179 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-06-16 20:11:37,931 INFO L361 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1567602065] [2021-06-16 20:11:37,932 INFO L200 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1567602065] provided 1 perfect and 0 imperfect interpolant sequences [2021-06-16 20:11:37,932 INFO L226 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-06-16 20:11:37,932 INFO L239 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-06-16 20:11:37,933 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1982994753] [2021-06-16 20:11:37,937 INFO L462 AbstractCegarLoop]: Interpolant automaton has 4 states [2021-06-16 20:11:37,938 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-06-16 20:11:37,952 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-06-16 20:11:37,954 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2021-06-16 20:11:37,955 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-06-16 20:11:37,956 INFO L482 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2021-06-16 20:11:37,958 INFO L483 AbstractCegarLoop]: Interpolant automaton has has 4 states, 3 states have (on average 5.333333333333333) internal successors, (16), 4 states have internal predecessors, (16), 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-06-16 20:11:37,958 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2021-06-16 20:11:38,104 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-06-16 20:11:38,104 WARN L519 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-06-16 20:11:38,104 INFO L430 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr0INUSE_VIOLATION, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2021-06-16 20:11:38,108 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-06-16 20:11:38,108 INFO L82 PathProgramCache]: Analyzing trace with hash -2092285394, now seen corresponding path program 1 times [2021-06-16 20:11:38,108 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-06-16 20:11:38,109 INFO L361 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1537616105] [2021-06-16 20:11:38,109 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-06-16 20:11:38,136 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-06-16 20:11:38,137 INFO L223 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-06-16 20:11:38,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-06-16 20:11:38,146 INFO L223 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-06-16 20:11:38,165 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-06-16 20:11:38,166 INFO L573 BasicCegarLoop]: Counterexample might be feasible [2021-06-16 20:11:38,167 WARN L519 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-06-16 20:11:38,176 INFO L247 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2021-06-16 20:11:38,201 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 16.06 08:11:38 BasicIcfg [2021-06-16 20:11:38,202 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-06-16 20:11:38,204 INFO L168 Benchmark]: Toolchain (without parser) took 1168.36 ms. Allocated memory is still 191.9 MB. Free memory was 154.6 MB in the beginning and 130.8 MB in the end (delta: 23.8 MB). Peak memory consumption was 23.0 MB. Max. memory is 8.0 GB. [2021-06-16 20:11:38,205 INFO L168 Benchmark]: CDTParser took 0.16 ms. Allocated memory is still 191.9 MB. Free memory is still 173.1 MB. There was no memory consumed. Max. memory is 8.0 GB. [2021-06-16 20:11:38,206 INFO L168 Benchmark]: CACSL2BoogieTranslator took 178.98 ms. Allocated memory is still 191.9 MB. Free memory was 154.4 MB in the beginning and 174.8 MB in the end (delta: -20.4 MB). Peak memory consumption was 10.5 MB. Max. memory is 8.0 GB. [2021-06-16 20:11:38,206 INFO L168 Benchmark]: Boogie Procedure Inliner took 23.66 ms. Allocated memory is still 191.9 MB. Free memory was 174.8 MB in the beginning and 173.2 MB in the end (delta: 1.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 8.0 GB. [2021-06-16 20:11:38,207 INFO L168 Benchmark]: Boogie Preprocessor took 19.69 ms. Allocated memory is still 191.9 MB. Free memory was 173.2 MB in the beginning and 172.7 MB in the end (delta: 522.2 kB). There was no memory consumed. Max. memory is 8.0 GB. [2021-06-16 20:11:38,212 INFO L168 Benchmark]: RCFGBuilder took 277.73 ms. Allocated memory is still 191.9 MB. Free memory was 172.7 MB in the beginning and 160.1 MB in the end (delta: 12.6 MB). Peak memory consumption was 12.6 MB. Max. memory is 8.0 GB. [2021-06-16 20:11:38,212 INFO L168 Benchmark]: TraceAbstraction took 647.49 ms. Allocated memory is still 191.9 MB. Free memory was 159.6 MB in the beginning and 130.8 MB in the end (delta: 28.8 MB). Peak memory consumption was 28.3 MB. Max. memory is 8.0 GB. [2021-06-16 20:11:38,216 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.16 ms. Allocated memory is still 191.9 MB. Free memory is still 173.1 MB. There was no memory consumed. Max. memory is 8.0 GB. * CACSL2BoogieTranslator took 178.98 ms. Allocated memory is still 191.9 MB. Free memory was 154.4 MB in the beginning and 174.8 MB in the end (delta: -20.4 MB). Peak memory consumption was 10.5 MB. Max. memory is 8.0 GB. * Boogie Procedure Inliner took 23.66 ms. Allocated memory is still 191.9 MB. Free memory was 174.8 MB in the beginning and 173.2 MB in the end (delta: 1.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 8.0 GB. * Boogie Preprocessor took 19.69 ms. Allocated memory is still 191.9 MB. Free memory was 173.2 MB in the beginning and 172.7 MB in the end (delta: 522.2 kB). There was no memory consumed. Max. memory is 8.0 GB. * RCFGBuilder took 277.73 ms. Allocated memory is still 191.9 MB. Free memory was 172.7 MB in the beginning and 160.1 MB in the end (delta: 12.6 MB). Peak memory consumption was 12.6 MB. Max. memory is 8.0 GB. * TraceAbstraction took 647.49 ms. Allocated memory is still 191.9 MB. Free memory was 159.6 MB in the beginning and 130.8 MB in the end (delta: 28.8 MB). Peak memory consumption was 28.3 MB. Max. memory is 8.0 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Independence relation benchmarks ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 35, positive: 33, positive conditional: 33, positive unconditional: 0, negative: 2, negative conditional: 2, negative unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: DistributingIndependenceRelation.Independence Queries: [ total: 34, positive: 33, positive conditional: 33, positive unconditional: 0, negative: 1, negative conditional: 1, negative unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DistributingIndependenceRelation.Statistics on underlying relations: [ CachedIndependenceRelation.Independence Queries: [ total: 34, positive: 31, positive conditional: 0, positive unconditional: 31, negative: 3, negative conditional: 0, negative unconditional: 3, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 30, positive: 27, positive conditional: 0, positive unconditional: 27, negative: 3, negative conditional: 0, negative unconditional: 3, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 30, positive: 27, positive conditional: 0, positive unconditional: 27, negative: 3, negative conditional: 0, negative unconditional: 3, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Independence Queries: [ total: 3, positive: 0, positive conditional: 0, positive unconditional: 0, negative: 3, negative conditional: 0, negative unconditional: 3, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 6, positive: 2, positive conditional: 2, positive unconditional: 0, negative: 4, negative conditional: 1, negative unconditional: 3, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 78, positive: 13, positive conditional: 13, positive unconditional: 0, negative: 65, negative conditional: 9, negative unconditional: 56, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 34, positive: 4, positive conditional: 0, positive unconditional: 4, negative: 0, negative conditional: 0, negative unconditional: 0, unknown: 30, unknown conditional: 0, unknown unconditional: 30] , Statistics on independence cache: Total cache size (in pairs): 33, Positive cache size: 29, Positive conditional cache size: 2, Positive unconditional cache size: 27, Negative cache size: 4, Negative conditional cache size: 1, Negative unconditional cache size: 3, SemanticConditionEliminator.Independence Queries: [ total: 3, positive: 2, positive conditional: 2, positive unconditional: 0, negative: 1, negative conditional: 1, negative unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 3, positive: 2, positive conditional: 2, positive unconditional: 0, negative: 1, negative conditional: 1, negative unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 6, positive: 2, positive conditional: 2, positive unconditional: 0, negative: 4, negative conditional: 1, negative unconditional: 3, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 78, positive: 13, positive conditional: 13, positive unconditional: 0, negative: 65, negative conditional: 9, negative unconditional: 56, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Cache Queries: [ total: 3, positive: 0, positive conditional: 0, positive unconditional: 0, negative: 0, negative conditional: 0, negative unconditional: 0, unknown: 3, unknown conditional: 3, unknown unconditional: 0] , Statistics on independence cache: Total cache size (in pairs): 33, Positive cache size: 29, Positive conditional cache size: 2, Positive unconditional cache size: 27, Negative cache size: 4, Negative conditional cache size: 1, Negative unconditional cache size: 3, Eliminated conditions: 0 ], Maximal queried relation: 1, Independence queries for same thread: 1 - CounterExampleResult [Line: 30]: assertion can be violated assertion can be violated We found a FailurePath: [L15] 0 int x = 0; VAL [x=0] [L23] 0 pthread_t threadId; VAL [x=0] [L24] FCALL, FORK 0 pthread_create(&threadId, NULL, &foo, NULL) VAL [arg={0:0}, x=0] [L26] 0 x = 1 VAL [arg={0:0}, x=1] [L18] 1 x = 2 VAL [arg={0:0}, arg={0:0}, x=2] [L27] 0 x = x + 1 VAL [arg={0:0}, arg={0:0}, x=3] [L30] 0 CodeAnnotStmt[Assertion] VAL [arg={0:0}, arg={0:0}, x=3] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: ULTIMATE.start with 1 thread instances CFG has 3 procedures, 33 locations, 2 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 556.5ms, OverallIterations: 2, TraceHistogramMax: 0, EmptinessCheckTime: 0.0ms, AutomataDifference: 0.0ms, DeadEndRemovalTime: 0.0ms, HoareAnnotationTime: 0.0ms, InitialAbstractionConstructionTime: 16.6ms, PartialOrderReductionTime: 177.7ms, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 4, 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: 15.5ms SsaConstructionTime, 46.9ms SatisfiabilityAnalysisTime, 85.1ms InterpolantComputationTime, 34 NumberOfCodeBlocks, 34 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 15 ConstructedInterpolants, 0 QuantifiedInterpolants, 19 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...