/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-FA-NoLbe.epf -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/concurrent/pthreads/regression/pthreadExitUnsafe.c -------------------------------------------------------------------------------- This is Ultimate 0.2.1-9bbddad6b14272d9691b7fb6f1c011d15ab18596-9bbddad [2021-06-12 18:43:29,004 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-06-12 18:43:29,007 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-06-12 18:43:29,064 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-06-12 18:43:29,065 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-06-12 18:43:29,069 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-06-12 18:43:29,072 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-06-12 18:43:29,078 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-06-12 18:43:29,080 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-06-12 18:43:29,085 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-06-12 18:43:29,086 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-06-12 18:43:29,087 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-06-12 18:43:29,088 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-06-12 18:43:29,089 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-06-12 18:43:29,091 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-06-12 18:43:29,092 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-06-12 18:43:29,093 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-06-12 18:43:29,093 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-06-12 18:43:29,098 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-06-12 18:43:29,102 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-06-12 18:43:29,103 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-06-12 18:43:29,105 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-06-12 18:43:29,105 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-06-12 18:43:29,107 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-06-12 18:43:29,111 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-06-12 18:43:29,111 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-06-12 18:43:29,111 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-06-12 18:43:29,113 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-06-12 18:43:29,113 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-06-12 18:43:29,114 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-06-12 18:43:29,114 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-06-12 18:43:29,114 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-06-12 18:43:29,116 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-06-12 18:43:29,116 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-06-12 18:43:29,119 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-06-12 18:43:29,119 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-06-12 18:43:29,120 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-06-12 18:43:29,120 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-06-12 18:43:29,120 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-06-12 18:43:29,120 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-06-12 18:43:29,121 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-06-12 18:43:29,125 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-FA-NoLbe.epf [2021-06-12 18:43:29,159 INFO L113 SettingsManager]: Loading preferences was successful [2021-06-12 18:43:29,159 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-06-12 18:43:29,159 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-06-12 18:43:29,159 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-06-12 18:43:29,162 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-06-12 18:43:29,162 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-06-12 18:43:29,162 INFO L138 SettingsManager]: * Use SBE=true [2021-06-12 18:43:29,162 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-06-12 18:43:29,163 INFO L138 SettingsManager]: * sizeof long=4 [2021-06-12 18:43:29,163 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * sizeof long double=12 [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-06-12 18:43:29,164 INFO L138 SettingsManager]: * Use constant arrays=true [2021-06-12 18:43:29,165 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2021-06-12 18:43:29,165 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-06-12 18:43:29,165 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-06-12 18:43:29,165 INFO L138 SettingsManager]: * To the following directory=./dump/ [2021-06-12 18:43:29,165 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-06-12 18:43:29,165 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-06-12 18:43:29,165 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-06-12 18:43:29,165 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-06-12 18:43:29,166 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2021-06-12 18:43:29,166 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-06-12 18:43:29,166 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-06-12 18:43:29,166 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2021-06-12 18:43:29,166 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2021-06-12 18:43:29,166 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-12 18:43:29,434 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-06-12 18:43:29,450 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-06-12 18:43:29,452 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-06-12 18:43:29,453 INFO L271 PluginConnector]: Initializing CDTParser... [2021-06-12 18:43:29,454 INFO L275 PluginConnector]: CDTParser initialized [2021-06-12 18:43:29,455 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/concurrent/pthreads/regression/pthreadExitUnsafe.c [2021-06-12 18:43:29,511 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/85cafc981/46ccb1335d0a4f20bb60078bffcfe816/FLAG604c1341d [2021-06-12 18:43:29,913 INFO L306 CDTParser]: Found 1 translation units. [2021-06-12 18:43:29,914 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/concurrent/pthreads/regression/pthreadExitUnsafe.c [2021-06-12 18:43:29,915 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2021-06-12 18:43:29,916 WARN L117 ultiparseSymbolTable]: System include stdio.h could not be resolved by CDT -- only built-in system includes are available. [2021-06-12 18:43:29,916 WARN L117 ultiparseSymbolTable]: System include stdbool.h could not be resolved by CDT -- only built-in system includes are available. [2021-06-12 18:43:29,947 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/85cafc981/46ccb1335d0a4f20bb60078bffcfe816/FLAG604c1341d [2021-06-12 18:43:29,963 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/85cafc981/46ccb1335d0a4f20bb60078bffcfe816 [2021-06-12 18:43:29,966 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-06-12 18:43:29,967 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-06-12 18:43:29,968 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-06-12 18:43:29,969 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-06-12 18:43:29,971 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-06-12 18:43:29,972 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.06 06:43:29" (1/1) ... [2021-06-12 18:43:29,972 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@226aedde and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:29, skipping insertion in model container [2021-06-12 18:43:29,973 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.06 06:43:29" (1/1) ... [2021-06-12 18:43:29,978 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-06-12 18:43:29,990 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-06-12 18:43:30,120 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-06-12 18:43:30,126 INFO L203 MainTranslator]: Completed pre-run [2021-06-12 18:43:30,134 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-06-12 18:43:30,159 INFO L208 MainTranslator]: Completed translation [2021-06-12 18:43:30,159 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30 WrapperNode [2021-06-12 18:43:30,159 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-06-12 18:43:30,160 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-06-12 18:43:30,160 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-06-12 18:43:30,160 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-06-12 18:43:30,169 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,175 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,191 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-06-12 18:43:30,192 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-06-12 18:43:30,192 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-06-12 18:43:30,192 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-06-12 18:43:30,198 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,198 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,201 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,201 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,205 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,210 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,215 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (1/1) ... [2021-06-12 18:43:30,217 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-06-12 18:43:30,219 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-06-12 18:43:30,219 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-06-12 18:43:30,219 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-06-12 18:43:30,219 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (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-12 18:43:30,288 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-06-12 18:43:30,289 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2021-06-12 18:43:30,289 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2021-06-12 18:43:30,289 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-06-12 18:43:30,290 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-06-12 18:43:30,290 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-06-12 18:43:30,290 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-06-12 18:43:30,290 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-06-12 18:43:30,292 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2021-06-12 18:43:30,521 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-06-12 18:43:30,522 INFO L299 CfgBuilder]: Removed 5 assume(true) statements. [2021-06-12 18:43:30,523 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.06 06:43:30 BoogieIcfgContainer [2021-06-12 18:43:30,523 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-06-12 18:43:30,524 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-06-12 18:43:30,524 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-06-12 18:43:30,526 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-06-12 18:43:30,527 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 12.06 06:43:29" (1/3) ... [2021-06-12 18:43:30,527 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7dde16b5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 12.06 06:43:30, skipping insertion in model container [2021-06-12 18:43:30,527 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.06 06:43:30" (2/3) ... [2021-06-12 18:43:30,527 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7dde16b5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 12.06 06:43:30, skipping insertion in model container [2021-06-12 18:43:30,528 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.06 06:43:30" (3/3) ... [2021-06-12 18:43:30,529 INFO L111 eAbstractionObserver]: Analyzing ICFG pthreadExitUnsafe.c [2021-06-12 18:43:30,549 WARN L148 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2021-06-12 18:43:30,550 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-06-12 18:43:30,550 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2021-06-12 18:43:30,550 INFO L471 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2021-06-12 18:43:30,580 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~n.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,580 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~n.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,580 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~n.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,580 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~n.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,581 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~n.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,581 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~n.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,581 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~n.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,581 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~n.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,581 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,582 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,584 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~n.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,584 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~n.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,584 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,584 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2021-06-12 18:43:30,608 INFO L149 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2021-06-12 18:43:30,628 INFO L255 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2021-06-12 18:43:30,653 INFO L378 AbstractCegarLoop]: Interprodecural is true [2021-06-12 18:43:30,654 INFO L379 AbstractCegarLoop]: Hoare is false [2021-06-12 18:43:30,654 INFO L380 AbstractCegarLoop]: Compute interpolants for FPandBP [2021-06-12 18:43:30,654 INFO L381 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2021-06-12 18:43:30,654 INFO L382 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-06-12 18:43:30,654 INFO L383 AbstractCegarLoop]: Difference is false [2021-06-12 18:43:30,654 INFO L384 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-06-12 18:43:30,655 INFO L388 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == ULTIMATE.start======== [2021-06-12 18:43:30,665 INFO L100 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 33 places, 31 transitions, 70 flow [2021-06-12 18:43:30,675 INFO L122 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 41 states, 39 states have (on average 1.5384615384615385) internal successors, (60), 40 states have internal predecessors, (60), 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-12 18:43:30,677 INFO L276 IsEmpty]: Start isEmpty. Operand has 41 states, 39 states have (on average 1.5384615384615385) internal successors, (60), 40 states have internal predecessors, (60), 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-12 18:43:30,691 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2021-06-12 18:43:30,692 INFO L464 BasicCegarLoop]: Found error trace [2021-06-12 18:43:30,693 INFO L472 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-06-12 18:43:30,693 INFO L430 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr0INUSE_VIOLATION, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2021-06-12 18:43:30,698 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-06-12 18:43:30,699 INFO L82 PathProgramCache]: Analyzing trace with hash -1441360694, now seen corresponding path program 1 times [2021-06-12 18:43:30,705 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-06-12 18:43:30,707 INFO L361 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [182350988] [2021-06-12 18:43:30,707 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-06-12 18:43:30,804 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-06-12 18:43:30,857 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-12 18:43:30,857 INFO L179 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-06-12 18:43:30,858 INFO L361 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [182350988] [2021-06-12 18:43:30,858 INFO L200 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [182350988] provided 1 perfect and 0 imperfect interpolant sequences [2021-06-12 18:43:30,859 INFO L226 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-06-12 18:43:30,859 INFO L239 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-06-12 18:43:30,860 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [186690054] [2021-06-12 18:43:30,863 INFO L462 AbstractCegarLoop]: Interpolant automaton has 2 states [2021-06-12 18:43:30,863 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-06-12 18:43:30,874 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-06-12 18:43:30,875 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-06-12 18:43:30,877 INFO L87 Difference]: Start difference. First operand has 41 states, 39 states have (on average 1.5384615384615385) internal successors, (60), 40 states have internal predecessors, (60), 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) Second operand has 2 states, 2 states have (on average 10.5) internal successors, (21), 2 states have internal predecessors, (21), 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-12 18:43:30,889 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-06-12 18:43:30,890 INFO L93 Difference]: Finished difference Result 35 states and 46 transitions. [2021-06-12 18:43:30,890 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-06-12 18:43:30,891 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 10.5) internal successors, (21), 2 states have internal predecessors, (21), 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) Word has length 21 [2021-06-12 18:43:30,891 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-06-12 18:43:30,900 INFO L225 Difference]: With dead ends: 35 [2021-06-12 18:43:30,900 INFO L226 Difference]: Without dead ends: 35 [2021-06-12 18:43:30,901 INFO L728 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0ms TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-06-12 18:43:30,915 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 35 states. [2021-06-12 18:43:30,929 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 35 to 35. [2021-06-12 18:43:30,930 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 35 states, 34 states have (on average 1.3529411764705883) internal successors, (46), 34 states have internal predecessors, (46), 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-12 18:43:30,933 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 46 transitions. [2021-06-12 18:43:30,934 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 46 transitions. Word has length 21 [2021-06-12 18:43:30,934 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-06-12 18:43:30,934 INFO L482 AbstractCegarLoop]: Abstraction has 35 states and 46 transitions. [2021-06-12 18:43:30,934 INFO L483 AbstractCegarLoop]: Interpolant automaton has has 2 states, 2 states have (on average 10.5) internal successors, (21), 2 states have internal predecessors, (21), 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-12 18:43:30,934 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 46 transitions. [2021-06-12 18:43:30,936 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2021-06-12 18:43:30,936 INFO L464 BasicCegarLoop]: Found error trace [2021-06-12 18:43:30,936 INFO L472 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-06-12 18:43:30,937 WARN L519 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-06-12 18:43:30,937 INFO L430 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr0INUSE_VIOLATION, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2021-06-12 18:43:30,940 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-06-12 18:43:30,940 INFO L82 PathProgramCache]: Analyzing trace with hash 123046351, now seen corresponding path program 1 times [2021-06-12 18:43:30,941 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-06-12 18:43:30,941 INFO L361 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [578417514] [2021-06-12 18:43:30,941 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-06-12 18:43:30,986 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-06-12 18:43:30,987 INFO L223 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-06-12 18:43:31,064 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-06-12 18:43:31,064 INFO L223 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-06-12 18:43:31,083 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-06-12 18:43:31,083 INFO L573 BasicCegarLoop]: Counterexample might be feasible [2021-06-12 18:43:31,084 WARN L519 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-06-12 18:43:31,087 INFO L247 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2021-06-12 18:43:31,105 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 12.06 06:43:31 BasicIcfg [2021-06-12 18:43:31,105 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-06-12 18:43:31,106 INFO L168 Benchmark]: Toolchain (without parser) took 1138.95 ms. Allocated memory is still 207.6 MB. Free memory was 168.9 MB in the beginning and 185.9 MB in the end (delta: -17.0 MB). Peak memory consumption was 19.6 MB. Max. memory is 8.0 GB. [2021-06-12 18:43:31,107 INFO L168 Benchmark]: CDTParser took 0.15 ms. Allocated memory is still 207.6 MB. Free memory is still 187.8 MB. There was no memory consumed. Max. memory is 8.0 GB. [2021-06-12 18:43:31,107 INFO L168 Benchmark]: CACSL2BoogieTranslator took 191.06 ms. Allocated memory is still 207.6 MB. Free memory was 168.7 MB in the beginning and 190.0 MB in the end (delta: -21.3 MB). Peak memory consumption was 5.3 MB. Max. memory is 8.0 GB. [2021-06-12 18:43:31,108 INFO L168 Benchmark]: Boogie Procedure Inliner took 30.88 ms. Allocated memory is still 207.6 MB. Free memory was 190.0 MB in the beginning and 188.8 MB in the end (delta: 1.2 MB). There was no memory consumed. Max. memory is 8.0 GB. [2021-06-12 18:43:31,109 INFO L168 Benchmark]: Boogie Preprocessor took 25.82 ms. Allocated memory is still 207.6 MB. Free memory was 188.8 MB in the beginning and 187.8 MB in the end (delta: 1.0 MB). Peak memory consumption was 1.0 MB. Max. memory is 8.0 GB. [2021-06-12 18:43:31,109 INFO L168 Benchmark]: RCFGBuilder took 304.40 ms. Allocated memory is still 207.6 MB. Free memory was 187.8 MB in the beginning and 174.9 MB in the end (delta: 12.9 MB). Peak memory consumption was 13.6 MB. Max. memory is 8.0 GB. [2021-06-12 18:43:31,110 INFO L168 Benchmark]: TraceAbstraction took 581.20 ms. Allocated memory is still 207.6 MB. Free memory was 174.6 MB in the beginning and 185.9 MB in the end (delta: -11.3 MB). Peak memory consumption was 25.5 MB. Max. memory is 8.0 GB. [2021-06-12 18:43:31,113 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.15 ms. Allocated memory is still 207.6 MB. Free memory is still 187.8 MB. There was no memory consumed. Max. memory is 8.0 GB. * CACSL2BoogieTranslator took 191.06 ms. Allocated memory is still 207.6 MB. Free memory was 168.7 MB in the beginning and 190.0 MB in the end (delta: -21.3 MB). Peak memory consumption was 5.3 MB. Max. memory is 8.0 GB. * Boogie Procedure Inliner took 30.88 ms. Allocated memory is still 207.6 MB. Free memory was 190.0 MB in the beginning and 188.8 MB in the end (delta: 1.2 MB). There was no memory consumed. Max. memory is 8.0 GB. * Boogie Preprocessor took 25.82 ms. Allocated memory is still 207.6 MB. Free memory was 188.8 MB in the beginning and 187.8 MB in the end (delta: 1.0 MB). Peak memory consumption was 1.0 MB. Max. memory is 8.0 GB. * RCFGBuilder took 304.40 ms. Allocated memory is still 207.6 MB. Free memory was 187.8 MB in the beginning and 174.9 MB in the end (delta: 12.9 MB). Peak memory consumption was 13.6 MB. Max. memory is 8.0 GB. * TraceAbstraction took 581.20 ms. Allocated memory is still 207.6 MB. Free memory was 174.6 MB in the beginning and 185.9 MB in the end (delta: -11.3 MB). Peak memory consumption was 25.5 MB. Max. memory is 8.0 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 28]: assertion can be violated assertion can be violated We found a FailurePath: [L24] 0 pthread_t th_id; [L25] FCALL, FORK 0 pthread_create(&th_id, NULL, foo, NULL) VAL [n={0:0}] [L26] 0 \read(th_id) VAL [n={0:0}, n={0:0}] [L17] COND TRUE 1 1 VAL [n={0:0}, n={0:0}] [L26] FCALL, JOIN 1 pthread_join(th_id, NULL) VAL [\result={0:0}, n={0:0}, n={0:0}] [L28] 0 CodeAnnotStmt[Assertion] VAL [\result={0:0}, n={0:0}, n={0:0}] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: ULTIMATE.start with 1 thread instances CFG has 3 procedures, 36 locations, 2 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 433.3ms, OverallIterations: 2, TraceHistogramMax: 1, EmptinessCheckTime: 17.7ms, AutomataDifference: 37.3ms, DeadEndRemovalTime: 0.0ms, HoareAnnotationTime: 0.0ms, InitialAbstractionConstructionTime: 20.8ms, PartialOrderReductionTime: 0.0ms, HoareTripleCheckerStatistics: 22 SDtfs, 0 SDslu, 0 SDs, 0 SdLazy, 0 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0ms Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0ms Time, 0.0ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=41occurred in iteration=0, InterpolantAutomatonStates: 2, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0ms DumpTime, AutomataMinimizationStatistics: 21.2ms AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 19.1ms SsaConstructionTime, 58.7ms SatisfiabilityAnalysisTime, 50.3ms InterpolantComputationTime, 43 NumberOfCodeBlocks, 43 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 20 ConstructedInterpolants, 0 QuantifiedInterpolants, 20 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...