./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/pc_sfifo_3.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 906a4fb5 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/systemc/pc_sfifo_3.cil.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 9ce92743863c5d30c478a48a973506d73113681a .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-906a4fb [2020-10-19 20:09:27,607 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 20:09:27,611 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 20:09:27,649 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 20:09:27,649 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 20:09:27,659 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 20:09:27,661 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 20:09:27,665 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 20:09:27,668 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 20:09:27,671 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 20:09:27,672 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 20:09:27,674 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 20:09:27,674 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 20:09:27,678 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 20:09:27,679 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 20:09:27,681 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 20:09:27,683 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 20:09:27,684 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 20:09:27,686 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 20:09:27,693 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 20:09:27,696 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 20:09:27,697 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 20:09:27,699 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 20:09:27,700 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 20:09:27,716 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 20:09:27,717 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 20:09:27,717 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 20:09:27,721 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 20:09:27,722 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 20:09:27,723 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 20:09:27,723 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 20:09:27,724 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 20:09:27,726 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 20:09:27,727 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 20:09:27,728 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 20:09:27,728 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 20:09:27,728 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 20:09:27,729 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 20:09:27,729 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 20:09:27,730 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 20:09:27,731 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 20:09:27,732 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-19 20:09:27,775 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 20:09:27,775 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 20:09:27,777 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 20:09:27,777 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 20:09:27,777 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 20:09:27,778 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 20:09:27,778 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 20:09:27,778 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 20:09:27,778 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 20:09:27,778 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 20:09:27,779 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 20:09:27,780 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 20:09:27,780 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 20:09:27,780 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 20:09:27,781 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 20:09:27,781 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 20:09:27,781 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 20:09:27,781 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 20:09:27,781 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 20:09:27,782 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 20:09:27,782 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 20:09:27,782 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 20:09:27,782 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 20:09:27,783 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 20:09:27,783 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 20:09:27,783 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 20:09:27,783 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 20:09:27,783 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 20:09:27,784 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 20:09:27,784 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 20:09:27,784 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 20:09:27,784 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 20:09:27,786 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 20:09:27,786 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 9ce92743863c5d30c478a48a973506d73113681a [2020-10-19 20:09:28,093 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 20:09:28,106 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 20:09:28,110 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 20:09:28,111 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 20:09:28,112 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 20:09:28,113 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/pc_sfifo_3.cil.c [2020-10-19 20:09:28,173 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b87639c4d/72e7cd6ec0f245c384d0be5a8fd5fe8b/FLAGc297a2786 [2020-10-19 20:09:28,615 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 20:09:28,617 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/pc_sfifo_3.cil.c [2020-10-19 20:09:28,633 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b87639c4d/72e7cd6ec0f245c384d0be5a8fd5fe8b/FLAGc297a2786 [2020-10-19 20:09:28,971 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b87639c4d/72e7cd6ec0f245c384d0be5a8fd5fe8b [2020-10-19 20:09:28,974 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 20:09:28,981 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 20:09:28,982 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 20:09:28,983 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 20:09:28,988 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 20:09:28,989 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:09:28" (1/1) ... [2020-10-19 20:09:28,992 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1775d24 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:28, skipping insertion in model container [2020-10-19 20:09:28,993 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:09:28" (1/1) ... [2020-10-19 20:09:29,000 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 20:09:29,051 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 20:09:29,274 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:09:29,290 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 20:09:29,435 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:09:29,469 INFO L208 MainTranslator]: Completed translation [2020-10-19 20:09:29,470 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29 WrapperNode [2020-10-19 20:09:29,472 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 20:09:29,473 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 20:09:29,474 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 20:09:29,474 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 20:09:29,483 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,510 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,562 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 20:09:29,563 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 20:09:29,563 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 20:09:29,563 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 20:09:29,571 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,571 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,580 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,581 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,598 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,618 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,620 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (1/1) ... [2020-10-19 20:09:29,624 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 20:09:29,625 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 20:09:29,625 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 20:09:29,625 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 20:09:29,629 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (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:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:09:29,699 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 20:09:29,700 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-19 20:09:29,700 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 20:09:29,700 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 20:09:30,334 INFO L751 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##104: assume 1 == ~q_free~0;~c_dr_st~0 := 2;~c_dr_pc~0 := 2;~a_t~0 := do_read_c_~a~0; [2020-10-19 20:09:30,335 INFO L751 $ProcedureCfgBuilder]: dead code at ProgramPoint $Ultimate##105: assume !(1 == ~q_free~0); [2020-10-19 20:09:30,359 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 20:09:30,359 INFO L298 CfgBuilder]: Removed 74 assume(true) statements. [2020-10-19 20:09:30,365 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:09:30 BoogieIcfgContainer [2020-10-19 20:09:30,366 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 20:09:30,367 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 20:09:30,367 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 20:09:30,371 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 20:09:30,372 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:09:30,373 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 08:09:28" (1/3) ... [2020-10-19 20:09:30,374 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@67dfe61b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:09:30, skipping insertion in model container [2020-10-19 20:09:30,374 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:09:30,375 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:29" (2/3) ... [2020-10-19 20:09:30,376 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@67dfe61b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:09:30, skipping insertion in model container [2020-10-19 20:09:30,376 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:09:30,377 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:09:30" (3/3) ... [2020-10-19 20:09:30,379 INFO L373 chiAutomizerObserver]: Analyzing ICFG pc_sfifo_3.cil.c [2020-10-19 20:09:30,435 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 20:09:30,436 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 20:09:30,436 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 20:09:30,436 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 20:09:30,437 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 20:09:30,437 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 20:09:30,437 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 20:09:30,437 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 20:09:30,469 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 131 states. [2020-10-19 20:09:30,515 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 96 [2020-10-19 20:09:30,515 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:30,515 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:30,524 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:30,524 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:30,524 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 20:09:30,524 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 131 states. [2020-10-19 20:09:30,532 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 96 [2020-10-19 20:09:30,532 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:30,532 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:30,534 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:30,535 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:30,541 INFO L794 eck$LassoCheckResult]: Stem: 86#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 11#L-1true havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 49#L543true havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 98#L250true assume !(1 == ~q_req_up~0); 108#L250-1true assume !(1 == ~p_dw_i~0);~p_dw_st~0 := 2; 36#L265-1true assume !(1 == ~c_dr_i~0);~c_dr_st~0 := 2; 76#L270-1true assume !(0 == ~q_read_ev~0); 82#L303-1true assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 88#L308-1true havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 61#L58true assume 1 == ~p_dw_pc~0; 24#L59true assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 110#L79true is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 63#L80true activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 130#L379true assume !(0 != activate_threads_~tmp~1); 113#L379-2true havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 17#L87true assume 1 == ~c_dr_pc~0; 95#L88true assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 55#L108true is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 19#L109true activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3#L387true assume !(0 != activate_threads_~tmp___0~1); 6#L387-2true assume !(1 == ~q_read_ev~0); 9#L321-1true assume !(1 == ~q_write_ev~0); 25#L483-1true [2020-10-19 20:09:30,542 INFO L796 eck$LassoCheckResult]: Loop: 25#L483-1true assume !false; 97#L484true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 66#L427true assume !true; 96#L443true start_simulation_~kernel_st~0 := 2; 106#L250-2true assume !(1 == ~q_req_up~0); 105#L250-3true start_simulation_~kernel_st~0 := 3; 77#L303-2true assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 71#L303-4true assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 93#L308-3true havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 73#L58-3true assume 1 == ~p_dw_pc~0; 22#L59-1true assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 133#L79-1true is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 60#L80-1true activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 115#L379-3true assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 119#L379-5true havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 121#L87-3true assume 1 == ~c_dr_pc~0; 92#L88-1true assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 54#L108-1true is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 16#L109-1true activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 10#L387-3true assume !(0 != activate_threads_~tmp___0~1); 123#L387-5true assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 124#L321-3true assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 23#L326-3true havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 99#L283-1true assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 45#L295-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 5#L296-1true start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 34#L502true assume !(0 == start_simulation_~tmp~4); 39#L502-1true havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 109#L283-2true assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 44#L295-2true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4#L296-2true stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 69#L457true assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 20#L464true stop_simulation_#res := stop_simulation_~__retres2~0; 94#L465true start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 64#L515true assume !(0 != start_simulation_~tmp___0~3); 25#L483-1true [2020-10-19 20:09:30,548 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:30,549 INFO L82 PathProgramCache]: Analyzing trace with hash -598217252, now seen corresponding path program 1 times [2020-10-19 20:09:30,559 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:30,560 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [575679488] [2020-10-19 20:09:30,560 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:30,680 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:30,791 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-19 20:09:30,792 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [575679488] [2020-10-19 20:09:30,793 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:30,793 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:30,795 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1547790764] [2020-10-19 20:09:30,800 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:30,801 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:30,801 INFO L82 PathProgramCache]: Analyzing trace with hash -250486326, now seen corresponding path program 1 times [2020-10-19 20:09:30,801 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:30,801 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1126955178] [2020-10-19 20:09:30,802 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:30,808 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:30,817 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-19 20:09:30,818 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1126955178] [2020-10-19 20:09:30,818 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:30,818 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 20:09:30,819 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [554875829] [2020-10-19 20:09:30,820 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:30,821 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:30,837 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:30,838 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:30,840 INFO L87 Difference]: Start difference. First operand 131 states. Second operand 3 states. [2020-10-19 20:09:30,871 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:30,872 INFO L93 Difference]: Finished difference Result 129 states and 196 transitions. [2020-10-19 20:09:30,872 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:30,874 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 129 states and 196 transitions. [2020-10-19 20:09:30,882 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-10-19 20:09:30,892 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 129 states to 123 states and 190 transitions. [2020-10-19 20:09:30,893 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 123 [2020-10-19 20:09:30,896 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 123 [2020-10-19 20:09:30,899 INFO L73 IsDeterministic]: Start isDeterministic. Operand 123 states and 190 transitions. [2020-10-19 20:09:30,901 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:30,901 INFO L691 BuchiCegarLoop]: Abstraction has 123 states and 190 transitions. [2020-10-19 20:09:30,915 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 123 states and 190 transitions. [2020-10-19 20:09:30,931 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 123 to 123. [2020-10-19 20:09:30,932 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 123 states. [2020-10-19 20:09:30,933 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 123 states to 123 states and 190 transitions. [2020-10-19 20:09:30,935 INFO L714 BuchiCegarLoop]: Abstraction has 123 states and 190 transitions. [2020-10-19 20:09:30,935 INFO L594 BuchiCegarLoop]: Abstraction has 123 states and 190 transitions. [2020-10-19 20:09:30,935 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 20:09:30,935 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 123 states and 190 transitions. [2020-10-19 20:09:30,937 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-10-19 20:09:30,938 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:30,938 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:30,939 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:30,939 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:30,940 INFO L794 eck$LassoCheckResult]: Stem: 374#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 281#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 282#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 345#L250 assume !(1 == ~q_req_up~0); 375#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 333#L265-1 assume !(1 == ~c_dr_i~0);~c_dr_st~0 := 2; 334#L270-1 assume !(0 == ~q_read_ev~0); 369#L303-1 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 371#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 354#L58 assume 1 == ~p_dw_pc~0; 309#L59 assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 310#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 357#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 358#L379 assume !(0 != activate_threads_~tmp~1); 387#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 295#L87 assume 1 == ~c_dr_pc~0; 296#L88 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 297#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 298#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 269#L387 assume !(0 != activate_threads_~tmp___0~1); 270#L387-2 assume !(1 == ~q_read_ev~0); 275#L321-1 assume !(1 == ~q_write_ev~0); 278#L483-1 [2020-10-19 20:09:30,940 INFO L796 eck$LassoCheckResult]: Loop: 278#L483-1 assume !false; 312#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 302#L427 assume !false; 316#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 317#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 342#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 276#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 277#L407 assume !(0 != eval_~tmp___1~0); 381#L443 start_simulation_~kernel_st~0 := 2; 382#L250-2 assume !(1 == ~q_req_up~0); 363#L250-3 start_simulation_~kernel_st~0 := 3; 370#L303-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 366#L303-4 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 367#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 368#L58-3 assume 1 == ~p_dw_pc~0; 304#L59-1 assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 305#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 352#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 353#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 388#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 389#L87-3 assume 1 == ~c_dr_pc~0; 379#L88-1 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 292#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 294#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 279#L387-3 assume !(0 != activate_threads_~tmp___0~1); 280#L387-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 390#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 307#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 308#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 336#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 273#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 274#L502 assume !(0 == start_simulation_~tmp~4); 330#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 337#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 332#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 271#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 272#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 299#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 300#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 359#L515 assume !(0 != start_simulation_~tmp___0~3); 278#L483-1 [2020-10-19 20:09:30,940 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:30,941 INFO L82 PathProgramCache]: Analyzing trace with hash 1395927454, now seen corresponding path program 1 times [2020-10-19 20:09:30,941 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:30,941 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1624257935] [2020-10-19 20:09:30,941 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:30,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:30,989 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-19 20:09:30,989 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1624257935] [2020-10-19 20:09:30,990 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:30,990 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:30,990 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [727129875] [2020-10-19 20:09:30,991 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:30,991 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:30,991 INFO L82 PathProgramCache]: Analyzing trace with hash -991429159, now seen corresponding path program 1 times [2020-10-19 20:09:30,992 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:30,992 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [522205047] [2020-10-19 20:09:30,992 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,056 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-19 20:09:31,056 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [522205047] [2020-10-19 20:09:31,057 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,057 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:31,058 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [677272942] [2020-10-19 20:09:31,059 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:31,059 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:31,060 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:31,060 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:31,060 INFO L87 Difference]: Start difference. First operand 123 states and 190 transitions. cyclomatic complexity: 68 Second operand 3 states. [2020-10-19 20:09:31,098 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:31,098 INFO L93 Difference]: Finished difference Result 123 states and 189 transitions. [2020-10-19 20:09:31,101 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:31,102 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 123 states and 189 transitions. [2020-10-19 20:09:31,104 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-10-19 20:09:31,106 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 123 states to 123 states and 189 transitions. [2020-10-19 20:09:31,106 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 123 [2020-10-19 20:09:31,110 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 123 [2020-10-19 20:09:31,111 INFO L73 IsDeterministic]: Start isDeterministic. Operand 123 states and 189 transitions. [2020-10-19 20:09:31,112 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:31,112 INFO L691 BuchiCegarLoop]: Abstraction has 123 states and 189 transitions. [2020-10-19 20:09:31,112 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 123 states and 189 transitions. [2020-10-19 20:09:31,119 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 123 to 123. [2020-10-19 20:09:31,119 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 123 states. [2020-10-19 20:09:31,120 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 123 states to 123 states and 189 transitions. [2020-10-19 20:09:31,120 INFO L714 BuchiCegarLoop]: Abstraction has 123 states and 189 transitions. [2020-10-19 20:09:31,120 INFO L594 BuchiCegarLoop]: Abstraction has 123 states and 189 transitions. [2020-10-19 20:09:31,121 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-19 20:09:31,121 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 123 states and 189 transitions. [2020-10-19 20:09:31,122 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-10-19 20:09:31,123 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:31,123 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:31,124 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:31,124 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:31,125 INFO L794 eck$LassoCheckResult]: Stem: 629#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 536#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 537#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 600#L250 assume !(1 == ~q_req_up~0); 630#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 588#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 589#L270-1 assume !(0 == ~q_read_ev~0); 624#L303-1 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 626#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 609#L58 assume 1 == ~p_dw_pc~0; 564#L59 assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 565#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 613#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 614#L379 assume !(0 != activate_threads_~tmp~1); 642#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 550#L87 assume 1 == ~c_dr_pc~0; 551#L88 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 552#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 553#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 524#L387 assume !(0 != activate_threads_~tmp___0~1); 525#L387-2 assume !(1 == ~q_read_ev~0); 530#L321-1 assume !(1 == ~q_write_ev~0); 533#L483-1 [2020-10-19 20:09:31,125 INFO L796 eck$LassoCheckResult]: Loop: 533#L483-1 assume !false; 567#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 557#L427 assume !false; 571#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 572#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 597#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 531#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 532#L407 assume !(0 != eval_~tmp___1~0); 636#L443 start_simulation_~kernel_st~0 := 2; 637#L250-2 assume !(1 == ~q_req_up~0); 618#L250-3 start_simulation_~kernel_st~0 := 3; 625#L303-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 621#L303-4 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 622#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 623#L58-3 assume 1 == ~p_dw_pc~0; 559#L59-1 assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 560#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 607#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 608#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 643#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 644#L87-3 assume 1 == ~c_dr_pc~0; 634#L88-1 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 547#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 549#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 534#L387-3 assume !(0 != activate_threads_~tmp___0~1); 535#L387-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 645#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 562#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 563#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 591#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 528#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 529#L502 assume !(0 == start_simulation_~tmp~4); 585#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 592#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 587#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 526#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 527#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 554#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 555#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 612#L515 assume !(0 != start_simulation_~tmp___0~3); 533#L483-1 [2020-10-19 20:09:31,125 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:31,126 INFO L82 PathProgramCache]: Analyzing trace with hash -1310691940, now seen corresponding path program 1 times [2020-10-19 20:09:31,126 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:31,126 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [806547198] [2020-10-19 20:09:31,127 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,182 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-19 20:09:31,183 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [806547198] [2020-10-19 20:09:31,183 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,183 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:09:31,183 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1850332730] [2020-10-19 20:09:31,184 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:31,184 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:31,184 INFO L82 PathProgramCache]: Analyzing trace with hash -991429159, now seen corresponding path program 2 times [2020-10-19 20:09:31,185 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:31,185 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [251535357] [2020-10-19 20:09:31,185 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,202 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,233 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-19 20:09:31,233 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [251535357] [2020-10-19 20:09:31,234 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,234 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:31,234 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1577317281] [2020-10-19 20:09:31,235 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:31,235 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:31,235 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-10-19 20:09:31,235 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-10-19 20:09:31,236 INFO L87 Difference]: Start difference. First operand 123 states and 189 transitions. cyclomatic complexity: 67 Second operand 4 states. [2020-10-19 20:09:31,397 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:31,398 INFO L93 Difference]: Finished difference Result 251 states and 380 transitions. [2020-10-19 20:09:31,398 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-19 20:09:31,399 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 251 states and 380 transitions. [2020-10-19 20:09:31,402 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 189 [2020-10-19 20:09:31,405 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 251 states to 251 states and 380 transitions. [2020-10-19 20:09:31,406 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 251 [2020-10-19 20:09:31,407 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 251 [2020-10-19 20:09:31,407 INFO L73 IsDeterministic]: Start isDeterministic. Operand 251 states and 380 transitions. [2020-10-19 20:09:31,409 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:31,409 INFO L691 BuchiCegarLoop]: Abstraction has 251 states and 380 transitions. [2020-10-19 20:09:31,410 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 251 states and 380 transitions. [2020-10-19 20:09:31,424 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 251 to 251. [2020-10-19 20:09:31,424 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 251 states. [2020-10-19 20:09:31,426 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 251 states to 251 states and 380 transitions. [2020-10-19 20:09:31,426 INFO L714 BuchiCegarLoop]: Abstraction has 251 states and 380 transitions. [2020-10-19 20:09:31,427 INFO L594 BuchiCegarLoop]: Abstraction has 251 states and 380 transitions. [2020-10-19 20:09:31,427 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-19 20:09:31,427 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 251 states and 380 transitions. [2020-10-19 20:09:31,430 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 189 [2020-10-19 20:09:31,430 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:31,430 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:31,432 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:31,432 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:31,433 INFO L794 eck$LassoCheckResult]: Stem: 1034#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 924#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 925#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 994#L250 assume !(1 == ~q_req_up~0); 1035#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 977#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 978#L270-1 assume !(0 == ~q_read_ev~0); 1026#L303-1 assume !(0 == ~q_write_ev~0); 1029#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 1007#L58 assume 1 == ~p_dw_pc~0; 952#L59 assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 953#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 1010#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 1011#L379 assume !(0 != activate_threads_~tmp~1); 1060#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 938#L87 assume 1 == ~c_dr_pc~0; 939#L88 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 940#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 941#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 910#L387 assume !(0 != activate_threads_~tmp___0~1); 911#L387-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 916#L321-1 assume !(1 == ~q_write_ev~0); 920#L483-1 [2020-10-19 20:09:31,433 INFO L796 eck$LassoCheckResult]: Loop: 920#L483-1 assume !false; 1094#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 1093#L427 assume !false; 1092#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1045#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 991#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 918#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 919#L407 assume !(0 != eval_~tmp___1~0); 1042#L443 start_simulation_~kernel_st~0 := 2; 1043#L250-2 assume !(1 == ~q_req_up~0); 1054#L250-3 start_simulation_~kernel_st~0 := 3; 1055#L303-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 1021#L303-4 assume !(0 == ~q_write_ev~0); 1022#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 1023#L58-3 assume 1 == ~p_dw_pc~0; 1024#L59-1 assume 1 == ~fast_clk_edge~0;is_do_write_p_triggered_~__retres1~0 := 1; 1158#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 1157#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 1156#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 1155#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 1154#L87-3 assume 1 == ~c_dr_pc~0; 1153#L88-1 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 1152#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 1151#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1150#L387-3 assume !(0 != activate_threads_~tmp___0~1); 1068#L387-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 1069#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 1071#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1044#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 980#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 914#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 915#L502 assume !(0 == start_simulation_~tmp~4); 974#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 981#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 976#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 912#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 913#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 942#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 943#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 1041#L515 assume !(0 != start_simulation_~tmp___0~3); 920#L483-1 [2020-10-19 20:09:31,433 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:31,434 INFO L82 PathProgramCache]: Analyzing trace with hash 1704411616, now seen corresponding path program 1 times [2020-10-19 20:09:31,434 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:31,434 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1252182730] [2020-10-19 20:09:31,435 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,447 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,480 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-19 20:09:31,480 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1252182730] [2020-10-19 20:09:31,480 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,481 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:09:31,481 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [731455094] [2020-10-19 20:09:31,481 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:31,482 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:31,482 INFO L82 PathProgramCache]: Analyzing trace with hash -1500902249, now seen corresponding path program 1 times [2020-10-19 20:09:31,482 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:31,482 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1408990941] [2020-10-19 20:09:31,483 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,494 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,526 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-19 20:09:31,526 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1408990941] [2020-10-19 20:09:31,527 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,527 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:31,527 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1325672074] [2020-10-19 20:09:31,528 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:31,528 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:31,529 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:31,529 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:31,529 INFO L87 Difference]: Start difference. First operand 251 states and 380 transitions. cyclomatic complexity: 131 Second operand 5 states. [2020-10-19 20:09:31,712 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:31,712 INFO L93 Difference]: Finished difference Result 883 states and 1295 transitions. [2020-10-19 20:09:31,713 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-19 20:09:31,713 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 883 states and 1295 transitions. [2020-10-19 20:09:31,724 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 850 [2020-10-19 20:09:31,734 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 883 states to 883 states and 1295 transitions. [2020-10-19 20:09:31,735 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 883 [2020-10-19 20:09:31,736 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 883 [2020-10-19 20:09:31,737 INFO L73 IsDeterministic]: Start isDeterministic. Operand 883 states and 1295 transitions. [2020-10-19 20:09:31,740 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:31,740 INFO L691 BuchiCegarLoop]: Abstraction has 883 states and 1295 transitions. [2020-10-19 20:09:31,741 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 883 states and 1295 transitions. [2020-10-19 20:09:31,767 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 883 to 857. [2020-10-19 20:09:31,767 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 857 states. [2020-10-19 20:09:31,772 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 857 states to 857 states and 1269 transitions. [2020-10-19 20:09:31,773 INFO L714 BuchiCegarLoop]: Abstraction has 857 states and 1269 transitions. [2020-10-19 20:09:31,773 INFO L594 BuchiCegarLoop]: Abstraction has 857 states and 1269 transitions. [2020-10-19 20:09:31,773 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-19 20:09:31,773 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 857 states and 1269 transitions. [2020-10-19 20:09:31,781 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 828 [2020-10-19 20:09:31,782 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:31,782 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:31,783 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:31,783 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:31,784 INFO L794 eck$LassoCheckResult]: Stem: 2171#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 2072#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 2073#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 2130#L250 assume !(1 == ~q_req_up~0); 2180#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 2121#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 2122#L270-1 assume !(0 == ~q_read_ev~0); 2159#L303-1 assume !(0 == ~q_write_ev~0); 2165#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 2142#L58 assume !(1 == ~p_dw_pc~0); 2143#L58-2 assume !(2 == ~p_dw_pc~0); 2161#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 2189#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 2144#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 2145#L379 assume !(0 != activate_threads_~tmp~1); 2190#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 2086#L87 assume 1 == ~c_dr_pc~0; 2087#L88 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 2088#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 2089#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 2059#L387 assume !(0 != activate_threads_~tmp___0~1); 2060#L387-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 2065#L321-1 assume !(1 == ~q_write_ev~0); 2069#L483-1 [2020-10-19 20:09:31,784 INFO L796 eck$LassoCheckResult]: Loop: 2069#L483-1 assume !false; 2100#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 2093#L427 assume !false; 2104#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2105#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 2127#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2067#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 2068#L407 assume !(0 != eval_~tmp___1~0); 2178#L443 start_simulation_~kernel_st~0 := 2; 2179#L250-2 assume !(1 == ~q_req_up~0); 2185#L250-3 start_simulation_~kernel_st~0 := 3; 2913#L303-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 2912#L303-4 assume !(0 == ~q_write_ev~0); 2911#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 2156#L58-3 assume !(1 == ~p_dw_pc~0); 2152#L58-5 assume !(2 == ~p_dw_pc~0); 2153#L68-3 is_do_write_p_triggered_~__retres1~0 := 0; 2198#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 2140#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 2141#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 2192#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 2195#L87-3 assume 1 == ~c_dr_pc~0; 2175#L88-1 assume 1 == ~slow_clk_edge~0;is_do_read_c_triggered_~__retres1~1 := 1; 2083#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 2085#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 2070#L387-3 assume !(0 != activate_threads_~tmp___0~1); 2071#L387-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 2196#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 2098#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2099#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 2124#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2063#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 2064#L502 assume !(0 == start_simulation_~tmp~4); 2118#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2125#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 2120#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2061#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 2062#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 2090#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 2091#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 2146#L515 assume !(0 != start_simulation_~tmp___0~3); 2069#L483-1 [2020-10-19 20:09:31,785 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:31,785 INFO L82 PathProgramCache]: Analyzing trace with hash 1443448551, now seen corresponding path program 1 times [2020-10-19 20:09:31,785 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:31,786 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [295099472] [2020-10-19 20:09:31,786 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,797 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,832 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-19 20:09:31,833 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [295099472] [2020-10-19 20:09:31,833 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,833 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:09:31,833 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1088849980] [2020-10-19 20:09:31,834 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:31,834 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:31,835 INFO L82 PathProgramCache]: Analyzing trace with hash -2013296618, now seen corresponding path program 1 times [2020-10-19 20:09:31,835 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:31,835 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [397885085] [2020-10-19 20:09:31,835 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:31,845 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:31,871 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-19 20:09:31,871 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [397885085] [2020-10-19 20:09:31,871 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:31,872 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:31,872 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [503173893] [2020-10-19 20:09:31,873 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:31,873 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:31,873 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:31,874 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:31,874 INFO L87 Difference]: Start difference. First operand 857 states and 1269 transitions. cyclomatic complexity: 416 Second operand 5 states. [2020-10-19 20:09:32,054 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:32,054 INFO L93 Difference]: Finished difference Result 2083 states and 2999 transitions. [2020-10-19 20:09:32,055 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-19 20:09:32,055 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2083 states and 2999 transitions. [2020-10-19 20:09:32,075 INFO L131 ngComponentsAnalysis]: Automaton has 8 accepting balls. 2044 [2020-10-19 20:09:32,093 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2083 states to 2083 states and 2999 transitions. [2020-10-19 20:09:32,093 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2083 [2020-10-19 20:09:32,096 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2083 [2020-10-19 20:09:32,096 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2083 states and 2999 transitions. [2020-10-19 20:09:32,101 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:32,101 INFO L691 BuchiCegarLoop]: Abstraction has 2083 states and 2999 transitions. [2020-10-19 20:09:32,103 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2083 states and 2999 transitions. [2020-10-19 20:09:32,139 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2083 to 2017. [2020-10-19 20:09:32,140 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2017 states. [2020-10-19 20:09:32,148 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2017 states to 2017 states and 2913 transitions. [2020-10-19 20:09:32,148 INFO L714 BuchiCegarLoop]: Abstraction has 2017 states and 2913 transitions. [2020-10-19 20:09:32,149 INFO L594 BuchiCegarLoop]: Abstraction has 2017 states and 2913 transitions. [2020-10-19 20:09:32,149 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-19 20:09:32,149 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2017 states and 2913 transitions. [2020-10-19 20:09:32,163 INFO L131 ngComponentsAnalysis]: Automaton has 8 accepting balls. 1980 [2020-10-19 20:09:32,164 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:32,164 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:32,165 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:32,165 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:32,166 INFO L794 eck$LassoCheckResult]: Stem: 5131#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 5028#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 5029#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 5089#L250 assume !(1 == ~q_req_up~0); 5140#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 5076#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 5077#L270-1 assume !(0 == ~q_read_ev~0); 5123#L303-1 assume !(0 == ~q_write_ev~0); 5128#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 5101#L58 assume !(1 == ~p_dw_pc~0); 5102#L58-2 assume !(2 == ~p_dw_pc~0); 5124#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 5147#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 5104#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 5105#L379 assume !(0 != activate_threads_~tmp~1); 5148#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 5041#L87 assume !(1 == ~c_dr_pc~0); 5030#L87-2 assume !(2 == ~c_dr_pc~0); 5031#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 5091#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 5042#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 5014#L387 assume !(0 != activate_threads_~tmp___0~1); 5015#L387-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 5020#L321-1 assume !(1 == ~q_write_ev~0); 5026#L483-1 [2020-10-19 20:09:32,166 INFO L796 eck$LassoCheckResult]: Loop: 5026#L483-1 assume !false; 5302#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 5295#L427 assume !false; 5296#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 5292#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 5291#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 5286#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 5287#L407 assume !(0 != eval_~tmp___1~0); 5361#L443 start_simulation_~kernel_st~0 := 2; 5359#L250-2 assume !(1 == ~q_req_up~0); 5357#L250-3 start_simulation_~kernel_st~0 := 3; 5354#L303-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 5355#L303-4 assume !(0 == ~q_write_ev~0); 5396#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 5395#L58-3 assume !(1 == ~p_dw_pc~0); 5394#L58-5 assume !(2 == ~p_dw_pc~0); 5393#L68-3 is_do_write_p_triggered_~__retres1~0 := 0; 5392#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 5391#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 5390#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 5389#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 5388#L87-3 assume !(1 == ~c_dr_pc~0); 5387#L87-5 assume !(2 == ~c_dr_pc~0); 5386#L97-3 is_do_read_c_triggered_~__retres1~1 := 0; 5385#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 5384#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 5383#L387-3 assume !(0 != activate_threads_~tmp___0~1); 5382#L387-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 5329#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 5326#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 5380#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 5379#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 5378#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 5376#L502 assume !(0 == start_simulation_~tmp~4); 5374#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 5372#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 5371#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 5370#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 5369#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 5368#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 5367#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 5366#L515 assume !(0 != start_simulation_~tmp___0~3); 5026#L483-1 [2020-10-19 20:09:32,167 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:32,167 INFO L82 PathProgramCache]: Analyzing trace with hash 1480396684, now seen corresponding path program 1 times [2020-10-19 20:09:32,168 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:32,168 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2056006709] [2020-10-19 20:09:32,168 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:32,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:32,203 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-19 20:09:32,203 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2056006709] [2020-10-19 20:09:32,204 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:32,204 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:32,204 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [980170484] [2020-10-19 20:09:32,204 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:32,205 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:32,205 INFO L82 PathProgramCache]: Analyzing trace with hash -1862222361, now seen corresponding path program 1 times [2020-10-19 20:09:32,205 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:32,205 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [561589764] [2020-10-19 20:09:32,206 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:32,213 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:32,245 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-19 20:09:32,246 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [561589764] [2020-10-19 20:09:32,246 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:32,246 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:32,246 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1986800491] [2020-10-19 20:09:32,247 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:32,247 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:32,247 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:32,248 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:32,248 INFO L87 Difference]: Start difference. First operand 2017 states and 2913 transitions. cyclomatic complexity: 904 Second operand 3 states. [2020-10-19 20:09:32,299 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:32,299 INFO L93 Difference]: Finished difference Result 2666 states and 3813 transitions. [2020-10-19 20:09:32,299 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:32,300 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2666 states and 3813 transitions. [2020-10-19 20:09:32,326 INFO L131 ngComponentsAnalysis]: Automaton has 8 accepting balls. 2630 [2020-10-19 20:09:32,350 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2666 states to 2666 states and 3813 transitions. [2020-10-19 20:09:32,350 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2666 [2020-10-19 20:09:32,355 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2666 [2020-10-19 20:09:32,355 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2666 states and 3813 transitions. [2020-10-19 20:09:32,360 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:32,361 INFO L691 BuchiCegarLoop]: Abstraction has 2666 states and 3813 transitions. [2020-10-19 20:09:32,363 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2666 states and 3813 transitions. [2020-10-19 20:09:32,400 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2666 to 1680. [2020-10-19 20:09:32,400 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1680 states. [2020-10-19 20:09:32,406 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1680 states to 1680 states and 2417 transitions. [2020-10-19 20:09:32,407 INFO L714 BuchiCegarLoop]: Abstraction has 1680 states and 2417 transitions. [2020-10-19 20:09:32,407 INFO L594 BuchiCegarLoop]: Abstraction has 1680 states and 2417 transitions. [2020-10-19 20:09:32,407 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-19 20:09:32,407 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1680 states and 2417 transitions. [2020-10-19 20:09:32,416 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1650 [2020-10-19 20:09:32,416 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:32,416 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:32,417 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:32,417 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:32,418 INFO L794 eck$LassoCheckResult]: Stem: 9825#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 9718#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 9719#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 9781#L250 assume !(1 == ~q_req_up~0); 9834#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 9768#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 9769#L270-1 assume !(0 == ~q_read_ev~0); 9815#L303-1 assume !(0 == ~q_write_ev~0); 9821#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 9796#L58 assume !(1 == ~p_dw_pc~0); 9797#L58-2 assume !(2 == ~p_dw_pc~0); 9816#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 9843#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 9799#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 9800#L379 assume !(0 != activate_threads_~tmp~1); 9844#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 9731#L87 assume !(1 == ~c_dr_pc~0); 9720#L87-2 assume !(2 == ~c_dr_pc~0); 9721#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 9784#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 9732#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 9706#L387 assume !(0 != activate_threads_~tmp___0~1); 9707#L387-2 assume !(1 == ~q_read_ev~0); 9712#L321-1 assume !(1 == ~q_write_ev~0); 9717#L483-1 [2020-10-19 20:09:32,418 INFO L796 eck$LassoCheckResult]: Loop: 9717#L483-1 assume !false; 9961#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 9959#L427 assume !false; 9958#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 9954#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 9949#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 9946#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 9941#L407 assume !(0 != eval_~tmp___1~0); 9942#L443 start_simulation_~kernel_st~0 := 2; 10129#L250-2 assume !(1 == ~q_req_up~0); 10128#L250-3 start_simulation_~kernel_st~0 := 3; 10126#L303-2 assume !(0 == ~q_read_ev~0); 10124#L303-4 assume !(0 == ~q_write_ev~0); 10123#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 10122#L58-3 assume !(1 == ~p_dw_pc~0); 10120#L58-5 assume !(2 == ~p_dw_pc~0); 10117#L68-3 is_do_write_p_triggered_~__retres1~0 := 0; 10114#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 10111#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 10108#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 10105#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 10099#L87-3 assume !(1 == ~c_dr_pc~0); 10094#L87-5 assume !(2 == ~c_dr_pc~0); 10093#L97-3 is_do_read_c_triggered_~__retres1~1 := 0; 10092#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 10090#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 10088#L387-3 assume !(0 != activate_threads_~tmp___0~1); 10068#L387-5 assume !(1 == ~q_read_ev~0); 10059#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 10053#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 10045#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 10039#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 10033#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 10026#L502 assume !(0 == start_simulation_~tmp~4); 10020#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 10011#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 10005#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 10000#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 9994#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 9989#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 9972#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 9969#L515 assume !(0 != start_simulation_~tmp___0~3); 9717#L483-1 [2020-10-19 20:09:32,418 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:32,418 INFO L82 PathProgramCache]: Analyzing trace with hash 1480396746, now seen corresponding path program 1 times [2020-10-19 20:09:32,419 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:32,419 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1813421071] [2020-10-19 20:09:32,419 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:32,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:32,430 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:32,438 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:32,439 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:32,469 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:32,469 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:32,469 INFO L82 PathProgramCache]: Analyzing trace with hash 1854481131, now seen corresponding path program 1 times [2020-10-19 20:09:32,470 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:32,470 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [148454845] [2020-10-19 20:09:32,470 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:32,477 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:32,505 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-19 20:09:32,505 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [148454845] [2020-10-19 20:09:32,506 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:32,506 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:32,506 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [38681798] [2020-10-19 20:09:32,507 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:32,507 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:32,507 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:32,507 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:32,508 INFO L87 Difference]: Start difference. First operand 1680 states and 2417 transitions. cyclomatic complexity: 741 Second operand 5 states. [2020-10-19 20:09:32,629 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:32,629 INFO L93 Difference]: Finished difference Result 2816 states and 3974 transitions. [2020-10-19 20:09:32,630 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:09:32,630 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2816 states and 3974 transitions. [2020-10-19 20:09:32,655 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2780 [2020-10-19 20:09:32,677 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2816 states to 2816 states and 3974 transitions. [2020-10-19 20:09:32,677 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2816 [2020-10-19 20:09:32,681 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2816 [2020-10-19 20:09:32,681 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2816 states and 3974 transitions. [2020-10-19 20:09:32,687 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:32,687 INFO L691 BuchiCegarLoop]: Abstraction has 2816 states and 3974 transitions. [2020-10-19 20:09:32,690 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2816 states and 3974 transitions. [2020-10-19 20:09:32,725 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2816 to 1743. [2020-10-19 20:09:32,726 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1743 states. [2020-10-19 20:09:32,732 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1743 states to 1743 states and 2480 transitions. [2020-10-19 20:09:32,733 INFO L714 BuchiCegarLoop]: Abstraction has 1743 states and 2480 transitions. [2020-10-19 20:09:32,733 INFO L594 BuchiCegarLoop]: Abstraction has 1743 states and 2480 transitions. [2020-10-19 20:09:32,733 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-19 20:09:32,733 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1743 states and 2480 transitions. [2020-10-19 20:09:32,744 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1713 [2020-10-19 20:09:32,744 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:32,745 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:32,745 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:32,746 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:32,746 INFO L794 eck$LassoCheckResult]: Stem: 14336#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 14230#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 14231#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 14292#L250 assume !(1 == ~q_req_up~0); 14347#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 14279#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 14280#L270-1 assume !(0 == ~q_read_ev~0); 14328#L303-1 assume !(0 == ~q_write_ev~0); 14332#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 14309#L58 assume !(1 == ~p_dw_pc~0); 14310#L58-2 assume !(2 == ~p_dw_pc~0); 14329#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 14358#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 14312#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 14313#L379 assume !(0 != activate_threads_~tmp~1); 14359#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 14244#L87 assume !(1 == ~c_dr_pc~0); 14232#L87-2 assume !(2 == ~c_dr_pc~0); 14233#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 14297#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 14245#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 14218#L387 assume !(0 != activate_threads_~tmp___0~1); 14219#L387-2 assume !(1 == ~q_read_ev~0); 14224#L321-1 assume !(1 == ~q_write_ev~0); 14229#L483-1 [2020-10-19 20:09:32,746 INFO L796 eck$LassoCheckResult]: Loop: 14229#L483-1 assume !false; 15230#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 15209#L427 assume !false; 15128#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 15123#L283 assume !(0 == ~p_dw_st~0); 15122#L287 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 15121#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 15073#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 15066#L407 assume !(0 != eval_~tmp___1~0); 15067#L443 start_simulation_~kernel_st~0 := 2; 15355#L250-2 assume !(1 == ~q_req_up~0); 15354#L250-3 start_simulation_~kernel_st~0 := 3; 15353#L303-2 assume !(0 == ~q_read_ev~0); 15352#L303-4 assume !(0 == ~q_write_ev~0); 15351#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 15350#L58-3 assume !(1 == ~p_dw_pc~0); 15349#L58-5 assume !(2 == ~p_dw_pc~0); 15348#L68-3 is_do_write_p_triggered_~__retres1~0 := 0; 15347#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 15346#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 15345#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 15344#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 15343#L87-3 assume !(1 == ~c_dr_pc~0); 15342#L87-5 assume !(2 == ~c_dr_pc~0); 15341#L97-3 is_do_read_c_triggered_~__retres1~1 := 0; 15340#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 15339#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 15338#L387-3 assume !(0 != activate_threads_~tmp___0~1); 15337#L387-5 assume !(1 == ~q_read_ev~0); 15336#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 15335#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 15333#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 15311#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 15306#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 15300#L502 assume !(0 == start_simulation_~tmp~4); 15294#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 15292#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 15286#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 15279#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 15276#L457 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 15249#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 15245#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 15241#L515 assume !(0 != start_simulation_~tmp___0~3); 14229#L483-1 [2020-10-19 20:09:32,747 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:32,747 INFO L82 PathProgramCache]: Analyzing trace with hash 1480396746, now seen corresponding path program 2 times [2020-10-19 20:09:32,747 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:32,748 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1592916772] [2020-10-19 20:09:32,774 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:32,791 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:32,792 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:32,801 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:32,802 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:32,818 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:32,821 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:32,822 INFO L82 PathProgramCache]: Analyzing trace with hash -1150388166, now seen corresponding path program 1 times [2020-10-19 20:09:32,822 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:32,822 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [369656048] [2020-10-19 20:09:32,822 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:32,839 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:32,868 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-19 20:09:32,868 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [369656048] [2020-10-19 20:09:32,869 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:32,869 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:32,869 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [973044730] [2020-10-19 20:09:32,869 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:32,870 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:32,870 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:32,873 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:32,873 INFO L87 Difference]: Start difference. First operand 1743 states and 2480 transitions. cyclomatic complexity: 741 Second operand 5 states. [2020-10-19 20:09:32,998 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:32,999 INFO L93 Difference]: Finished difference Result 4894 states and 7018 transitions. [2020-10-19 20:09:32,999 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:09:33,000 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 4894 states and 7018 transitions. [2020-10-19 20:09:33,043 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 4846 [2020-10-19 20:09:33,081 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 4894 states to 4894 states and 7018 transitions. [2020-10-19 20:09:33,082 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 4894 [2020-10-19 20:09:33,089 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 4894 [2020-10-19 20:09:33,090 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4894 states and 7018 transitions. [2020-10-19 20:09:33,098 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:33,099 INFO L691 BuchiCegarLoop]: Abstraction has 4894 states and 7018 transitions. [2020-10-19 20:09:33,102 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 4894 states and 7018 transitions. [2020-10-19 20:09:33,155 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 4894 to 1806. [2020-10-19 20:09:33,155 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1806 states. [2020-10-19 20:09:33,162 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1806 states to 1806 states and 2543 transitions. [2020-10-19 20:09:33,162 INFO L714 BuchiCegarLoop]: Abstraction has 1806 states and 2543 transitions. [2020-10-19 20:09:33,162 INFO L594 BuchiCegarLoop]: Abstraction has 1806 states and 2543 transitions. [2020-10-19 20:09:33,162 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-19 20:09:33,163 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1806 states and 2543 transitions. [2020-10-19 20:09:33,170 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1776 [2020-10-19 20:09:33,170 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:33,171 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:33,171 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:33,171 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:33,172 INFO L794 eck$LassoCheckResult]: Stem: 20996#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 20884#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 20885#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 20948#L250 assume !(1 == ~q_req_up~0); 21004#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 20934#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 20935#L270-1 assume !(0 == ~q_read_ev~0); 20986#L303-1 assume !(0 == ~q_write_ev~0); 20992#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 20964#L58 assume !(1 == ~p_dw_pc~0); 20965#L58-2 assume !(2 == ~p_dw_pc~0); 20987#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 21014#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 20967#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 20968#L379 assume !(0 != activate_threads_~tmp~1); 21015#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 20897#L87 assume !(1 == ~c_dr_pc~0); 20886#L87-2 assume !(2 == ~c_dr_pc~0); 20887#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 20952#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 20898#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 20872#L387 assume !(0 != activate_threads_~tmp___0~1); 20873#L387-2 assume !(1 == ~q_read_ev~0); 20878#L321-1 assume !(1 == ~q_write_ev~0); 20883#L483-1 [2020-10-19 20:09:33,172 INFO L796 eck$LassoCheckResult]: Loop: 20883#L483-1 assume !false; 22601#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 22403#L427 assume !false; 21668#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 21667#L283 assume !(0 == ~p_dw_st~0); 21665#L287 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 21664#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 21663#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 21660#L407 assume !(0 != eval_~tmp___1~0); 21662#L443 start_simulation_~kernel_st~0 := 2; 21656#L250-2 assume !(1 == ~q_req_up~0); 21657#L250-3 start_simulation_~kernel_st~0 := 3; 22550#L303-2 assume !(0 == ~q_read_ev~0); 21652#L303-4 assume !(0 == ~q_write_ev~0); 21650#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 21651#L58-3 assume !(1 == ~p_dw_pc~0); 20979#L58-5 assume !(2 == ~p_dw_pc~0); 20980#L68-3 is_do_write_p_triggered_~__retres1~0 := 0; 21035#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 21036#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 21016#L379-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 21017#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 21023#L87-3 assume !(1 == ~c_dr_pc~0); 21021#L87-5 assume !(2 == ~c_dr_pc~0); 21022#L97-3 is_do_read_c_triggered_~__retres1~1 := 0; 22668#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 20896#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 20881#L387-3 assume !(0 != activate_threads_~tmp___0~1); 20882#L387-5 assume !(1 == ~q_read_ev~0); 21028#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 21029#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 22642#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 22640#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 22638#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 20928#L502 assume !(0 == start_simulation_~tmp~4); 20930#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 21010#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 20932#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 20943#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 20977#L457 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 20978#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 22603#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 22602#L515 assume !(0 != start_simulation_~tmp___0~3); 20883#L483-1 [2020-10-19 20:09:33,172 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,173 INFO L82 PathProgramCache]: Analyzing trace with hash 1480396746, now seen corresponding path program 3 times [2020-10-19 20:09:33,173 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,173 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [382338017] [2020-10-19 20:09:33,173 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,195 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,196 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,206 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,207 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,224 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:33,225 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,226 INFO L82 PathProgramCache]: Analyzing trace with hash -1150447748, now seen corresponding path program 1 times [2020-10-19 20:09:33,226 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,227 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1704012365] [2020-10-19 20:09:33,227 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,238 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:33,324 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-19 20:09:33,325 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1704012365] [2020-10-19 20:09:33,326 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:33,326 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:33,326 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1690267911] [2020-10-19 20:09:33,327 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:33,327 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:33,327 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:33,328 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:33,328 INFO L87 Difference]: Start difference. First operand 1806 states and 2543 transitions. cyclomatic complexity: 741 Second operand 5 states. [2020-10-19 20:09:33,428 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:33,429 INFO L93 Difference]: Finished difference Result 4256 states and 5966 transitions. [2020-10-19 20:09:33,429 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-19 20:09:33,429 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 4256 states and 5966 transitions. [2020-10-19 20:09:33,452 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 4222 [2020-10-19 20:09:33,495 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 4256 states to 4256 states and 5966 transitions. [2020-10-19 20:09:33,498 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 4256 [2020-10-19 20:09:33,503 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 4256 [2020-10-19 20:09:33,503 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4256 states and 5966 transitions. [2020-10-19 20:09:33,513 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:33,513 INFO L691 BuchiCegarLoop]: Abstraction has 4256 states and 5966 transitions. [2020-10-19 20:09:33,517 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 4256 states and 5966 transitions. [2020-10-19 20:09:33,560 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 4256 to 1884. [2020-10-19 20:09:33,561 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1884 states. [2020-10-19 20:09:33,566 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1884 states to 1884 states and 2604 transitions. [2020-10-19 20:09:33,567 INFO L714 BuchiCegarLoop]: Abstraction has 1884 states and 2604 transitions. [2020-10-19 20:09:33,567 INFO L594 BuchiCegarLoop]: Abstraction has 1884 states and 2604 transitions. [2020-10-19 20:09:33,568 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-10-19 20:09:33,570 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1884 states and 2604 transitions. [2020-10-19 20:09:33,577 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1854 [2020-10-19 20:09:33,577 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:33,577 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:33,578 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:33,578 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:33,579 INFO L794 eck$LassoCheckResult]: Stem: 27065#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 26959#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 26960#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 27020#L250 assume !(1 == ~q_req_up~0); 27075#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 27007#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 27008#L270-1 assume !(0 == ~q_read_ev~0); 27054#L303-1 assume !(0 == ~q_write_ev~0); 27060#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 27035#L58 assume !(1 == ~p_dw_pc~0); 27036#L58-2 assume !(2 == ~p_dw_pc~0); 27055#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 27085#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 27038#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 27039#L379 assume !(0 != activate_threads_~tmp~1); 27086#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 26972#L87 assume !(1 == ~c_dr_pc~0); 26961#L87-2 assume !(2 == ~c_dr_pc~0); 26962#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 27024#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 26973#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 26947#L387 assume !(0 != activate_threads_~tmp___0~1); 26948#L387-2 assume !(1 == ~q_read_ev~0); 26953#L321-1 assume !(1 == ~q_write_ev~0); 26958#L483-1 [2020-10-19 20:09:33,579 INFO L796 eck$LassoCheckResult]: Loop: 26958#L483-1 assume !false; 27175#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 27160#L427 assume !false; 27174#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 27173#L283 assume !(0 == ~p_dw_st~0); 27172#L287 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 27171#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 27169#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 27166#L407 assume !(0 != eval_~tmp___1~0); 27167#L443 start_simulation_~kernel_st~0 := 2; 27230#L250-2 assume !(1 == ~q_req_up~0); 27229#L250-3 start_simulation_~kernel_st~0 := 3; 27228#L303-2 assume !(0 == ~q_read_ev~0); 27227#L303-4 assume !(0 == ~q_write_ev~0); 27226#L308-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 27225#L58-3 assume !(1 == ~p_dw_pc~0); 27224#L58-5 assume !(2 == ~p_dw_pc~0); 27223#L68-3 is_do_write_p_triggered_~__retres1~0 := 0; 27222#L79-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 27221#L80-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 27219#L379-3 assume !(0 != activate_threads_~tmp~1); 27217#L379-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 27215#L87-3 assume !(1 == ~c_dr_pc~0); 27213#L87-5 assume !(2 == ~c_dr_pc~0); 27211#L97-3 is_do_read_c_triggered_~__retres1~1 := 0; 27209#L108-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 27207#L109-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 27205#L387-3 assume !(0 != activate_threads_~tmp___0~1); 27203#L387-5 assume !(1 == ~q_read_ev~0); 27201#L321-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 27199#L326-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 27196#L283-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 27194#L295-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 27192#L296-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 27189#L502 assume !(0 == start_simulation_~tmp~4); 27187#L502-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 27186#L283-2 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 27184#L295-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 27182#L296-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 27180#L457 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 27178#L464 stop_simulation_#res := stop_simulation_~__retres2~0; 27177#L465 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~3 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 27176#L515 assume !(0 != start_simulation_~tmp___0~3); 26958#L483-1 [2020-10-19 20:09:33,580 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,580 INFO L82 PathProgramCache]: Analyzing trace with hash 1480396746, now seen corresponding path program 4 times [2020-10-19 20:09:33,580 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,581 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [244411515] [2020-10-19 20:09:33,582 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,592 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,593 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,602 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,603 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,613 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:33,615 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,615 INFO L82 PathProgramCache]: Analyzing trace with hash 1339081214, now seen corresponding path program 1 times [2020-10-19 20:09:33,615 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,616 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1669505865] [2020-10-19 20:09:33,616 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:33,643 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-19 20:09:33,644 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1669505865] [2020-10-19 20:09:33,644 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:33,644 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:33,644 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [149811120] [2020-10-19 20:09:33,645 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:33,645 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:33,646 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:33,646 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:33,646 INFO L87 Difference]: Start difference. First operand 1884 states and 2604 transitions. cyclomatic complexity: 724 Second operand 3 states. [2020-10-19 20:09:33,685 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:33,686 INFO L93 Difference]: Finished difference Result 2893 states and 3910 transitions. [2020-10-19 20:09:33,686 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:33,687 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2893 states and 3910 transitions. [2020-10-19 20:09:33,701 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2858 [2020-10-19 20:09:33,716 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2893 states to 2893 states and 3910 transitions. [2020-10-19 20:09:33,716 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2893 [2020-10-19 20:09:33,719 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2893 [2020-10-19 20:09:33,720 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2893 states and 3910 transitions. [2020-10-19 20:09:33,723 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:33,723 INFO L691 BuchiCegarLoop]: Abstraction has 2893 states and 3910 transitions. [2020-10-19 20:09:33,725 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2893 states and 3910 transitions. [2020-10-19 20:09:33,763 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2893 to 2893. [2020-10-19 20:09:33,764 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2893 states. [2020-10-19 20:09:33,772 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2893 states to 2893 states and 3910 transitions. [2020-10-19 20:09:33,772 INFO L714 BuchiCegarLoop]: Abstraction has 2893 states and 3910 transitions. [2020-10-19 20:09:33,772 INFO L594 BuchiCegarLoop]: Abstraction has 2893 states and 3910 transitions. [2020-10-19 20:09:33,772 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-10-19 20:09:33,772 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2893 states and 3910 transitions. [2020-10-19 20:09:33,784 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2858 [2020-10-19 20:09:33,784 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:33,784 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:33,785 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:33,785 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:33,785 INFO L794 eck$LassoCheckResult]: Stem: 31848#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 31742#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 31743#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 31805#L250 assume !(1 == ~q_req_up~0); 31858#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 31792#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 31793#L270-1 assume !(0 == ~q_read_ev~0); 31840#L303-1 assume !(0 == ~q_write_ev~0); 31843#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 31821#L58 assume !(1 == ~p_dw_pc~0); 31822#L58-2 assume !(2 == ~p_dw_pc~0); 31842#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 31869#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 31823#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 31824#L379 assume !(0 != activate_threads_~tmp~1); 31872#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 31755#L87 assume !(1 == ~c_dr_pc~0); 31744#L87-2 assume !(2 == ~c_dr_pc~0); 31745#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 31809#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 31756#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 31730#L387 assume !(0 != activate_threads_~tmp___0~1); 31731#L387-2 assume !(1 == ~q_read_ev~0); 31736#L321-1 assume !(1 == ~q_write_ev~0); 31739#L483-1 assume !false; 34096#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 34023#L427 [2020-10-19 20:09:33,785 INFO L796 eck$LassoCheckResult]: Loop: 34023#L427 assume !false; 34089#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 34084#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 34080#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 34067#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 34064#L407 assume 0 != eval_~tmp___1~0; 34060#L407-1 assume 0 == ~p_dw_st~0;eval_~tmp~2 := eval_#t~nondet13;havoc eval_#t~nondet13; 31829#L416 assume !(0 != eval_~tmp~2); 31830#L412 assume !(0 == ~c_dr_st~0); 34023#L427 [2020-10-19 20:09:33,785 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,786 INFO L82 PathProgramCache]: Analyzing trace with hash 1027102476, now seen corresponding path program 1 times [2020-10-19 20:09:33,786 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,786 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1993065710] [2020-10-19 20:09:33,786 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,794 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,801 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,801 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,808 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:33,809 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,809 INFO L82 PathProgramCache]: Analyzing trace with hash 1127629257, now seen corresponding path program 1 times [2020-10-19 20:09:33,809 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,810 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1056061057] [2020-10-19 20:09:33,810 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,813 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,814 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:33,816 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:33,819 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:33,819 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:33,819 INFO L82 PathProgramCache]: Analyzing trace with hash -644372706, now seen corresponding path program 1 times [2020-10-19 20:09:33,819 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:33,820 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [852971046] [2020-10-19 20:09:33,820 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:33,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:33,848 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-19 20:09:33,849 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [852971046] [2020-10-19 20:09:33,849 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:33,849 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 20:09:33,850 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [638306033] [2020-10-19 20:09:33,921 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:33,922 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:33,922 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:33,922 INFO L87 Difference]: Start difference. First operand 2893 states and 3910 transitions. cyclomatic complexity: 1024 Second operand 3 states. [2020-10-19 20:09:34,054 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:34,054 INFO L93 Difference]: Finished difference Result 4193 states and 5650 transitions. [2020-10-19 20:09:34,055 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:34,055 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 4193 states and 5650 transitions. [2020-10-19 20:09:34,079 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 4159 [2020-10-19 20:09:34,112 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 4193 states to 4193 states and 5650 transitions. [2020-10-19 20:09:34,113 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 4193 [2020-10-19 20:09:34,117 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 4193 [2020-10-19 20:09:34,118 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4193 states and 5650 transitions. [2020-10-19 20:09:34,124 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:34,124 INFO L691 BuchiCegarLoop]: Abstraction has 4193 states and 5650 transitions. [2020-10-19 20:09:34,128 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 4193 states and 5650 transitions. [2020-10-19 20:09:34,192 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 4193 to 3691. [2020-10-19 20:09:34,192 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3691 states. [2020-10-19 20:09:34,202 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3691 states to 3691 states and 5011 transitions. [2020-10-19 20:09:34,203 INFO L714 BuchiCegarLoop]: Abstraction has 3691 states and 5011 transitions. [2020-10-19 20:09:34,203 INFO L594 BuchiCegarLoop]: Abstraction has 3691 states and 5011 transitions. [2020-10-19 20:09:34,203 INFO L427 BuchiCegarLoop]: ======== Iteration 12============ [2020-10-19 20:09:34,203 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3691 states and 5011 transitions. [2020-10-19 20:09:34,218 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 3657 [2020-10-19 20:09:34,221 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:34,221 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:34,222 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:34,223 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:34,223 INFO L794 eck$LassoCheckResult]: Stem: 38944#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(17);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~fast_clk_edge~0 := 0;~slow_clk_edge~0 := 0;~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0;~t~0 := 0; 38837#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~fast_clk_edge~0 := 2;~slow_clk_edge~0 := 2;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 38838#L543 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~4, start_simulation_~tmp___0~3;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;havoc start_simulation_~tmp___0~3;start_simulation_~kernel_st~0 := 0; 38900#L250 assume !(1 == ~q_req_up~0); 38953#L250-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 38885#L265-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 38886#L270-1 assume !(0 == ~q_read_ev~0); 38935#L303-1 assume !(0 == ~q_write_ev~0); 38939#L308-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 38915#L58 assume !(1 == ~p_dw_pc~0); 38916#L58-2 assume !(2 == ~p_dw_pc~0); 38938#L68-1 is_do_write_p_triggered_~__retres1~0 := 0; 38962#L79 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 38917#L80 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 38918#L379 assume !(0 != activate_threads_~tmp~1); 38964#L379-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 38850#L87 assume !(1 == ~c_dr_pc~0); 38839#L87-2 assume !(2 == ~c_dr_pc~0); 38840#L97-1 is_do_read_c_triggered_~__retres1~1 := 0; 38906#L108 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 38851#L109 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 38824#L387 assume !(0 != activate_threads_~tmp___0~1); 38825#L387-2 assume !(1 == ~q_read_ev~0); 38830#L321-1 assume !(1 == ~q_write_ev~0); 38833#L483-1 assume !false; 39686#L484 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 39684#L427 [2020-10-19 20:09:34,223 INFO L796 eck$LassoCheckResult]: Loop: 39684#L427 assume !false; 39681#L403 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 39677#L283 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 39674#L295 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 39672#L296 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 39667#L407 assume 0 != eval_~tmp___1~0; 39662#L407-1 assume 0 == ~p_dw_st~0;eval_~tmp~2 := eval_#t~nondet13;havoc eval_#t~nondet13; 39657#L416 assume !(0 != eval_~tmp~2); 39658#L412 assume 0 == ~c_dr_st~0;eval_~tmp___0~2 := eval_#t~nondet14;havoc eval_#t~nondet14; 39687#L431 assume !(0 != eval_~tmp___0~2); 39684#L427 [2020-10-19 20:09:34,223 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:34,224 INFO L82 PathProgramCache]: Analyzing trace with hash 1027102476, now seen corresponding path program 2 times [2020-10-19 20:09:34,224 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:34,224 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1732577203] [2020-10-19 20:09:34,224 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:34,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:34,234 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:34,241 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:34,241 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:34,247 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:34,248 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:34,248 INFO L82 PathProgramCache]: Analyzing trace with hash 596766935, now seen corresponding path program 1 times [2020-10-19 20:09:34,248 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:34,249 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1063718390] [2020-10-19 20:09:34,249 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:34,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:34,254 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:34,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:34,259 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:34,260 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:34,263 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:34,263 INFO L82 PathProgramCache]: Analyzing trace with hash 1499280930, now seen corresponding path program 1 times [2020-10-19 20:09:34,263 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:34,263 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1206006645] [2020-10-19 20:09:34,264 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:34,280 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:34,280 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:34,289 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:34,289 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:34,298 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:35,054 WARN L193 SmtUtils]: Spent 684.00 ms on a formula simplification. DAG size of input: 159 DAG size of output: 133 [2020-10-19 20:09:35,322 WARN L193 SmtUtils]: Spent 242.00 ms on a formula simplification that was a NOOP. DAG size: 105 [2020-10-19 20:09:35,383 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 08:09:35 BoogieIcfgContainer [2020-10-19 20:09:35,384 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 20:09:35,384 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 20:09:35,384 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 20:09:35,385 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 20:09:35,386 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:09:30" (3/4) ... [2020-10-19 20:09:35,390 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-19 20:09:35,503 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-19 20:09:35,506 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 20:09:35,508 INFO L168 Benchmark]: Toolchain (without parser) took 6532.66 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 317.7 MB). Free memory was 953.3 MB in the beginning and 1.3 GB in the end (delta: -345.5 MB). There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:09:35,509 INFO L168 Benchmark]: CDTParser took 0.26 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:09:35,509 INFO L168 Benchmark]: CACSL2BoogieTranslator took 489.98 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.8 MB). Free memory was 953.3 MB in the beginning and 1.1 GB in the end (delta: -181.7 MB). Peak memory consumption was 25.9 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:35,509 INFO L168 Benchmark]: Boogie Procedure Inliner took 88.76 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:09:35,510 INFO L168 Benchmark]: Boogie Preprocessor took 62.05 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:35,510 INFO L168 Benchmark]: RCFGBuilder took 740.86 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 38.1 MB). Peak memory consumption was 38.1 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:35,511 INFO L168 Benchmark]: BuchiAutomizer took 5017.30 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 172.0 MB). Free memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: -215.3 MB). Peak memory consumption was 346.7 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:35,511 INFO L168 Benchmark]: Witness Printer took 122.42 ms. Allocated memory is still 1.3 GB. Free memory is still 1.3 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:09:35,513 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.26 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 489.98 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.8 MB). Free memory was 953.3 MB in the beginning and 1.1 GB in the end (delta: -181.7 MB). Peak memory consumption was 25.9 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 88.76 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 62.05 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. * RCFGBuilder took 740.86 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 38.1 MB). Peak memory consumption was 38.1 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 5017.30 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 172.0 MB). Free memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: -215.3 MB). Peak memory consumption was 346.7 MB. Max. memory is 11.5 GB. * Witness Printer took 122.42 ms. Allocated memory is still 1.3 GB. Free memory is still 1.3 GB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 11 terminating modules (11 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.11 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 3691 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.9s and 12 iterations. TraceHistogramMax:1. Analysis of lassos took 2.4s. Construction of modules took 0.6s. Büchi inclusion checks took 0.5s. Highest rank in rank-based complementation 0. Minimization of det autom 11. Minimization of nondet autom 0. Automata minimization 0.4s AutomataMinimizationTime, 11 MinimizatonAttempts, 8113 StatesRemovedByMinimization, 7 NontrivialMinimizations. Non-live state removal took 0.4s Buchi closure took 0.0s. Biggest automaton had 3691 states and ocurred in iteration 11. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 2157 SDtfs, 3669 SDslu, 3394 SDs, 0 SdLazy, 395 SolverSat, 122 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.6s Time LassoAnalysisResults: nont1 unkn0 SFLI4 SFLT0 conc1 concLT0 SILN0 SILU0 SILI6 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 402]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=1} State at position 1 is {a_t=0, NULL=0, NULL=1, c_num_read=0, tmp=0, kernel_st=1, q_read_ev=2, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6b2df6e=0, p_dw_pc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@66344c7=0, NULL=0, NULL=0, q_free=1, fast_clk_edge=2, __retres1=0, tmp___0=0, q_ev=0, slow_clk_edge=2, tmp___0=0, NULL=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6102a864=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2822fbfa=0, tmp=0, __retres1=0, p_last_write=0, c_dr_i=1, c_dr_pc=0, NULL=4, \result=0, \result=0, c_dr_st=0, p_dw_i=1, tmp___1=1, q_req_up=0, q_write_ev=2, __retres1=1, NULL=2, t=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1ec99287=0, NULL=0, NULL=3, p_dw_st=0, \result=0, c_last_read=0, q_buf_0=0, p_num_write=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@71594b8b=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@b501ccd=0, \result=1} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 402]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L16] int fast_clk_edge ; [L17] int slow_clk_edge ; [L18] int q_buf_0 ; [L19] int q_free ; [L20] int q_read_ev ; [L21] int q_write_ev ; [L22] int q_req_up ; [L23] int q_ev ; [L44] int p_num_write ; [L45] int p_last_write ; [L46] int p_dw_st ; [L47] int p_dw_pc ; [L48] int p_dw_i ; [L49] int c_num_read ; [L50] int c_last_read ; [L51] int c_dr_st ; [L52] int c_dr_pc ; [L53] int c_dr_i ; [L186] static int a_t ; [L336] static int t = 0; [L547] int __retres1 ; [L531] fast_clk_edge = 2 [L532] slow_clk_edge = 2 [L533] q_free = 1 [L534] q_write_ev = 2 [L535] q_read_ev = q_write_ev [L536] p_num_write = 0 [L537] p_dw_pc = 0 [L538] p_dw_i = 1 [L539] c_num_read = 0 [L540] c_dr_pc = 0 [L541] c_dr_i = 1 [L469] int kernel_st ; [L470] int tmp ; [L471] int tmp___0 ; [L475] kernel_st = 0 [L250] COND FALSE !((int )q_req_up == 1) [L265] COND TRUE (int )p_dw_i == 1 [L266] p_dw_st = 0 [L270] COND TRUE (int )c_dr_i == 1 [L271] c_dr_st = 0 [L303] COND FALSE !((int )q_read_ev == 0) [L308] COND FALSE !((int )q_write_ev == 0) [L372] int tmp ; [L373] int tmp___0 ; [L55] int __retres1 ; [L58] COND FALSE !((int )p_dw_pc == 1) [L68] COND FALSE !((int )p_dw_pc == 2) [L78] __retres1 = 0 [L80] return (__retres1); [L377] tmp = is_do_write_p_triggered() [L379] COND FALSE !(\read(tmp)) [L84] int __retres1 ; [L87] COND FALSE !((int )c_dr_pc == 1) [L97] COND FALSE !((int )c_dr_pc == 2) [L107] __retres1 = 0 [L109] return (__retres1); [L385] tmp___0 = is_do_read_c_triggered() [L387] COND FALSE !(\read(tmp___0)) [L321] COND FALSE !((int )q_read_ev == 1) [L326] COND FALSE !((int )q_write_ev == 1) [L483] COND TRUE 1 [L486] kernel_st = 1 [L397] int tmp ; [L398] int tmp___0 ; [L399] int tmp___1 ; Loop: [L402] COND TRUE 1 [L280] int __retres1 ; [L283] COND TRUE (int )p_dw_st == 0 [L284] __retres1 = 1 [L296] return (__retres1); [L405] tmp___1 = exists_runnable_thread() [L407] COND TRUE \read(tmp___1) [L412] COND TRUE (int )p_dw_st == 0 [L414] tmp = __VERIFIER_nondet_int() [L416] COND FALSE !(\read(tmp)) [L427] COND TRUE (int )c_dr_st == 0 [L429] tmp___0 = __VERIFIER_nondet_int() [L431] COND FALSE !(\read(tmp___0)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...