/usr/bin/java -Xmx16000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -s ../../../trunk/examples/settings/automizer/concurrent/VMCAI2021_PN.epf -i ../../../trunk/examples/concurrent/pthreads/predecessorInAtomicBlockBug.c -------------------------------------------------------------------------------- This is Ultimate 0.1.25-11af1e5 [2020-10-09 19:29:53,558 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-09 19:29:53,560 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-09 19:29:53,584 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-09 19:29:53,584 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-09 19:29:53,585 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-09 19:29:53,586 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-09 19:29:53,588 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-09 19:29:53,590 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-09 19:29:53,590 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-09 19:29:53,591 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-09 19:29:53,592 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-09 19:29:53,592 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-09 19:29:53,593 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-09 19:29:53,594 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-09 19:29:53,595 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-09 19:29:53,596 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-09 19:29:53,597 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-09 19:29:53,599 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-09 19:29:53,601 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-09 19:29:53,602 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-09 19:29:53,603 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-09 19:29:53,604 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-09 19:29:53,605 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-09 19:29:53,608 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-09 19:29:53,608 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-09 19:29:53,608 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-09 19:29:53,609 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-09 19:29:53,610 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-09 19:29:53,611 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-09 19:29:53,611 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-09 19:29:53,612 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-09 19:29:53,615 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-09 19:29:53,616 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-09 19:29:53,617 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-09 19:29:53,618 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-09 19:29:53,618 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-09 19:29:53,618 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-09 19:29:53,619 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-09 19:29:53,619 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-09 19:29:53,620 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-09 19:29:53,621 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/concurrent/VMCAI2021_PN.epf [2020-10-09 19:29:53,643 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-09 19:29:53,644 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-09 19:29:53,645 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-09 19:29:53,645 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-09 19:29:53,646 INFO L138 SettingsManager]: * Use SBE=true [2020-10-09 19:29:53,646 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-09 19:29:53,646 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-09 19:29:53,646 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-09 19:29:53,646 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-09 19:29:53,647 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-09 19:29:53,647 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-10-09 19:29:53,647 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-09 19:29:53,647 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-10-09 19:29:53,647 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-09 19:29:53,648 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-09 19:29:53,648 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-09 19:29:53,648 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-10-09 19:29:53,648 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-09 19:29:53,648 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-09 19:29:53,648 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-09 19:29:53,649 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-09 19:29:53,649 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-09 19:29:53,649 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-09 19:29:53,649 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-09 19:29:53,649 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-10-09 19:29:53,650 INFO L138 SettingsManager]: * Trace refinement strategy=WALRUS [2020-10-09 19:29:53,650 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-10-09 19:29:53,650 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2020-10-09 19:29:53,650 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2020-10-09 19:29:53,650 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2020-10-09 19:29:53,919 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-09 19:29:53,931 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-09 19:29:53,934 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-09 19:29:53,936 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-09 19:29:53,936 INFO L275 PluginConnector]: CDTParser initialized [2020-10-09 19:29:53,937 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/concurrent/pthreads/predecessorInAtomicBlockBug.c [2020-10-09 19:29:53,996 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/282cecfd3/5ccf6474681f4fb79903555b08f59bcc/FLAG706be2337 [2020-10-09 19:29:54,395 INFO L306 CDTParser]: Found 1 translation units. [2020-10-09 19:29:54,396 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/concurrent/pthreads/predecessorInAtomicBlockBug.c [2020-10-09 19:29:54,396 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2020-10-09 19:29:54,430 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/282cecfd3/5ccf6474681f4fb79903555b08f59bcc/FLAG706be2337 [2020-10-09 19:29:54,778 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/282cecfd3/5ccf6474681f4fb79903555b08f59bcc [2020-10-09 19:29:54,788 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-09 19:29:54,790 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-09 19:29:54,791 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-09 19:29:54,791 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-09 19:29:54,795 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-09 19:29:54,796 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.10 07:29:54" (1/1) ... [2020-10-09 19:29:54,798 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@54a75d5a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:54, skipping insertion in model container [2020-10-09 19:29:54,799 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.10 07:29:54" (1/1) ... [2020-10-09 19:29:54,806 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-09 19:29:54,822 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-09 19:29:55,004 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-09 19:29:55,018 INFO L203 MainTranslator]: Completed pre-run [2020-10-09 19:29:55,035 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-09 19:29:55,137 INFO L208 MainTranslator]: Completed translation [2020-10-09 19:29:55,137 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55 WrapperNode [2020-10-09 19:29:55,137 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-09 19:29:55,138 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-09 19:29:55,138 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-09 19:29:55,138 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-09 19:29:55,144 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,151 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,165 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-09 19:29:55,166 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-09 19:29:55,166 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-09 19:29:55,166 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-09 19:29:55,175 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,175 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,176 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,177 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,180 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,181 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,182 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (1/1) ... [2020-10-09 19:29:55,183 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-09 19:29:55,184 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-09 19:29:55,184 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-09 19:29:55,184 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-09 19:29:55,185 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (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 [2020-10-09 19:29:55,242 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-10-09 19:29:55,243 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2020-10-09 19:29:55,243 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2020-10-09 19:29:55,243 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2020-10-09 19:29:55,243 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2020-10-09 19:29:55,243 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-09 19:29:55,244 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-09 19:29:55,244 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-09 19:29:55,244 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-09 19:29:55,245 WARN L208 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2020-10-09 19:29:55,420 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-09 19:29:55,421 INFO L298 CfgBuilder]: Removed 4 assume(true) statements. [2020-10-09 19:29:55,423 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.10 07:29:55 BoogieIcfgContainer [2020-10-09 19:29:55,423 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-09 19:29:55,424 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-10-09 19:29:55,424 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-10-09 19:29:55,435 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-10-09 19:29:55,436 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 09.10 07:29:54" (1/3) ... [2020-10-09 19:29:55,436 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@63023087 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.10 07:29:55, skipping insertion in model container [2020-10-09 19:29:55,437 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.10 07:29:55" (2/3) ... [2020-10-09 19:29:55,440 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@63023087 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.10 07:29:55, skipping insertion in model container [2020-10-09 19:29:55,440 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.10 07:29:55" (3/3) ... [2020-10-09 19:29:55,444 INFO L111 eAbstractionObserver]: Analyzing ICFG predecessorInAtomicBlockBug.c [2020-10-09 19:29:55,471 INFO L164 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-10-09 19:29:55,482 INFO L176 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-10-09 19:29:55,483 INFO L348 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2020-10-09 19:29:55,510 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,510 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,511 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,511 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,511 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,512 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,515 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,516 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,516 WARN L313 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,516 WARN L313 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2020-10-09 19:29:55,539 INFO L253 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2020-10-09 19:29:55,561 INFO L377 AbstractCegarLoop]: Interprodecural is true [2020-10-09 19:29:55,561 INFO L378 AbstractCegarLoop]: Hoare is false [2020-10-09 19:29:55,562 INFO L379 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-10-09 19:29:55,562 INFO L380 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-09 19:29:55,562 INFO L381 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-09 19:29:55,562 INFO L382 AbstractCegarLoop]: Difference is false [2020-10-09 19:29:55,562 INFO L383 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-09 19:29:55,562 INFO L387 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-10-09 19:29:55,575 INFO L71 FinitePrefix]: Start finitePrefix. Operand has 26 places, 22 transitions, 49 flow [2020-10-09 19:29:55,601 INFO L129 PetriNetUnfolder]: 0/21 cut-off events. [2020-10-09 19:29:55,602 INFO L130 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2020-10-09 19:29:55,604 INFO L80 FinitePrefix]: Finished finitePrefix Result has 25 conditions, 21 events. 0/21 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/20 useless extension candidates. Maximal degree in co-relation 0. Up to 1 conditions per place. [2020-10-09 19:29:55,605 INFO L82 GeneralOperation]: Start removeDead. Operand has 26 places, 22 transitions, 49 flow [2020-10-09 19:29:55,610 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 22 places, 18 transitions, 39 flow [2020-10-09 19:29:55,618 INFO L129 PetriNetUnfolder]: 0/11 cut-off events. [2020-10-09 19:29:55,619 INFO L130 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2020-10-09 19:29:55,619 INFO L247 CegarLoopForPetriNet]: Found error trace [2020-10-09 19:29:55,620 INFO L255 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-09 19:29:55,621 INFO L429 AbstractCegarLoop]: === Iteration 1 === [fooErr0ASSERT_VIOLATIONASSERT, fooErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION]=== [2020-10-09 19:29:55,626 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-09 19:29:55,626 INFO L82 PathProgramCache]: Analyzing trace with hash 1431799484, now seen corresponding path program 1 times [2020-10-09 19:29:55,639 INFO L162 FreeRefinementEngine]: Executing refinement strategy WALRUS [2020-10-09 19:29:55,640 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [479498841] [2020-10-09 19:29:55,640 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat Starting monitored process 2 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with mathsat -unsat_core_generation=3 [2020-10-09 19:29:55,703 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-09 19:29:55,706 INFO L263 TraceCheckSpWp]: Trace formula consists of 32 conjuncts, 3 conjunts are in the unsatisfiable core [2020-10-09 19:29:55,711 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-09 19:29:55,743 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-09 19:29:55,743 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2020-10-09 19:29:55,750 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-09 19:29:55,751 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [479498841] [2020-10-09 19:29:55,751 INFO L219 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2020-10-09 19:29:55,752 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2, 2] imperfect sequences [] total 2 [2020-10-09 19:29:55,753 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [227349658] [2020-10-09 19:29:55,763 INFO L461 AbstractCegarLoop]: Interpolant automaton has 3 states [2020-10-09 19:29:55,763 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2020-10-09 19:29:55,777 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-09 19:29:55,780 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-09 19:29:55,812 INFO L506 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 22 [2020-10-09 19:29:55,814 INFO L92 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 22 places, 18 transitions, 39 flow. Second operand 3 states. [2020-10-09 19:29:55,814 INFO L101 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2020-10-09 19:29:55,814 INFO L102 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 22 [2020-10-09 19:29:55,815 INFO L71 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2020-10-09 19:29:55,832 INFO L129 PetriNetUnfolder]: 1/20 cut-off events. [2020-10-09 19:29:55,832 INFO L130 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2020-10-09 19:29:55,834 INFO L80 FinitePrefix]: Finished finitePrefix Result has 31 conditions, 20 events. 1/20 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 8 event pairs, 1 based on Foata normal form. 1/21 useless extension candidates. Maximal degree in co-relation 16. Up to 6 conditions per place. [2020-10-09 19:29:55,835 INFO L132 encePairwiseOnDemand]: 19/22 looper letters, 2 selfloop transitions, 2 changer transitions 0/18 dead transitions. [2020-10-09 19:29:55,835 INFO L138 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 24 places, 18 transitions, 47 flow [2020-10-09 19:29:55,836 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-09 19:29:55,839 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-09 19:29:55,846 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 56 transitions. [2020-10-09 19:29:55,848 INFO L551 CegarLoopForPetriNet]: DFA transition density 0.8484848484848485 [2020-10-09 19:29:55,848 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 56 transitions. [2020-10-09 19:29:55,849 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 56 transitions. [2020-10-09 19:29:55,850 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-09 19:29:55,852 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 56 transitions. [2020-10-09 19:29:55,853 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends 4 states. [2020-10-09 19:29:55,858 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result 4 states. [2020-10-09 19:29:55,858 INFO L81 ComplementDD]: Finished complementDD. Result 4 states. [2020-10-09 19:29:55,860 INFO L185 Difference]: Start difference. First operand has 22 places, 18 transitions, 39 flow. Second operand 3 states and 56 transitions. [2020-10-09 19:29:55,861 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 24 places, 18 transitions, 47 flow [2020-10-09 19:29:55,863 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 23 places, 18 transitions, 46 flow, removed 0 selfloop flow, removed 1 redundant places. [2020-10-09 19:29:55,866 INFO L241 Difference]: Finished difference. Result has 24 places, 18 transitions, 46 flow [2020-10-09 19:29:55,869 INFO L325 CegarLoopForPetriNet]: {PETRI_ALPHABET=22, PETRI_DIFFERENCE_MINUEND_FLOW=38, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=18, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=16, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=46, PETRI_PLACES=24, PETRI_TRANSITIONS=18} [2020-10-09 19:29:55,870 INFO L341 CegarLoopForPetriNet]: 22 programPoint places, 2 predicate places. [2020-10-09 19:29:55,870 INFO L481 AbstractCegarLoop]: Abstraction has has 24 places, 18 transitions, 46 flow [2020-10-09 19:29:55,870 INFO L482 AbstractCegarLoop]: Interpolant automaton has 3 states. [2020-10-09 19:29:55,870 INFO L247 CegarLoopForPetriNet]: Found error trace [2020-10-09 19:29:55,870 INFO L255 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-09 19:29:56,076 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 mathsat -unsat_core_generation=3 [2020-10-09 19:29:56,077 INFO L429 AbstractCegarLoop]: === Iteration 2 === [fooErr0ASSERT_VIOLATIONASSERT, fooErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION]=== [2020-10-09 19:29:56,077 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-09 19:29:56,078 INFO L82 PathProgramCache]: Analyzing trace with hash 1569632429, now seen corresponding path program 1 times [2020-10-09 19:29:56,079 INFO L162 FreeRefinementEngine]: Executing refinement strategy WALRUS [2020-10-09 19:29:56,080 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [558438050] [2020-10-09 19:29:56,080 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat Starting monitored process 3 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with mathsat -unsat_core_generation=3 [2020-10-09 19:29:56,112 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-09 19:29:56,113 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-09 19:29:56,124 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-09 19:29:56,124 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-09 19:29:56,143 INFO L173 FreeRefinementEngine]: Strategy WALRUS found a feasible trace [2020-10-09 19:29:56,144 INFO L519 BasicCegarLoop]: Counterexample might be feasible [2020-10-09 19:29:56,356 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 mathsat -unsat_core_generation=3 [2020-10-09 19:29:56,379 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 09.10 07:29:56 BasicIcfg [2020-10-09 19:29:56,379 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-10-09 19:29:56,382 INFO L168 Benchmark]: Toolchain (without parser) took 1591.25 ms. Allocated memory was 249.6 MB in the beginning and 309.9 MB in the end (delta: 60.3 MB). Free memory was 205.0 MB in the beginning and 227.3 MB in the end (delta: -22.3 MB). Peak memory consumption was 38.0 MB. Max. memory is 14.2 GB. [2020-10-09 19:29:56,382 INFO L168 Benchmark]: CDTParser took 0.22 ms. Allocated memory is still 249.6 MB. Free memory is still 225.9 MB. There was no memory consumed. Max. memory is 14.2 GB. [2020-10-09 19:29:56,384 INFO L168 Benchmark]: CACSL2BoogieTranslator took 346.51 ms. Allocated memory was 249.6 MB in the beginning and 309.9 MB in the end (delta: 60.3 MB). Free memory was 205.0 MB in the beginning and 285.0 MB in the end (delta: -80.1 MB). Peak memory consumption was 27.3 MB. Max. memory is 14.2 GB. [2020-10-09 19:29:56,384 INFO L168 Benchmark]: Boogie Procedure Inliner took 27.64 ms. Allocated memory is still 309.9 MB. Free memory is still 285.0 MB. There was no memory consumed. Max. memory is 14.2 GB. [2020-10-09 19:29:56,386 INFO L168 Benchmark]: Boogie Preprocessor took 17.80 ms. Allocated memory is still 309.9 MB. Free memory was 285.0 MB in the beginning and 282.5 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.2 GB. [2020-10-09 19:29:56,387 INFO L168 Benchmark]: RCFGBuilder took 239.04 ms. Allocated memory is still 309.9 MB. Free memory was 282.5 MB in the beginning and 268.9 MB in the end (delta: 13.6 MB). Peak memory consumption was 13.6 MB. Max. memory is 14.2 GB. [2020-10-09 19:29:56,388 INFO L168 Benchmark]: TraceAbstraction took 954.96 ms. Allocated memory is still 309.9 MB. Free memory was 268.9 MB in the beginning and 227.3 MB in the end (delta: 41.6 MB). Peak memory consumption was 41.6 MB. Max. memory is 14.2 GB. [2020-10-09 19:29:56,392 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22 ms. Allocated memory is still 249.6 MB. Free memory is still 225.9 MB. There was no memory consumed. Max. memory is 14.2 GB. * CACSL2BoogieTranslator took 346.51 ms. Allocated memory was 249.6 MB in the beginning and 309.9 MB in the end (delta: 60.3 MB). Free memory was 205.0 MB in the beginning and 285.0 MB in the end (delta: -80.1 MB). Peak memory consumption was 27.3 MB. Max. memory is 14.2 GB. * Boogie Procedure Inliner took 27.64 ms. Allocated memory is still 309.9 MB. Free memory is still 285.0 MB. There was no memory consumed. Max. memory is 14.2 GB. * Boogie Preprocessor took 17.80 ms. Allocated memory is still 309.9 MB. Free memory was 285.0 MB in the beginning and 282.5 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.2 GB. * RCFGBuilder took 239.04 ms. Allocated memory is still 309.9 MB. Free memory was 282.5 MB in the beginning and 268.9 MB in the end (delta: 13.6 MB). Peak memory consumption was 13.6 MB. Max. memory is 14.2 GB. * TraceAbstraction took 954.96 ms. Allocated memory is still 309.9 MB. Free memory was 268.9 MB in the beginning and 227.3 MB in the end (delta: 41.6 MB). Peak memory consumption was 41.6 MB. Max. memory is 14.2 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}, x=-1] [L19] 1 CodeAnnotStmt[Assertion] VAL [arg={0:0}, arg={0:0}, x=-1] - StatisticsResult: Ultimate Automizer benchmark data CFG has 2 procedures, 23 locations, 1 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: VerificationResult: UNSAFE, OverallTime: 0.7s, OverallIterations: 2, TraceHistogramMax: 1, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 2 SDtfs, 2 SDslu, 0 SDs, 0 SdLazy, 4 SolverSat, 4 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 20 GetRequests, 19 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=46occurred in iteration=1, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 24 NumberOfCodeBlocks, 24 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 20 ConstructedInterpolants, 0 QuantifiedInterpolants, 480 SizeOfPredicates, 0 NumberOfNonLiveVariables, 32 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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...