/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/mcr/svcomp-Reach-32bit-Automizer_Default-noMmResRef-FA-McrAutomaton-WP.epf -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/concurrent/pthreads/regression/forkJoinInLoop.c -------------------------------------------------------------------------------- This is Ultimate 0.2.2-wip.dk.mcr-reduction-c7b2d19 [2022-03-15 20:30:55,477 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-03-15 20:30:55,486 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-03-15 20:30:55,532 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-03-15 20:30:55,533 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-03-15 20:30:55,536 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-03-15 20:30:55,538 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-03-15 20:30:55,540 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-03-15 20:30:55,541 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-03-15 20:30:55,541 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-03-15 20:30:55,542 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-03-15 20:30:55,543 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-03-15 20:30:55,543 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-03-15 20:30:55,544 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-03-15 20:30:55,544 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-03-15 20:30:55,545 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-03-15 20:30:55,546 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-03-15 20:30:55,547 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-03-15 20:30:55,548 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-03-15 20:30:55,550 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-03-15 20:30:55,551 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-03-15 20:30:55,559 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-03-15 20:30:55,560 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-03-15 20:30:55,560 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-03-15 20:30:55,563 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-03-15 20:30:55,563 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-03-15 20:30:55,563 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-03-15 20:30:55,564 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-03-15 20:30:55,564 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-03-15 20:30:55,565 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-03-15 20:30:55,565 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-03-15 20:30:55,566 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-03-15 20:30:55,566 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-03-15 20:30:55,567 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-03-15 20:30:55,568 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-03-15 20:30:55,568 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-03-15 20:30:55,568 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-03-15 20:30:55,569 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-03-15 20:30:55,569 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-03-15 20:30:55,569 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-03-15 20:30:55,570 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-03-15 20:30:55,577 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/mcr/svcomp-Reach-32bit-Automizer_Default-noMmResRef-FA-McrAutomaton-WP.epf [2022-03-15 20:30:55,612 INFO L113 SettingsManager]: Loading preferences was successful [2022-03-15 20:30:55,612 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-03-15 20:30:55,613 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-03-15 20:30:55,613 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-03-15 20:30:55,614 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-03-15 20:30:55,614 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-03-15 20:30:55,614 INFO L138 SettingsManager]: * Use SBE=true [2022-03-15 20:30:55,614 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-03-15 20:30:55,614 INFO L138 SettingsManager]: * sizeof long=4 [2022-03-15 20:30:55,615 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-03-15 20:30:55,615 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * sizeof long double=12 [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-03-15 20:30:55,616 INFO L138 SettingsManager]: * Use constant arrays=true [2022-03-15 20:30:55,617 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-03-15 20:30:55,617 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-03-15 20:30:55,617 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-03-15 20:30:55,617 INFO L138 SettingsManager]: * To the following directory=./dump/ [2022-03-15 20:30:55,617 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-03-15 20:30:55,617 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-03-15 20:30:55,617 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Override the interpolant automaton setting of the refinement strategy=true [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=VARIABLE_BASED_MOVER_CHECK [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-03-15 20:30:55,618 INFO L138 SettingsManager]: * Interpolant automaton=MCR 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 [2022-03-15 20:30:55,841 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-03-15 20:30:55,859 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-03-15 20:30:55,864 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-03-15 20:30:55,865 INFO L271 PluginConnector]: Initializing CDTParser... [2022-03-15 20:30:55,866 INFO L275 PluginConnector]: CDTParser initialized [2022-03-15 20:30:55,867 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/concurrent/pthreads/regression/forkJoinInLoop.c [2022-03-15 20:30:55,914 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7e0c78892/1515180933144babbba202d7419cadef/FLAG5b2958da5 [2022-03-15 20:30:56,280 INFO L306 CDTParser]: Found 1 translation units. [2022-03-15 20:30:56,281 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/concurrent/pthreads/regression/forkJoinInLoop.c [2022-03-15 20:30:56,281 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2022-03-15 20:30:56,281 WARN L117 ultiparseSymbolTable]: System include stdio.h could not be resolved by CDT -- only built-in system includes are available. [2022-03-15 20:30:56,303 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7e0c78892/1515180933144babbba202d7419cadef/FLAG5b2958da5 [2022-03-15 20:30:56,312 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7e0c78892/1515180933144babbba202d7419cadef [2022-03-15 20:30:56,315 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-03-15 20:30:56,316 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2022-03-15 20:30:56,318 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-03-15 20:30:56,318 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-03-15 20:30:56,321 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-03-15 20:30:56,322 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,322 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5a6a43c2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56, skipping insertion in model container [2022-03-15 20:30:56,323 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,328 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-03-15 20:30:56,357 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-03-15 20:30:56,486 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-03-15 20:30:56,494 INFO L203 MainTranslator]: Completed pre-run [2022-03-15 20:30:56,508 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-03-15 20:30:56,520 INFO L208 MainTranslator]: Completed translation [2022-03-15 20:30:56,522 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56 WrapperNode [2022-03-15 20:30:56,522 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-03-15 20:30:56,524 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-03-15 20:30:56,524 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-03-15 20:30:56,524 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-03-15 20:30:56,530 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,536 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,549 INFO L137 Inliner]: procedures = 10, calls = 19, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 48 [2022-03-15 20:30:56,549 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-03-15 20:30:56,550 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-03-15 20:30:56,550 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-03-15 20:30:56,550 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-03-15 20:30:56,556 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,556 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,558 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,558 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,562 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,564 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,565 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,567 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-03-15 20:30:56,568 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-03-15 20:30:56,568 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-03-15 20:30:56,568 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-03-15 20:30:56,569 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (1/1) ... [2022-03-15 20:30:56,574 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-03-15 20:30:56,580 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-03-15 20:30:56,590 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-03-15 20:30:56,596 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-03-15 20:30:56,626 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-03-15 20:30:56,626 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-03-15 20:30:56,626 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2022-03-15 20:30:56,626 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2022-03-15 20:30:56,626 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-03-15 20:30:56,626 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-03-15 20:30:56,626 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-03-15 20:30:56,627 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-03-15 20:30:56,627 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-03-15 20:30:56,627 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-03-15 20:30:56,628 WARN L208 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-03-15 20:30:56,687 INFO L234 CfgBuilder]: Building ICFG [2022-03-15 20:30:56,689 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-03-15 20:30:56,816 INFO L275 CfgBuilder]: Performing block encoding [2022-03-15 20:30:56,821 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-03-15 20:30:56,822 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2022-03-15 20:30:56,823 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.03 08:30:56 BoogieIcfgContainer [2022-03-15 20:30:56,823 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-03-15 20:30:56,825 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-03-15 20:30:56,825 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-03-15 20:30:56,828 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-03-15 20:30:56,828 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 15.03 08:30:56" (1/3) ... [2022-03-15 20:30:56,829 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3845a9ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.03 08:30:56, skipping insertion in model container [2022-03-15 20:30:56,829 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.03 08:30:56" (2/3) ... [2022-03-15 20:30:56,829 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3845a9ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.03 08:30:56, skipping insertion in model container [2022-03-15 20:30:56,829 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.03 08:30:56" (3/3) ... [2022-03-15 20:30:56,831 INFO L111 eAbstractionObserver]: Analyzing ICFG forkJoinInLoop.c [2022-03-15 20:30:56,835 WARN L150 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-03-15 20:30:56,835 INFO L205 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2022-03-15 20:30:56,836 INFO L164 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2022-03-15 20:30:56,836 INFO L534 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-03-15 20:30:56,898 WARN L322 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~i.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,898 WARN L322 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~i.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,898 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~i.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,898 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~i.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,899 WARN L322 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~i.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,899 WARN L322 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#in~i.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,899 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~i.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,899 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~i.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,899 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~y~0 not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,900 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~y~0 not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,903 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~i.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,904 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~y~0 not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,904 WARN L322 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,904 WARN L322 ript$VariableManager]: TermVariabe |fooThread1of1ForFork0_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,904 WARN L322 ript$VariableManager]: TermVariabe fooThread1of1ForFork0_~i.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2022-03-15 20:30:56,909 INFO L148 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2022-03-15 20:30:56,980 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-03-15 20:30:56,987 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=Craig_NestedInterpolation, mInterpolantAutomaton=MCR, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=FINITE_AUTOMATA, mLazyFiniteAutomaton=false, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=true, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR, mMcrOptimizeForkJoin=true, mMcrOverapproximateWrwc=true [2022-03-15 20:30:56,987 INFO L340 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2022-03-15 20:30:57,000 INFO L126 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2022-03-15 20:30:57,008 INFO L133 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 55 places, 53 transitions, 114 flow [2022-03-15 20:30:57,010 INFO L110 LiptonReduction]: Starting Lipton reduction on Petri net that has 55 places, 53 transitions, 114 flow [2022-03-15 20:30:57,012 INFO L74 FinitePrefix]: Start finitePrefix. Operand has 55 places, 53 transitions, 114 flow [2022-03-15 20:30:57,040 INFO L129 PetriNetUnfolder]: 2/52 cut-off events. [2022-03-15 20:30:57,041 INFO L130 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2022-03-15 20:30:57,045 INFO L84 FinitePrefix]: Finished finitePrefix Result has 57 conditions, 52 events. 2/52 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 42 event pairs, 0 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 32. Up to 2 conditions per place. [2022-03-15 20:30:57,046 INFO L116 LiptonReduction]: Number of co-enabled transitions 36 [2022-03-15 20:30:58,098 INFO L131 LiptonReduction]: Checked pairs total: 42 [2022-03-15 20:30:58,098 INFO L133 LiptonReduction]: Total number of compositions: 45 [2022-03-15 20:30:58,105 INFO L111 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 13 places, 10 transitions, 28 flow [2022-03-15 20:30:58,116 INFO L133 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 9 states, 8 states have (on average 1.25) internal successors, (10), 8 states have internal predecessors, (10), 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) [2022-03-15 20:30:58,117 INFO L276 IsEmpty]: Start isEmpty. Operand has 9 states, 8 states have (on average 1.25) internal successors, (10), 8 states have internal predecessors, (10), 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) [2022-03-15 20:30:58,121 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2022-03-15 20:30:58,121 INFO L506 BasicCegarLoop]: Found error trace [2022-03-15 20:30:58,122 INFO L514 BasicCegarLoop]: trace histogram [1, 1] [2022-03-15 20:30:58,122 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONASSERT === [ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION] === [2022-03-15 20:30:58,126 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-03-15 20:30:58,126 INFO L85 PathProgramCache]: Analyzing trace with hash 6237, now seen corresponding path program 1 times [2022-03-15 20:30:58,145 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-03-15 20:30:58,146 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1734978722] [2022-03-15 20:30:58,146 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-03-15 20:30:58,147 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-03-15 20:30:58,244 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-03-15 20:30:58,287 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-03-15 20:30:58,288 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-03-15 20:30:58,288 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1734978722] [2022-03-15 20:30:58,289 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1734978722] provided 1 perfect and 0 imperfect interpolant sequences [2022-03-15 20:30:58,289 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-03-15 20:30:58,289 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2022-03-15 20:30:58,290 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleMcr [845356783] [2022-03-15 20:30:58,291 INFO L194 McrAutomatonBuilder]: Constructing automaton for MCR equivalence class. [2022-03-15 20:30:58,292 INFO L249 McrAutomatonBuilder]: Started intersection. [2022-03-15 20:30:58,299 INFO L252 McrAutomatonBuilder]: Finished intersection with 3 states and 2 transitions. [2022-03-15 20:30:58,299 INFO L276 McrAutomatonBuilder]: Constructing interpolant automaton by labelling MCR automaton with interpolants from WpInterpolantProvider [2022-03-15 20:30:58,302 INFO L301 McrAutomatonBuilder]: Construction finished. MCR generated 0 new interpolants: [] [2022-03-15 20:30:58,303 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-03-15 20:30:58,303 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-03-15 20:30:58,319 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-03-15 20:30:58,320 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-03-15 20:30:58,321 INFO L87 Difference]: Start difference. First operand has 9 states, 8 states have (on average 1.25) internal successors, (10), 8 states have internal predecessors, (10), 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 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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) [2022-03-15 20:30:58,336 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-03-15 20:30:58,336 INFO L93 Difference]: Finished difference Result 10 states and 11 transitions. [2022-03-15 20:30:58,337 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-03-15 20:30:58,339 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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 2 [2022-03-15 20:30:58,339 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-03-15 20:30:58,344 INFO L225 Difference]: With dead ends: 10 [2022-03-15 20:30:58,344 INFO L226 Difference]: Without dead ends: 10 [2022-03-15 20:30:58,345 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-03-15 20:30:58,347 INFO L933 BasicCegarLoop]: 0 mSDtfsCounter, 0 mSDsluCounter, 2 mSDsCounter, 0 mSdLazyCounter, 15 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 0 SdHoareTripleChecker+Invalid, 15 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 15 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-03-15 20:30:58,348 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [0 Valid, 0 Invalid, 15 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 15 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-03-15 20:30:58,362 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 10 states. [2022-03-15 20:30:58,370 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 10 to 10. [2022-03-15 20:30:58,371 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 10 states, 9 states have (on average 1.2222222222222223) internal successors, (11), 9 states have internal predecessors, (11), 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) [2022-03-15 20:30:58,372 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 11 transitions. [2022-03-15 20:30:58,373 INFO L78 Accepts]: Start accepts. Automaton has 10 states and 11 transitions. Word has length 2 [2022-03-15 20:30:58,373 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-03-15 20:30:58,373 INFO L470 AbstractCegarLoop]: Abstraction has 10 states and 11 transitions. [2022-03-15 20:30:58,373 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 1.0) internal successors, (2), 2 states have internal predecessors, (2), 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) [2022-03-15 20:30:58,373 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 11 transitions. [2022-03-15 20:30:58,374 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2022-03-15 20:30:58,374 INFO L506 BasicCegarLoop]: Found error trace [2022-03-15 20:30:58,374 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-03-15 20:30:58,374 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-03-15 20:30:58,374 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONASSERT === [ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION] === [2022-03-15 20:30:58,375 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-03-15 20:30:58,375 INFO L85 PathProgramCache]: Analyzing trace with hash -1738786191, now seen corresponding path program 1 times [2022-03-15 20:30:58,377 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-03-15 20:30:58,377 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1871317803] [2022-03-15 20:30:58,377 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-03-15 20:30:58,377 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-03-15 20:30:58,407 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-03-15 20:30:58,482 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-03-15 20:30:58,484 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-03-15 20:30:58,485 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1871317803] [2022-03-15 20:30:58,486 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1871317803] provided 0 perfect and 1 imperfect interpolant sequences [2022-03-15 20:30:58,488 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2138684634] [2022-03-15 20:30:58,490 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-03-15 20:30:58,491 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-03-15 20:30:58,491 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-03-15 20:30:58,520 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-03-15 20:30:58,521 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2022-03-15 20:30:58,569 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-03-15 20:30:58,584 INFO L263 TraceCheckSpWp]: Trace formula consists of 75 conjuncts, 12 conjunts are in the unsatisfiable core [2022-03-15 20:30:58,596 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-03-15 20:30:58,642 INFO L387 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-03-15 20:30:58,703 INFO L387 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 16 [2022-03-15 20:30:58,765 INFO L387 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 28 treesize of output 16 [2022-03-15 20:30:58,769 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-03-15 20:30:58,769 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-03-15 20:30:58,809 WARN L838 $PredicateComparison]: unable to prove that (forall ((v_ArrVal_26 (Array Int Int))) (<= (select (select (store |c_#memory_int| |c_ULTIMATE.start_main_~#thread_id~0#1.base| v_ArrVal_26) |c_ULTIMATE.start_main_~#x~0#1.base|) |c_ULTIMATE.start_main_~#x~0#1.offset|) 1)) is different from false [2022-03-15 20:30:58,811 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 1 not checked. [2022-03-15 20:30:58,812 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2138684634] provided 0 perfect and 2 imperfect interpolant sequences [2022-03-15 20:30:58,812 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-03-15 20:30:58,812 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 6 [2022-03-15 20:30:58,813 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleMcr [46496645] [2022-03-15 20:30:58,813 INFO L194 McrAutomatonBuilder]: Constructing automaton for MCR equivalence class. [2022-03-15 20:30:58,814 INFO L249 McrAutomatonBuilder]: Started intersection. [2022-03-15 20:30:58,817 INFO L252 McrAutomatonBuilder]: Finished intersection with 10 states and 10 transitions. [2022-03-15 20:30:58,818 INFO L276 McrAutomatonBuilder]: Constructing interpolant automaton by labelling MCR automaton with interpolants from WpInterpolantProvider [2022-03-15 20:30:58,834 INFO L301 McrAutomatonBuilder]: Construction finished. MCR generated 0 new interpolants: [] [2022-03-15 20:30:58,835 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-03-15 20:30:58,835 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-03-15 20:30:58,836 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-03-15 20:30:58,836 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=23, Unknown=1, NotChecked=10, Total=56 [2022-03-15 20:30:58,836 INFO L87 Difference]: Start difference. First operand 10 states and 11 transitions. Second operand has 5 states, 4 states have (on average 2.25) internal successors, (9), 4 states have internal predecessors, (9), 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) [2022-03-15 20:30:58,857 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-03-15 20:30:58,857 INFO L93 Difference]: Finished difference Result 17 states and 19 transitions. [2022-03-15 20:30:58,857 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-03-15 20:30:58,858 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 2.25) internal successors, (9), 4 states have internal predecessors, (9), 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 8 [2022-03-15 20:30:58,858 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-03-15 20:30:58,858 INFO L225 Difference]: With dead ends: 17 [2022-03-15 20:30:58,858 INFO L226 Difference]: Without dead ends: 17 [2022-03-15 20:30:58,859 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 19 GetRequests, 12 SyntacticMatches, 1 SemanticMatches, 6 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=23, Unknown=1, NotChecked=10, Total=56 [2022-03-15 20:30:58,860 INFO L933 BasicCegarLoop]: 0 mSDtfsCounter, 7 mSDsluCounter, 2 mSDsCounter, 0 mSdLazyCounter, 17 mSolverCounterSat, 4 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 7 SdHoareTripleChecker+Valid, 0 SdHoareTripleChecker+Invalid, 21 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 4 IncrementalHoareTripleChecker+Valid, 17 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-03-15 20:30:58,860 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [7 Valid, 0 Invalid, 21 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [4 Valid, 17 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-03-15 20:30:58,861 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states. [2022-03-15 20:30:58,862 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 17. [2022-03-15 20:30:58,863 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 17 states, 16 states have (on average 1.1875) internal successors, (19), 16 states have internal predecessors, (19), 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) [2022-03-15 20:30:58,863 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 19 transitions. [2022-03-15 20:30:58,863 INFO L78 Accepts]: Start accepts. Automaton has 17 states and 19 transitions. Word has length 8 [2022-03-15 20:30:58,864 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-03-15 20:30:58,864 INFO L470 AbstractCegarLoop]: Abstraction has 17 states and 19 transitions. [2022-03-15 20:30:58,864 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 4 states have (on average 2.25) internal successors, (9), 4 states have internal predecessors, (9), 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) [2022-03-15 20:30:58,864 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 19 transitions. [2022-03-15 20:30:58,864 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2022-03-15 20:30:58,864 INFO L506 BasicCegarLoop]: Found error trace [2022-03-15 20:30:58,865 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 1, 1] [2022-03-15 20:30:58,891 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2022-03-15 20:30:59,084 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-03-15 20:30:59,084 INFO L402 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONASSERT === [ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0INUSE_VIOLATION] === [2022-03-15 20:30:59,085 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-03-15 20:30:59,085 INFO L85 PathProgramCache]: Analyzing trace with hash 831749509, now seen corresponding path program 2 times [2022-03-15 20:30:59,086 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-03-15 20:30:59,086 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [231368963] [2022-03-15 20:30:59,086 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-03-15 20:30:59,086 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-03-15 20:30:59,151 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-03-15 20:30:59,151 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-03-15 20:30:59,184 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-03-15 20:30:59,217 INFO L138 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-03-15 20:30:59,217 INFO L628 BasicCegarLoop]: Counterexample is feasible [2022-03-15 20:30:59,218 INFO L764 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONASSERT (1 of 2 remaining) [2022-03-15 20:30:59,220 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATION (0 of 2 remaining) [2022-03-15 20:30:59,220 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-03-15 20:30:59,222 INFO L732 BasicCegarLoop]: Path program histogram: [2, 1] [2022-03-15 20:30:59,226 INFO L230 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2022-03-15 20:30:59,226 INFO L180 ceAbstractionStarter]: Computing trace abstraction results [2022-03-15 20:30:59,254 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 15.03 08:30:59 BasicIcfg [2022-03-15 20:30:59,254 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-03-15 20:30:59,254 INFO L158 Benchmark]: Toolchain (without parser) took 2938.36ms. Allocated memory was 192.9MB in the beginning and 283.1MB in the end (delta: 90.2MB). Free memory was 135.7MB in the beginning and 206.5MB in the end (delta: -70.8MB). Peak memory consumption was 19.1MB. Max. memory is 8.0GB. [2022-03-15 20:30:59,255 INFO L158 Benchmark]: CDTParser took 0.12ms. Allocated memory is still 192.9MB. Free memory is still 153.5MB. There was no memory consumed. Max. memory is 8.0GB. [2022-03-15 20:30:59,255 INFO L158 Benchmark]: CACSL2BoogieTranslator took 204.32ms. Allocated memory was 192.9MB in the beginning and 283.1MB in the end (delta: 90.2MB). Free memory was 135.5MB in the beginning and 252.3MB in the end (delta: -116.8MB). Peak memory consumption was 9.1MB. Max. memory is 8.0GB. [2022-03-15 20:30:59,255 INFO L158 Benchmark]: Boogie Procedure Inliner took 25.48ms. Allocated memory is still 283.1MB. Free memory was 252.3MB in the beginning and 250.7MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2022-03-15 20:30:59,256 INFO L158 Benchmark]: Boogie Preprocessor took 17.29ms. Allocated memory is still 283.1MB. Free memory was 250.7MB in the beginning and 249.6MB in the end (delta: 1.0MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. [2022-03-15 20:30:59,256 INFO L158 Benchmark]: RCFGBuilder took 255.86ms. Allocated memory is still 283.1MB. Free memory was 249.6MB in the beginning and 239.7MB in the end (delta: 10.0MB). Peak memory consumption was 9.4MB. Max. memory is 8.0GB. [2022-03-15 20:30:59,256 INFO L158 Benchmark]: TraceAbstraction took 2429.14ms. Allocated memory is still 283.1MB. Free memory was 239.1MB in the beginning and 206.5MB in the end (delta: 32.6MB). Peak memory consumption was 32.1MB. Max. memory is 8.0GB. [2022-03-15 20:30:59,258 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.12ms. Allocated memory is still 192.9MB. Free memory is still 153.5MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 204.32ms. Allocated memory was 192.9MB in the beginning and 283.1MB in the end (delta: 90.2MB). Free memory was 135.5MB in the beginning and 252.3MB in the end (delta: -116.8MB). Peak memory consumption was 9.1MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 25.48ms. Allocated memory is still 283.1MB. Free memory was 252.3MB in the beginning and 250.7MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * Boogie Preprocessor took 17.29ms. Allocated memory is still 283.1MB. Free memory was 250.7MB in the beginning and 249.6MB in the end (delta: 1.0MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. * RCFGBuilder took 255.86ms. Allocated memory is still 283.1MB. Free memory was 249.6MB in the beginning and 239.7MB in the end (delta: 10.0MB). Peak memory consumption was 9.4MB. Max. memory is 8.0GB. * TraceAbstraction took 2429.14ms. Allocated memory is still 283.1MB. Free memory was 239.1MB in the beginning and 206.5MB in the end (delta: 32.6MB). Peak memory consumption was 32.1MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 1.1s, 55 PlacesBefore, 13 PlacesAfterwards, 53 TransitionsBefore, 10 TransitionsAfterwards, 36 CoEnabledTransitionPairs, 5 FixpointIterations, 37 TrivialSequentialCompositions, 7 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 0 ConcurrentYvCompositions, 1 ChoiceCompositions, 45 TotalNumberOfCompositions, 42 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 42, positive: 42, positive conditional: 0, positive unconditional: 42, negative: 0, negative conditional: 0, negative unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: SyntacticIndependenceRelation.Independence Queries: [ total: 22, positive: 22, positive conditional: 0, positive unconditional: 22, negative: 0, negative conditional: 0, negative unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Cache Queries: [ total: 42, positive: 20, positive conditional: 0, positive unconditional: 20, negative: 0, negative conditional: 0, negative unconditional: 0, unknown: 22, unknown conditional: 0, unknown unconditional: 22] , Statistics on independence cache: Total cache size (in pairs): 1, Positive cache size: 1, Positive conditional cache size: 0, Positive unconditional cache size: 1, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0 - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 30]: assertion can be violated assertion can be violated We found a FailurePath: [L19] 0 pthread_t thread_id; [L21] 0 int x = 1; VAL [thread_id={6:0}, x={5:0}] [L23] EXPR 0 \read(x) [L23] COND TRUE 0 x < 3 [L24] FCALL, FORK 0 pthread_create(&thread_id, NULL, foo, &x) VAL [i={5:0}, pthread_create(&thread_id, NULL, foo, &x)=-1, thread_id={6:0}, x={5:0}] [L15] 1 int y = 4; [L25] 0 \read(x) [L26] 0 \read(thread_id) VAL [\read(thread_id)=-1, i={5:0}, i={5:0}, thread_id={6:0}, x={5:0}, y=4] [L26] FCALL, JOIN 1 pthread_join(thread_id, NULL) VAL [\read(thread_id)=-1, i={5:0}, i={5:0}, thread_id={6:0}, x={5:0}, y=4] [L27] 0 \read(x) [L28] EXPR 0 \read(x) [L28] 0 x++ [L23] EXPR 0 \read(x) [L23] COND TRUE 0 x < 3 [L24] FCALL, FORK 0 pthread_create(&thread_id, NULL, foo, &x) VAL [i={5:0}, pthread_create(&thread_id, NULL, foo, &x)=0, thread_id={6:0}, x={5:0}] [L15] 1 int y = 4; [L25] 0 \read(x) [L26] 0 \read(thread_id) VAL [\read(thread_id)=0, i={5:0}, i={5:0}, thread_id={6:0}, x={5:0}, y=4] [L26] FCALL, JOIN 1 pthread_join(thread_id, NULL) VAL [\read(thread_id)=0, i={5:0}, i={5:0}, thread_id={6:0}, x={5:0}, y=4] [L27] 0 \read(x) [L28] EXPR 0 \read(x) [L28] 0 x++ [L23] EXPR 0 \read(x) [L23] COND FALSE 0 !(x < 3) [L30] 0 CodeAnnotStmt[Assertion] VAL [i={5:0}, i={5:0}, thread_id={6:0}, x={5:0}, y=4] - UnprovableResult [Line: 24]: Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 57 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 2.2s, OverallIterations: 3, TraceHistogramMax: 2, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 1.1s, PartialOrderReductionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 7 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 7 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 4 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 32 IncrementalHoareTripleChecker+Invalid, 36 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 0 mSDtfsCounter, 32 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 20 GetRequests, 12 SyntacticMatches, 1 SemanticMatches, 7 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=17occurred in iteration=2, InterpolantAutomatonStates: 7, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 32 NumberOfCodeBlocks, 32 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 22 ConstructedInterpolants, 1 QuantifiedInterpolants, 185 SizeOfPredicates, 1 NumberOfNonLiveVariables, 75 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 4 InterpolantComputations, 1 PerfectInterpolantSequences, 0/3 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! [2022-03-15 20:30:59,300 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request...