./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 9a8b2e8d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -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_2.cil-1.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 e6d225bacde2ff4b43f974edb4824451ea41bcc5 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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-9a8b2e8 [2020-10-20 08:02:22,219 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-20 08:02:22,221 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-20 08:02:22,251 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-20 08:02:22,252 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-20 08:02:22,255 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-20 08:02:22,257 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-20 08:02:22,260 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-20 08:02:22,266 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-20 08:02:22,267 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-20 08:02:22,268 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-20 08:02:22,271 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-20 08:02:22,273 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-20 08:02:22,274 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-20 08:02:22,276 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-20 08:02:22,277 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-20 08:02:22,279 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-20 08:02:22,282 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-20 08:02:22,283 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-20 08:02:22,286 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-20 08:02:22,298 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-20 08:02:22,301 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-20 08:02:22,302 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-20 08:02:22,304 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-20 08:02:22,308 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-20 08:02:22,309 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-20 08:02:22,311 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-20 08:02:22,312 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-20 08:02:22,312 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-20 08:02:22,313 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-20 08:02:22,313 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-20 08:02:22,314 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-20 08:02:22,319 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-20 08:02:22,319 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-20 08:02:22,320 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-20 08:02:22,321 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-20 08:02:22,326 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-20 08:02:22,326 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-20 08:02:22,326 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-20 08:02:22,327 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-20 08:02:22,327 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-20 08:02:22,331 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-20 08:02:22,380 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-20 08:02:22,380 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-20 08:02:22,382 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-20 08:02:22,382 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-20 08:02:22,383 INFO L138 SettingsManager]: * Use SBE=true [2020-10-20 08:02:22,383 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-20 08:02:22,383 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-20 08:02:22,384 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-20 08:02:22,384 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-20 08:02:22,384 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-20 08:02:22,385 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-20 08:02:22,386 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-20 08:02:22,386 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-20 08:02:22,386 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-20 08:02:22,387 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-20 08:02:22,388 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-20 08:02:22,388 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-20 08:02:22,389 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-20 08:02:22,389 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-20 08:02:22,389 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-20 08:02:22,390 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-20 08:02:22,390 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-20 08:02:22,390 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-20 08:02:22,390 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-20 08:02:22,391 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-20 08:02:22,391 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-20 08:02:22,391 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-20 08:02:22,391 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-20 08:02:22,392 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-20 08:02:22,392 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-20 08:02:22,392 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-20 08:02:22,393 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-20 08:02:22,394 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-20 08:02:22,395 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 -> e6d225bacde2ff4b43f974edb4824451ea41bcc5 [2020-10-20 08:02:22,603 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-20 08:02:22,623 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-20 08:02:22,628 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-20 08:02:22,631 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-20 08:02:22,633 INFO L275 PluginConnector]: CDTParser initialized [2020-10-20 08:02:22,634 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c [2020-10-20 08:02:22,691 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f3bfae376/f56943513f6d469292149ef43f226729/FLAGf20c3adfd [2020-10-20 08:02:23,161 INFO L306 CDTParser]: Found 1 translation units. [2020-10-20 08:02:23,163 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c [2020-10-20 08:02:23,179 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f3bfae376/f56943513f6d469292149ef43f226729/FLAGf20c3adfd [2020-10-20 08:02:23,505 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f3bfae376/f56943513f6d469292149ef43f226729 [2020-10-20 08:02:23,508 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-20 08:02:23,516 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-20 08:02:23,517 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-20 08:02:23,517 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-20 08:02:23,521 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-20 08:02:23,522 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 08:02:23" (1/1) ... [2020-10-20 08:02:23,525 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2ff30fc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:23, skipping insertion in model container [2020-10-20 08:02:23,525 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 08:02:23" (1/1) ... [2020-10-20 08:02:23,534 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-20 08:02:23,586 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-20 08:02:23,964 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 08:02:23,980 INFO L203 MainTranslator]: Completed pre-run [2020-10-20 08:02:24,020 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 08:02:24,045 INFO L208 MainTranslator]: Completed translation [2020-10-20 08:02:24,046 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24 WrapperNode [2020-10-20 08:02:24,046 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-20 08:02:24,047 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-20 08:02:24,047 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-20 08:02:24,047 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-20 08:02:24,055 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,064 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,097 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-20 08:02:24,098 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-20 08:02:24,098 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-20 08:02:24,098 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-20 08:02:24,109 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,109 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,112 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,113 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,119 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,127 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,129 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (1/1) ... [2020-10-20 08:02:24,133 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-20 08:02:24,134 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-20 08:02:24,134 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-20 08:02:24,134 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-20 08:02:24,135 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (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-20 08:02:24,227 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-20 08:02:24,227 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-20 08:02:24,227 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-20 08:02:24,227 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-20 08:02:24,687 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-20 08:02:24,688 INFO L298 CfgBuilder]: Removed 62 assume(true) statements. [2020-10-20 08:02:24,690 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 08:02:24 BoogieIcfgContainer [2020-10-20 08:02:24,690 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-20 08:02:24,691 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-20 08:02:24,691 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-20 08:02:24,695 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-20 08:02:24,696 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 08:02:24,696 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 20.10 08:02:23" (1/3) ... [2020-10-20 08:02:24,697 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@186479c4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 20.10 08:02:24, skipping insertion in model container [2020-10-20 08:02:24,697 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 08:02:24,697 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:24" (2/3) ... [2020-10-20 08:02:24,698 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@186479c4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 20.10 08:02:24, skipping insertion in model container [2020-10-20 08:02:24,698 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 08:02:24,698 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 08:02:24" (3/3) ... [2020-10-20 08:02:24,700 INFO L373 chiAutomizerObserver]: Analyzing ICFG pc_sfifo_2.cil-1.c [2020-10-20 08:02:24,750 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-20 08:02:24,750 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-20 08:02:24,751 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-20 08:02:24,751 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-20 08:02:24,751 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-20 08:02:24,751 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-20 08:02:24,752 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-20 08:02:24,752 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-20 08:02:24,779 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 94 states. [2020-10-20 08:02:24,804 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 63 [2020-10-20 08:02:24,804 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:24,804 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:24,814 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-20 08:02:24,814 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] [2020-10-20 08:02:24,814 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-20 08:02:24,815 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 94 states. [2020-10-20 08:02:24,823 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 63 [2020-10-20 08:02:24,823 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:24,823 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:24,825 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-20 08:02:24,825 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] [2020-10-20 08:02:24,834 INFO L794 eck$LassoCheckResult]: Stem: 42#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 14#L-1true havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 46#L454true havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 84#L214true assume !(1 == ~q_req_up~0); 83#L214-1true assume !(1 == ~p_dw_i~0);~p_dw_st~0 := 2; 95#L229-1true assume !(1 == ~c_dr_i~0);~c_dr_st~0 := 2; 11#L234-1true assume !(0 == ~q_read_ev~0); 41#L267-1true assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 53#L272-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; 94#L57true assume 1 == ~p_dw_pc~0; 3#L58true assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 96#L68true is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 5#L69true activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 17#L307true assume !(0 != activate_threads_~tmp~1); 22#L307-2true havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 19#L76true assume !(1 == ~c_dr_pc~0); 16#L76-2true is_do_read_c_triggered_~__retres1~1 := 0; 20#L87true is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 48#L88true activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 49#L315true assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 36#L315-2true assume !(1 == ~q_read_ev~0); 7#L285-1true assume !(1 == ~q_write_ev~0); 74#L411-1true [2020-10-20 08:02:24,835 INFO L796 eck$LassoCheckResult]: Loop: 74#L411-1true assume !false; 90#L412true 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; 54#L356true assume false; 82#L372true start_simulation_~kernel_st~0 := 2; 60#L214-2true assume !(1 == ~q_req_up~0); 58#L214-3true start_simulation_~kernel_st~0 := 3; 12#L267-2true assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 9#L267-4true assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 70#L272-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; 85#L57-3true assume 1 == ~p_dw_pc~0; 32#L58-1true assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 93#L68-1true is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 34#L69-1true activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 30#L307-3true assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 6#L307-5true havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 81#L76-3true assume 1 == ~c_dr_pc~0; 44#L77-1true assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 18#L87-1true is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 45#L88-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; 38#L315-3true assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 40#L315-5true assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 4#L285-3true assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 63#L290-3true 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; 86#L247-1true assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 25#L259-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 50#L260-1true stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 78#L386true assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 64#L393true stop_simulation_#res := stop_simulation_~__retres2~0; 13#L394true start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 39#L428true assume !(0 != start_simulation_~tmp~4); 74#L411-1true [2020-10-20 08:02:24,841 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:24,842 INFO L82 PathProgramCache]: Analyzing trace with hash 1146955365, now seen corresponding path program 1 times [2020-10-20 08:02:24,853 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:24,853 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2047552448] [2020-10-20 08:02:24,853 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:24,961 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,036 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-20 08:02:25,037 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2047552448] [2020-10-20 08:02:25,038 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,038 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:25,039 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1327129477] [2020-10-20 08:02:25,044 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:25,045 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,045 INFO L82 PathProgramCache]: Analyzing trace with hash -1018074234, now seen corresponding path program 1 times [2020-10-20 08:02:25,045 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,046 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [686425855] [2020-10-20 08:02:25,046 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,053 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,061 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-20 08:02:25,061 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [686425855] [2020-10-20 08:02:25,062 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,062 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-20 08:02:25,062 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [17308356] [2020-10-20 08:02:25,064 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:25,065 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:25,079 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:25,080 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:25,082 INFO L87 Difference]: Start difference. First operand 94 states. Second operand 3 states. [2020-10-20 08:02:25,128 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:25,128 INFO L93 Difference]: Finished difference Result 92 states and 135 transitions. [2020-10-20 08:02:25,129 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:25,131 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 92 states and 135 transitions. [2020-10-20 08:02:25,135 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2020-10-20 08:02:25,141 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 92 states to 86 states and 129 transitions. [2020-10-20 08:02:25,142 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 86 [2020-10-20 08:02:25,143 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 86 [2020-10-20 08:02:25,146 INFO L73 IsDeterministic]: Start isDeterministic. Operand 86 states and 129 transitions. [2020-10-20 08:02:25,147 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:25,147 INFO L691 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2020-10-20 08:02:25,164 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 86 states and 129 transitions. [2020-10-20 08:02:25,176 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 86 to 86. [2020-10-20 08:02:25,177 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 86 states. [2020-10-20 08:02:25,179 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 86 states to 86 states and 129 transitions. [2020-10-20 08:02:25,180 INFO L714 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2020-10-20 08:02:25,181 INFO L594 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2020-10-20 08:02:25,181 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-20 08:02:25,181 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 86 states and 129 transitions. [2020-10-20 08:02:25,183 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2020-10-20 08:02:25,183 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:25,183 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:25,185 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-20 08:02:25,185 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-20 08:02:25,185 INFO L794 eck$LassoCheckResult]: Stem: 255#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 217#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 218#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 259#L214 assume !(1 == ~q_req_up~0); 220#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 280#L229-1 assume !(1 == ~c_dr_i~0);~c_dr_st~0 := 2; 215#L234-1 assume !(0 == ~q_read_ev~0); 216#L267-1 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 254#L272-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; 264#L57 assume 1 == ~p_dw_pc~0; 197#L58 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 198#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 202#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 203#L307 assume !(0 != activate_threads_~tmp~1); 223#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 226#L76 assume !(1 == ~c_dr_pc~0); 221#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 222#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 228#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 260#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 250#L315-2 assume !(1 == ~q_read_ev~0); 204#L285-1 assume !(1 == ~q_write_ev~0); 205#L411-1 [2020-10-20 08:02:25,186 INFO L796 eck$LassoCheckResult]: Loop: 205#L411-1 assume !false; 277#L412 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; 263#L356 assume !false; 206#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 207#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 235#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 236#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 237#L336 assume !(0 != eval_~tmp___1~0); 239#L372 start_simulation_~kernel_st~0 := 2; 269#L214-2 assume !(1 == ~q_req_up~0); 267#L214-3 start_simulation_~kernel_st~0 := 3; 212#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 208#L267-4 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 209#L272-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; 276#L57-3 assume 1 == ~p_dw_pc~0; 241#L58-1 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 242#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 249#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 240#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 200#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 201#L76-3 assume 1 == ~c_dr_pc~0; 257#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 224#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 225#L88-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; 252#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 253#L315-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 195#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 196#L290-3 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; 271#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 231#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 232#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 261#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 272#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 213#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 214#L428 assume !(0 != start_simulation_~tmp~4); 205#L411-1 [2020-10-20 08:02:25,186 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,186 INFO L82 PathProgramCache]: Analyzing trace with hash -1153867225, now seen corresponding path program 1 times [2020-10-20 08:02:25,186 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,187 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [292097466] [2020-10-20 08:02:25,187 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,254 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-20 08:02:25,254 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [292097466] [2020-10-20 08:02:25,254 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,255 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:25,255 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [904203342] [2020-10-20 08:02:25,255 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:25,255 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,256 INFO L82 PathProgramCache]: Analyzing trace with hash 2012723057, now seen corresponding path program 1 times [2020-10-20 08:02:25,256 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,256 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [813774678] [2020-10-20 08:02:25,259 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,290 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,355 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-20 08:02:25,356 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [813774678] [2020-10-20 08:02:25,356 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,356 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:25,357 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [74452513] [2020-10-20 08:02:25,357 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:25,358 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:25,358 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:25,358 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:25,358 INFO L87 Difference]: Start difference. First operand 86 states and 129 transitions. cyclomatic complexity: 44 Second operand 3 states. [2020-10-20 08:02:25,373 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:25,373 INFO L93 Difference]: Finished difference Result 86 states and 128 transitions. [2020-10-20 08:02:25,374 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:25,374 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 86 states and 128 transitions. [2020-10-20 08:02:25,377 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2020-10-20 08:02:25,378 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 86 states to 86 states and 128 transitions. [2020-10-20 08:02:25,379 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 86 [2020-10-20 08:02:25,380 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 86 [2020-10-20 08:02:25,380 INFO L73 IsDeterministic]: Start isDeterministic. Operand 86 states and 128 transitions. [2020-10-20 08:02:25,381 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:25,381 INFO L691 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2020-10-20 08:02:25,381 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 86 states and 128 transitions. [2020-10-20 08:02:25,386 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 86 to 86. [2020-10-20 08:02:25,387 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 86 states. [2020-10-20 08:02:25,388 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 86 states to 86 states and 128 transitions. [2020-10-20 08:02:25,388 INFO L714 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2020-10-20 08:02:25,389 INFO L594 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2020-10-20 08:02:25,389 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-20 08:02:25,389 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 86 states and 128 transitions. [2020-10-20 08:02:25,391 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2020-10-20 08:02:25,391 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:25,391 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:25,393 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-20 08:02:25,393 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-20 08:02:25,393 INFO L794 eck$LassoCheckResult]: Stem: 436#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 398#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 399#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 440#L214 assume !(1 == ~q_req_up~0); 401#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 461#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 393#L234-1 assume !(0 == ~q_read_ev~0); 394#L267-1 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 435#L272-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; 444#L57 assume 1 == ~p_dw_pc~0; 376#L58 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 377#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 381#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 382#L307 assume !(0 != activate_threads_~tmp~1); 404#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 407#L76 assume !(1 == ~c_dr_pc~0); 402#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 403#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 409#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 441#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 431#L315-2 assume !(1 == ~q_read_ev~0); 385#L285-1 assume !(1 == ~q_write_ev~0); 386#L411-1 [2020-10-20 08:02:25,394 INFO L796 eck$LassoCheckResult]: Loop: 386#L411-1 assume !false; 458#L412 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; 445#L356 assume !false; 387#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 388#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 416#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 417#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 418#L336 assume !(0 != eval_~tmp___1~0); 420#L372 start_simulation_~kernel_st~0 := 2; 450#L214-2 assume !(1 == ~q_req_up~0); 448#L214-3 start_simulation_~kernel_st~0 := 3; 395#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 389#L267-4 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 390#L272-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; 457#L57-3 assume 1 == ~p_dw_pc~0; 422#L58-1 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 423#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 430#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 421#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 383#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 384#L76-3 assume 1 == ~c_dr_pc~0; 438#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 405#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 406#L88-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; 433#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 434#L315-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 379#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 380#L290-3 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; 452#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 412#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 413#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 442#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 453#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 396#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 397#L428 assume !(0 != start_simulation_~tmp~4); 386#L411-1 [2020-10-20 08:02:25,394 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,394 INFO L82 PathProgramCache]: Analyzing trace with hash 434480677, now seen corresponding path program 1 times [2020-10-20 08:02:25,394 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,395 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [293599241] [2020-10-20 08:02:25,395 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,463 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-20 08:02:25,463 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [293599241] [2020-10-20 08:02:25,463 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,464 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-20 08:02:25,464 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [486976787] [2020-10-20 08:02:25,464 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:25,465 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,465 INFO L82 PathProgramCache]: Analyzing trace with hash 2012723057, now seen corresponding path program 2 times [2020-10-20 08:02:25,465 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,465 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2035534250] [2020-10-20 08:02:25,465 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,507 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-20 08:02:25,507 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2035534250] [2020-10-20 08:02:25,507 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,507 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:25,508 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1496158434] [2020-10-20 08:02:25,508 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:25,509 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:25,509 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-10-20 08:02:25,509 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-10-20 08:02:25,509 INFO L87 Difference]: Start difference. First operand 86 states and 128 transitions. cyclomatic complexity: 43 Second operand 4 states. [2020-10-20 08:02:25,670 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:25,671 INFO L93 Difference]: Finished difference Result 177 states and 258 transitions. [2020-10-20 08:02:25,671 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-20 08:02:25,671 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 177 states and 258 transitions. [2020-10-20 08:02:25,675 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 123 [2020-10-20 08:02:25,677 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 177 states to 177 states and 258 transitions. [2020-10-20 08:02:25,677 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 177 [2020-10-20 08:02:25,678 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 177 [2020-10-20 08:02:25,678 INFO L73 IsDeterministic]: Start isDeterministic. Operand 177 states and 258 transitions. [2020-10-20 08:02:25,679 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:25,680 INFO L691 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2020-10-20 08:02:25,680 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 177 states and 258 transitions. [2020-10-20 08:02:25,691 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 177 to 177. [2020-10-20 08:02:25,691 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 177 states. [2020-10-20 08:02:25,693 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 258 transitions. [2020-10-20 08:02:25,694 INFO L714 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2020-10-20 08:02:25,694 INFO L594 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2020-10-20 08:02:25,694 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-20 08:02:25,694 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 258 transitions. [2020-10-20 08:02:25,696 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 123 [2020-10-20 08:02:25,696 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:25,696 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:25,698 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-20 08:02:25,698 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-20 08:02:25,698 INFO L794 eck$LassoCheckResult]: Stem: 712#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 674#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 675#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 716#L214 assume !(1 == ~q_req_up~0); 748#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 822#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 821#L234-1 assume !(0 == ~q_read_ev~0); 820#L267-1 assume !(0 == ~q_write_ev~0); 819#L272-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; 818#L57 assume 1 == ~p_dw_pc~0; 817#L58 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 815#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 814#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 813#L307 assume !(0 != activate_threads_~tmp~1); 812#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 811#L76 assume !(1 == ~c_dr_pc~0); 810#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 808#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 807#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 805#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 804#L315-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 660#L285-1 assume !(1 == ~q_write_ev~0); 661#L411-1 [2020-10-20 08:02:25,698 INFO L796 eck$LassoCheckResult]: Loop: 661#L411-1 assume !false; 740#L412 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; 720#L356 assume !false; 662#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 663#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 692#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 693#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 694#L336 assume !(0 != eval_~tmp___1~0); 696#L372 start_simulation_~kernel_st~0 := 2; 757#L214-2 assume !(1 == ~q_req_up~0); 756#L214-3 start_simulation_~kernel_st~0 := 3; 755#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 664#L267-4 assume !(0 == ~q_write_ev~0); 665#L272-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; 806#L57-3 assume 1 == ~p_dw_pc~0; 698#L58-1 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 699#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 706#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 697#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 656#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 657#L76-3 assume 1 == ~c_dr_pc~0; 714#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 681#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 682#L88-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; 709#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 710#L315-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 651#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 652#L290-3 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; 729#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 688#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 689#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 718#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 730#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 670#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 671#L428 assume !(0 != start_simulation_~tmp~4); 661#L411-1 [2020-10-20 08:02:25,699 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,699 INFO L82 PathProgramCache]: Analyzing trace with hash -845383063, now seen corresponding path program 1 times [2020-10-20 08:02:25,699 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,699 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1711427557] [2020-10-20 08:02:25,699 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,742 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-20 08:02:25,742 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1711427557] [2020-10-20 08:02:25,743 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,743 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-20 08:02:25,743 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1961106249] [2020-10-20 08:02:25,744 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:25,744 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,744 INFO L82 PathProgramCache]: Analyzing trace with hash 207284723, now seen corresponding path program 1 times [2020-10-20 08:02:25,744 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,744 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [701016374] [2020-10-20 08:02:25,745 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:25,754 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:25,781 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-20 08:02:25,781 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [701016374] [2020-10-20 08:02:25,781 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:25,782 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:25,782 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1104058783] [2020-10-20 08:02:25,782 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:25,782 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:25,783 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:25,783 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:25,783 INFO L87 Difference]: Start difference. First operand 177 states and 258 transitions. cyclomatic complexity: 83 Second operand 5 states. [2020-10-20 08:02:25,917 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:25,917 INFO L93 Difference]: Finished difference Result 582 states and 830 transitions. [2020-10-20 08:02:25,917 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-20 08:02:25,918 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 582 states and 830 transitions. [2020-10-20 08:02:25,923 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 552 [2020-10-20 08:02:25,929 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 582 states to 582 states and 830 transitions. [2020-10-20 08:02:25,930 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 582 [2020-10-20 08:02:25,931 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 582 [2020-10-20 08:02:25,931 INFO L73 IsDeterministic]: Start isDeterministic. Operand 582 states and 830 transitions. [2020-10-20 08:02:25,934 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:25,934 INFO L691 BuchiCegarLoop]: Abstraction has 582 states and 830 transitions. [2020-10-20 08:02:25,935 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 582 states and 830 transitions. [2020-10-20 08:02:25,969 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 582 to 554. [2020-10-20 08:02:25,969 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 554 states. [2020-10-20 08:02:25,976 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 554 states to 554 states and 798 transitions. [2020-10-20 08:02:25,977 INFO L714 BuchiCegarLoop]: Abstraction has 554 states and 798 transitions. [2020-10-20 08:02:25,977 INFO L594 BuchiCegarLoop]: Abstraction has 554 states and 798 transitions. [2020-10-20 08:02:25,977 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-20 08:02:25,977 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 554 states and 798 transitions. [2020-10-20 08:02:25,987 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 528 [2020-10-20 08:02:25,987 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:25,987 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:25,992 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-20 08:02:25,992 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-20 08:02:25,993 INFO L794 eck$LassoCheckResult]: Stem: 1483#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 1444#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 1445#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 1489#L214 assume !(1 == ~q_req_up~0); 1521#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 1522#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 1442#L234-1 assume !(0 == ~q_read_ev~0); 1443#L267-1 assume !(0 == ~q_write_ev~0); 1482#L272-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; 1495#L57 assume !(1 == ~p_dw_pc~0); 1524#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 1525#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 1429#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 1430#L307 assume !(0 != activate_threads_~tmp~1); 1448#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 1451#L76 assume !(1 == ~c_dr_pc~0); 1446#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 1447#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 1453#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1490#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 1475#L315-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 1431#L285-1 assume !(1 == ~q_write_ev~0); 1432#L411-1 [2020-10-20 08:02:25,993 INFO L796 eck$LassoCheckResult]: Loop: 1432#L411-1 assume !false; 1893#L412 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; 1890#L356 assume !false; 1886#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1870#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 1864#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1861#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 1857#L336 assume !(0 != eval_~tmp___1~0); 1520#L372 start_simulation_~kernel_st~0 := 2; 1499#L214-2 assume !(1 == ~q_req_up~0); 1497#L214-3 start_simulation_~kernel_st~0 := 3; 1439#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 1433#L267-4 assume !(0 == ~q_write_ev~0); 1434#L272-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; 1970#L57-3 assume !(1 == ~p_dw_pc~0); 1968#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 1967#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 1966#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 1965#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 1964#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 1963#L76-3 assume !(1 == ~c_dr_pc~0); 1961#L76-5 is_do_read_c_triggered_~__retres1~1 := 0; 1449#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 1450#L88-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; 1960#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 1959#L315-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 1920#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 1917#L290-3 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; 1957#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 1956#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1955#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 1954#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 1953#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 1912#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 1908#L428 assume !(0 != start_simulation_~tmp~4); 1432#L411-1 [2020-10-20 08:02:25,993 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:25,993 INFO L82 PathProgramCache]: Analyzing trace with hash -2124707798, now seen corresponding path program 1 times [2020-10-20 08:02:25,994 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:25,997 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [293972557] [2020-10-20 08:02:25,997 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,082 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-20 08:02:26,083 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [293972557] [2020-10-20 08:02:26,083 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,083 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:26,084 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1393810558] [2020-10-20 08:02:26,084 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:26,084 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,085 INFO L82 PathProgramCache]: Analyzing trace with hash -1836627915, now seen corresponding path program 1 times [2020-10-20 08:02:26,085 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,085 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1415512785] [2020-10-20 08:02:26,086 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,094 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,118 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-20 08:02:26,119 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1415512785] [2020-10-20 08:02:26,119 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,119 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:26,120 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1308583613] [2020-10-20 08:02:26,120 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:26,120 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:26,121 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:26,121 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:26,121 INFO L87 Difference]: Start difference. First operand 554 states and 798 transitions. cyclomatic complexity: 248 Second operand 5 states. [2020-10-20 08:02:26,193 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:26,194 INFO L93 Difference]: Finished difference Result 1469 states and 2115 transitions. [2020-10-20 08:02:26,194 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-20 08:02:26,195 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1469 states and 2115 transitions. [2020-10-20 08:02:26,211 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1430 [2020-10-20 08:02:26,226 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1469 states to 1469 states and 2115 transitions. [2020-10-20 08:02:26,226 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1469 [2020-10-20 08:02:26,229 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1469 [2020-10-20 08:02:26,229 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1469 states and 2115 transitions. [2020-10-20 08:02:26,232 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:26,233 INFO L691 BuchiCegarLoop]: Abstraction has 1469 states and 2115 transitions. [2020-10-20 08:02:26,234 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1469 states and 2115 transitions. [2020-10-20 08:02:26,265 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1469 to 587. [2020-10-20 08:02:26,265 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 587 states. [2020-10-20 08:02:26,267 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 587 states to 587 states and 831 transitions. [2020-10-20 08:02:26,268 INFO L714 BuchiCegarLoop]: Abstraction has 587 states and 831 transitions. [2020-10-20 08:02:26,268 INFO L594 BuchiCegarLoop]: Abstraction has 587 states and 831 transitions. [2020-10-20 08:02:26,268 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-20 08:02:26,268 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 587 states and 831 transitions. [2020-10-20 08:02:26,272 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 558 [2020-10-20 08:02:26,273 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:26,273 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:26,274 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-20 08:02:26,274 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-20 08:02:26,274 INFO L794 eck$LassoCheckResult]: Stem: 3523#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 3484#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 3485#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 3530#L214 assume !(1 == ~q_req_up~0); 3567#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 3568#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 3482#L234-1 assume !(0 == ~q_read_ev~0); 3483#L267-1 assume !(0 == ~q_write_ev~0); 3522#L272-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; 3539#L57 assume !(1 == ~p_dw_pc~0); 3569#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 3570#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 3467#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 3468#L307 assume !(0 != activate_threads_~tmp~1); 3488#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 3491#L76 assume !(1 == ~c_dr_pc~0); 3486#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 3487#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 3493#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3534#L315 assume !(0 != activate_threads_~tmp___0~1); 3516#L315-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 3517#L285-1 assume !(1 == ~q_write_ev~0); 3470#L411-1 [2020-10-20 08:02:26,275 INFO L796 eck$LassoCheckResult]: Loop: 3470#L411-1 assume !false; 3925#L412 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; 3919#L356 assume !false; 3915#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3910#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 3907#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3904#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 3899#L336 assume !(0 != eval_~tmp___1~0); 3900#L372 start_simulation_~kernel_st~0 := 2; 4004#L214-2 assume !(1 == ~q_req_up~0); 4001#L214-3 start_simulation_~kernel_st~0 := 3; 4000#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 3999#L267-4 assume !(0 == ~q_write_ev~0); 3997#L272-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; 3996#L57-3 assume !(1 == ~p_dw_pc~0); 3995#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 3994#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 3993#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 3992#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 3991#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 3990#L76-3 assume 1 == ~c_dr_pc~0; 3988#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 3986#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 3984#L88-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; 3982#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 3981#L315-5 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 3980#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 3978#L290-3 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; 3971#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 3952#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3950#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 3948#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 3946#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 3945#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 3940#L428 assume !(0 != start_simulation_~tmp~4); 3470#L411-1 [2020-10-20 08:02:26,275 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,275 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705876, now seen corresponding path program 1 times [2020-10-20 08:02:26,276 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,276 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [797225850] [2020-10-20 08:02:26,276 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,305 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-20 08:02:26,305 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [797225850] [2020-10-20 08:02:26,306 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,306 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:26,306 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [98109497] [2020-10-20 08:02:26,306 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:26,307 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,307 INFO L82 PathProgramCache]: Analyzing trace with hash -766204236, now seen corresponding path program 1 times [2020-10-20 08:02:26,307 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,307 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1657053379] [2020-10-20 08:02:26,307 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,314 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,339 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-20 08:02:26,339 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1657053379] [2020-10-20 08:02:26,339 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,340 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:26,340 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [476532356] [2020-10-20 08:02:26,340 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:26,340 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:26,341 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:26,341 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:26,341 INFO L87 Difference]: Start difference. First operand 587 states and 831 transitions. cyclomatic complexity: 248 Second operand 3 states. [2020-10-20 08:02:26,374 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:26,374 INFO L93 Difference]: Finished difference Result 821 states and 1146 transitions. [2020-10-20 08:02:26,375 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:26,375 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 821 states and 1146 transitions. [2020-10-20 08:02:26,382 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 793 [2020-10-20 08:02:26,389 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 821 states to 821 states and 1146 transitions. [2020-10-20 08:02:26,389 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 821 [2020-10-20 08:02:26,391 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 821 [2020-10-20 08:02:26,391 INFO L73 IsDeterministic]: Start isDeterministic. Operand 821 states and 1146 transitions. [2020-10-20 08:02:26,392 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:26,392 INFO L691 BuchiCegarLoop]: Abstraction has 821 states and 1146 transitions. [2020-10-20 08:02:26,393 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 821 states and 1146 transitions. [2020-10-20 08:02:26,401 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 821 to 546. [2020-10-20 08:02:26,401 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 546 states. [2020-10-20 08:02:26,403 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 546 states to 546 states and 765 transitions. [2020-10-20 08:02:26,403 INFO L714 BuchiCegarLoop]: Abstraction has 546 states and 765 transitions. [2020-10-20 08:02:26,403 INFO L594 BuchiCegarLoop]: Abstraction has 546 states and 765 transitions. [2020-10-20 08:02:26,404 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-20 08:02:26,404 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 546 states and 765 transitions. [2020-10-20 08:02:26,407 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 519 [2020-10-20 08:02:26,407 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:26,407 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:26,408 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-20 08:02:26,408 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-20 08:02:26,409 INFO L794 eck$LassoCheckResult]: Stem: 4936#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 4899#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 4900#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 4941#L214 assume !(1 == ~q_req_up~0); 4974#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 4975#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 4897#L234-1 assume !(0 == ~q_read_ev~0); 4898#L267-1 assume !(0 == ~q_write_ev~0); 4935#L272-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; 4948#L57 assume !(1 == ~p_dw_pc~0); 4978#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 4979#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 4884#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 4885#L307 assume !(0 != activate_threads_~tmp~1); 4903#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 4906#L76 assume !(1 == ~c_dr_pc~0); 4901#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 4902#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 4980#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 4943#L315 assume !(0 != activate_threads_~tmp___0~1); 4929#L315-2 assume !(1 == ~q_read_ev~0); 4886#L285-1 assume !(1 == ~q_write_ev~0); 4887#L411-1 [2020-10-20 08:02:26,409 INFO L796 eck$LassoCheckResult]: Loop: 4887#L411-1 assume !false; 4965#L412 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; 4947#L356 assume !false; 4890#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 4891#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 4915#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4916#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 4917#L336 assume !(0 != eval_~tmp___1~0); 4919#L372 start_simulation_~kernel_st~0 := 2; 5420#L214-2 assume !(1 == ~q_req_up~0); 5419#L214-3 start_simulation_~kernel_st~0 := 3; 5418#L267-2 assume !(0 == ~q_read_ev~0); 5417#L267-4 assume !(0 == ~q_write_ev~0); 5416#L272-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; 5415#L57-3 assume !(1 == ~p_dw_pc~0); 5413#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 5411#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 5410#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 5408#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 5406#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 5405#L76-3 assume 1 == ~c_dr_pc~0; 5403#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 5399#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 5395#L88-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; 5391#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 5389#L315-5 assume !(1 == ~q_read_ev~0); 4880#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 4881#L290-3 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; 4955#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 4912#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4913#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 4944#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 5380#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 5359#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 4933#L428 assume !(0 != start_simulation_~tmp~4); 4887#L411-1 [2020-10-20 08:02:26,409 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,409 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 1 times [2020-10-20 08:02:26,410 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,424 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1472398460] [2020-10-20 08:02:26,424 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,433 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:26,434 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:26,442 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:26,442 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:26,469 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:26,469 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,470 INFO L82 PathProgramCache]: Analyzing trace with hash -1293244752, now seen corresponding path program 1 times [2020-10-20 08:02:26,470 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,470 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1453421054] [2020-10-20 08:02:26,470 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,476 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,510 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-20 08:02:26,511 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1453421054] [2020-10-20 08:02:26,511 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,511 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:26,511 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2001905937] [2020-10-20 08:02:26,512 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:26,512 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:26,512 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:26,513 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:26,513 INFO L87 Difference]: Start difference. First operand 546 states and 765 transitions. cyclomatic complexity: 221 Second operand 5 states. [2020-10-20 08:02:26,588 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:26,588 INFO L93 Difference]: Finished difference Result 850 states and 1175 transitions. [2020-10-20 08:02:26,589 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-20 08:02:26,589 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 850 states and 1175 transitions. [2020-10-20 08:02:26,596 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 822 [2020-10-20 08:02:26,603 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 850 states to 850 states and 1175 transitions. [2020-10-20 08:02:26,603 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 850 [2020-10-20 08:02:26,604 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 850 [2020-10-20 08:02:26,605 INFO L73 IsDeterministic]: Start isDeterministic. Operand 850 states and 1175 transitions. [2020-10-20 08:02:26,607 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:26,607 INFO L691 BuchiCegarLoop]: Abstraction has 850 states and 1175 transitions. [2020-10-20 08:02:26,608 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 850 states and 1175 transitions. [2020-10-20 08:02:26,639 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 850 to 573. [2020-10-20 08:02:26,640 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 573 states. [2020-10-20 08:02:26,641 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 573 states to 573 states and 792 transitions. [2020-10-20 08:02:26,641 INFO L714 BuchiCegarLoop]: Abstraction has 573 states and 792 transitions. [2020-10-20 08:02:26,641 INFO L594 BuchiCegarLoop]: Abstraction has 573 states and 792 transitions. [2020-10-20 08:02:26,641 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-20 08:02:26,642 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 573 states and 792 transitions. [2020-10-20 08:02:26,646 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 546 [2020-10-20 08:02:26,646 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:26,646 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:26,650 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-20 08:02:26,651 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] [2020-10-20 08:02:26,651 INFO L794 eck$LassoCheckResult]: Stem: 6348#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 6312#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 6313#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 6356#L214 assume !(1 == ~q_req_up~0); 6393#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 6394#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 6310#L234-1 assume !(0 == ~q_read_ev~0); 6311#L267-1 assume !(0 == ~q_write_ev~0); 6347#L272-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; 6364#L57 assume !(1 == ~p_dw_pc~0); 6399#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 6400#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 6296#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 6297#L307 assume !(0 != activate_threads_~tmp~1); 6316#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 6319#L76 assume !(1 == ~c_dr_pc~0); 6314#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 6315#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 6402#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 6358#L315 assume !(0 != activate_threads_~tmp___0~1); 6342#L315-2 assume !(1 == ~q_read_ev~0); 6298#L285-1 assume !(1 == ~q_write_ev~0); 6299#L411-1 [2020-10-20 08:02:26,651 INFO L796 eck$LassoCheckResult]: Loop: 6299#L411-1 assume !false; 6813#L412 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; 6780#L356 assume !false; 6779#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 6778#L247 assume !(0 == ~p_dw_st~0); 6777#L251 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 6775#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 6568#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 6569#L336 assume !(0 != eval_~tmp___1~0); 6772#L372 start_simulation_~kernel_st~0 := 2; 6370#L214-2 assume !(1 == ~q_req_up~0); 6371#L214-3 start_simulation_~kernel_st~0 := 3; 6306#L267-2 assume !(0 == ~q_read_ev~0); 6307#L267-4 assume !(0 == ~q_write_ev~0); 6381#L272-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; 6382#L57-3 assume !(1 == ~p_dw_pc~0); 6840#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 6839#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 6838#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 6837#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 6836#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 6835#L76-3 assume 1 == ~c_dr_pc~0; 6833#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 6831#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 6829#L88-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; 6827#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 6826#L315-5 assume !(1 == ~q_read_ev~0); 6825#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 6824#L290-3 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; 6822#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 6821#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 6820#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 6819#L386 assume !(0 != stop_simulation_~tmp~3);stop_simulation_~__retres2~0 := 1; 6818#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 6817#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 6816#L428 assume !(0 != start_simulation_~tmp~4); 6299#L411-1 [2020-10-20 08:02:26,651 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,651 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 2 times [2020-10-20 08:02:26,652 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,653 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1139004126] [2020-10-20 08:02:26,653 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,667 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:26,668 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:26,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:26,679 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:26,694 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:26,695 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,695 INFO L82 PathProgramCache]: Analyzing trace with hash -87866345, now seen corresponding path program 1 times [2020-10-20 08:02:26,695 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,695 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1995633807] [2020-10-20 08:02:26,696 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,708 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,743 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:26,744 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1995633807] [2020-10-20 08:02:26,744 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,744 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:26,744 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1324817831] [2020-10-20 08:02:26,745 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:26,745 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:26,745 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:26,746 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:26,746 INFO L87 Difference]: Start difference. First operand 573 states and 792 transitions. cyclomatic complexity: 221 Second operand 5 states. [2020-10-20 08:02:26,820 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:26,821 INFO L93 Difference]: Finished difference Result 1368 states and 1932 transitions. [2020-10-20 08:02:26,821 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-20 08:02:26,821 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1368 states and 1932 transitions. [2020-10-20 08:02:26,832 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 1338 [2020-10-20 08:02:26,865 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1368 states to 1368 states and 1932 transitions. [2020-10-20 08:02:26,865 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1368 [2020-10-20 08:02:26,869 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1368 [2020-10-20 08:02:26,869 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1368 states and 1932 transitions. [2020-10-20 08:02:26,871 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:26,871 INFO L691 BuchiCegarLoop]: Abstraction has 1368 states and 1932 transitions. [2020-10-20 08:02:26,872 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1368 states and 1932 transitions. [2020-10-20 08:02:26,882 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1368 to 600. [2020-10-20 08:02:26,883 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 600 states. [2020-10-20 08:02:26,885 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 600 states to 600 states and 819 transitions. [2020-10-20 08:02:26,885 INFO L714 BuchiCegarLoop]: Abstraction has 600 states and 819 transitions. [2020-10-20 08:02:26,885 INFO L594 BuchiCegarLoop]: Abstraction has 600 states and 819 transitions. [2020-10-20 08:02:26,885 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-20 08:02:26,886 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 600 states and 819 transitions. [2020-10-20 08:02:26,889 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 573 [2020-10-20 08:02:26,890 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:26,890 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:26,891 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-20 08:02:26,892 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] [2020-10-20 08:02:26,892 INFO L794 eck$LassoCheckResult]: Stem: 8307#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 8269#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 8270#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 8315#L214 assume !(1 == ~q_req_up~0); 8354#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 8355#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 8265#L234-1 assume !(0 == ~q_read_ev~0); 8266#L267-1 assume !(0 == ~q_write_ev~0); 8306#L272-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; 8323#L57 assume !(1 == ~p_dw_pc~0); 8357#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 8358#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 8251#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 8252#L307 assume !(0 != activate_threads_~tmp~1); 8273#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 8276#L76 assume !(1 == ~c_dr_pc~0); 8271#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 8272#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 8316#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 8317#L315 assume !(0 != activate_threads_~tmp___0~1); 8300#L315-2 assume !(1 == ~q_read_ev~0); 8255#L285-1 assume !(1 == ~q_write_ev~0); 8256#L411-1 [2020-10-20 08:02:26,892 INFO L796 eck$LassoCheckResult]: Loop: 8256#L411-1 assume !false; 8810#L412 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; 8806#L356 assume !false; 8805#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 8802#L247 assume !(0 == ~p_dw_st~0); 8803#L251 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 8804#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 8836#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 8832#L336 assume !(0 != eval_~tmp___1~0); 8353#L372 start_simulation_~kernel_st~0 := 2; 8329#L214-2 assume !(1 == ~q_req_up~0); 8330#L214-3 start_simulation_~kernel_st~0 := 3; 8843#L267-2 assume !(0 == ~q_read_ev~0); 8842#L267-4 assume !(0 == ~q_write_ev~0); 8841#L272-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; 8840#L57-3 assume !(1 == ~p_dw_pc~0); 8839#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 8359#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 8299#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 8290#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 8253#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 8254#L76-3 assume 1 == ~c_dr_pc~0; 8311#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 8313#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 8830#L88-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; 8823#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 8822#L315-5 assume !(1 == ~q_read_ev~0); 8821#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 8820#L290-3 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; 8356#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 8280#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 8281#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 8349#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 8334#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 8263#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 8264#L428 assume !(0 != start_simulation_~tmp~4); 8256#L411-1 [2020-10-20 08:02:26,893 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,893 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 3 times [2020-10-20 08:02:26,893 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,893 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2014653921] [2020-10-20 08:02:26,894 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,906 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:26,907 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:26,913 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:26,913 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:26,919 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:26,920 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:26,920 INFO L82 PathProgramCache]: Analyzing trace with hash -87925927, now seen corresponding path program 1 times [2020-10-20 08:02:26,920 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:26,921 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1747398982] [2020-10-20 08:02:26,921 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:26,927 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:26,967 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-20 08:02:26,968 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1747398982] [2020-10-20 08:02:26,968 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:26,968 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:26,968 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [483020424] [2020-10-20 08:02:26,969 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:26,969 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:26,969 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:26,969 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:26,969 INFO L87 Difference]: Start difference. First operand 600 states and 819 transitions. cyclomatic complexity: 221 Second operand 5 states. [2020-10-20 08:02:27,026 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:27,027 INFO L93 Difference]: Finished difference Result 1046 states and 1435 transitions. [2020-10-20 08:02:27,027 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-20 08:02:27,027 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1046 states and 1435 transitions. [2020-10-20 08:02:27,055 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 1019 [2020-10-20 08:02:27,062 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1046 states to 1046 states and 1435 transitions. [2020-10-20 08:02:27,063 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1046 [2020-10-20 08:02:27,064 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1046 [2020-10-20 08:02:27,064 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1046 states and 1435 transitions. [2020-10-20 08:02:27,066 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:27,066 INFO L691 BuchiCegarLoop]: Abstraction has 1046 states and 1435 transitions. [2020-10-20 08:02:27,067 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1046 states and 1435 transitions. [2020-10-20 08:02:27,075 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1046 to 606. [2020-10-20 08:02:27,075 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 606 states. [2020-10-20 08:02:27,077 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 606 states to 606 states and 817 transitions. [2020-10-20 08:02:27,077 INFO L714 BuchiCegarLoop]: Abstraction has 606 states and 817 transitions. [2020-10-20 08:02:27,077 INFO L594 BuchiCegarLoop]: Abstraction has 606 states and 817 transitions. [2020-10-20 08:02:27,077 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-10-20 08:02:27,078 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 606 states and 817 transitions. [2020-10-20 08:02:27,081 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 579 [2020-10-20 08:02:27,081 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:27,081 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:27,081 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-20 08:02:27,082 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] [2020-10-20 08:02:27,082 INFO L794 eck$LassoCheckResult]: Stem: 9963#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 9927#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 9928#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 9968#L214 assume !(1 == ~q_req_up~0); 10008#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 10009#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 9922#L234-1 assume !(0 == ~q_read_ev~0); 9923#L267-1 assume !(0 == ~q_write_ev~0); 9962#L272-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; 9974#L57 assume !(1 == ~p_dw_pc~0); 10014#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 10015#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 9910#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 9911#L307 assume !(0 != activate_threads_~tmp~1); 9931#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 9934#L76 assume !(1 == ~c_dr_pc~0); 9929#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 9930#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 9969#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 9970#L315 assume !(0 != activate_threads_~tmp___0~1); 9956#L315-2 assume !(1 == ~q_read_ev~0); 9914#L285-1 assume !(1 == ~q_write_ev~0); 9915#L411-1 [2020-10-20 08:02:27,082 INFO L796 eck$LassoCheckResult]: Loop: 9915#L411-1 assume !false; 10310#L412 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; 10090#L356 assume !false; 10306#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 10307#L247 assume !(0 == ~p_dw_st~0); 10415#L251 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 10300#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 10301#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 10281#L336 assume !(0 != eval_~tmp___1~0); 10282#L372 start_simulation_~kernel_st~0 := 2; 10446#L214-2 assume !(1 == ~q_req_up~0); 10445#L214-3 start_simulation_~kernel_st~0 := 3; 10444#L267-2 assume !(0 == ~q_read_ev~0); 10443#L267-4 assume !(0 == ~q_write_ev~0); 10442#L272-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; 10441#L57-3 assume !(1 == ~p_dw_pc~0); 10440#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 10439#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 10438#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 10437#L307-3 assume !(0 != activate_threads_~tmp~1); 10436#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 10435#L76-3 assume 1 == ~c_dr_pc~0; 10434#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 10433#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 10432#L88-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; 10430#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 10429#L315-5 assume !(1 == ~q_read_ev~0); 10428#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 10427#L290-3 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; 10424#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 10423#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 10422#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 10421#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 10420#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 10419#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 10418#L428 assume !(0 != start_simulation_~tmp~4); 9915#L411-1 [2020-10-20 08:02:27,082 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,082 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 4 times [2020-10-20 08:02:27,083 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,083 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1561365316] [2020-10-20 08:02:27,083 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,091 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,097 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,097 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,104 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:27,104 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,105 INFO L82 PathProgramCache]: Analyzing trace with hash -1676273829, now seen corresponding path program 1 times [2020-10-20 08:02:27,105 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,105 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1831754744] [2020-10-20 08:02:27,105 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,109 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:27,124 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-20 08:02:27,125 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1831754744] [2020-10-20 08:02:27,125 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:27,125 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:27,125 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [677460105] [2020-10-20 08:02:27,126 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:27,126 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:27,126 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:27,126 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:27,126 INFO L87 Difference]: Start difference. First operand 606 states and 817 transitions. cyclomatic complexity: 213 Second operand 3 states. [2020-10-20 08:02:27,156 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:27,156 INFO L93 Difference]: Finished difference Result 755 states and 991 transitions. [2020-10-20 08:02:27,157 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:27,157 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 755 states and 991 transitions. [2020-10-20 08:02:27,162 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 724 [2020-10-20 08:02:27,167 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 755 states to 755 states and 991 transitions. [2020-10-20 08:02:27,167 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 755 [2020-10-20 08:02:27,168 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 755 [2020-10-20 08:02:27,168 INFO L73 IsDeterministic]: Start isDeterministic. Operand 755 states and 991 transitions. [2020-10-20 08:02:27,169 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:27,169 INFO L691 BuchiCegarLoop]: Abstraction has 755 states and 991 transitions. [2020-10-20 08:02:27,170 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 755 states and 991 transitions. [2020-10-20 08:02:27,178 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 755 to 701. [2020-10-20 08:02:27,178 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 701 states. [2020-10-20 08:02:27,180 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 701 states to 701 states and 924 transitions. [2020-10-20 08:02:27,181 INFO L714 BuchiCegarLoop]: Abstraction has 701 states and 924 transitions. [2020-10-20 08:02:27,181 INFO L594 BuchiCegarLoop]: Abstraction has 701 states and 924 transitions. [2020-10-20 08:02:27,181 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-10-20 08:02:27,181 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 701 states and 924 transitions. [2020-10-20 08:02:27,184 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 670 [2020-10-20 08:02:27,184 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:27,185 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:27,185 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-20 08:02:27,185 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:27,185 INFO L794 eck$LassoCheckResult]: Stem: 11328#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 11294#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 11295#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 11333#L214 assume !(1 == ~q_req_up~0); 11371#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 11372#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 11291#L234-1 assume !(0 == ~q_read_ev~0); 11292#L267-1 assume !(0 == ~q_write_ev~0); 11327#L272-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; 11341#L57 assume !(1 == ~p_dw_pc~0); 11373#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 11374#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 11277#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 11278#L307 assume !(0 != activate_threads_~tmp~1); 11298#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 11301#L76 assume !(1 == ~c_dr_pc~0); 11296#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 11297#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 11334#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 11335#L315 assume !(0 != activate_threads_~tmp___0~1); 11322#L315-2 assume !(1 == ~q_read_ev~0); 11281#L285-1 assume !(1 == ~q_write_ev~0); 11282#L411-1 assume !false; 11414#L412 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; 11400#L356 [2020-10-20 08:02:27,186 INFO L796 eck$LassoCheckResult]: Loop: 11400#L356 assume !false; 11413#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 11412#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 11411#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 11410#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 11409#L336 assume 0 != eval_~tmp___1~0; 11407#L336-1 assume 0 == ~p_dw_st~0;eval_~tmp~2 := eval_#t~nondet13;havoc eval_#t~nondet13; 11406#L345 assume !(0 != eval_~tmp~2); 11405#L341 assume !(0 == ~c_dr_st~0); 11400#L356 [2020-10-20 08:02:27,186 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,186 INFO L82 PathProgramCache]: Analyzing trace with hash -1732817812, now seen corresponding path program 1 times [2020-10-20 08:02:27,186 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,187 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1118590813] [2020-10-20 08:02:27,187 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,194 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,194 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,201 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,201 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,232 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:27,233 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,233 INFO L82 PathProgramCache]: Analyzing trace with hash -446247981, now seen corresponding path program 1 times [2020-10-20 08:02:27,233 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,234 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1725190324] [2020-10-20 08:02:27,234 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,239 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,239 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,243 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,243 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,248 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:27,248 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,248 INFO L82 PathProgramCache]: Analyzing trace with hash 316098504, now seen corresponding path program 1 times [2020-10-20 08:02:27,249 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,249 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [153575243] [2020-10-20 08:02:27,249 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,255 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:27,271 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-20 08:02:27,271 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [153575243] [2020-10-20 08:02:27,271 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:27,271 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-20 08:02:27,272 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2019632635] [2020-10-20 08:02:27,320 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:27,320 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:27,320 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:27,320 INFO L87 Difference]: Start difference. First operand 701 states and 924 transitions. cyclomatic complexity: 227 Second operand 3 states. [2020-10-20 08:02:27,347 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:27,347 INFO L93 Difference]: Finished difference Result 950 states and 1226 transitions. [2020-10-20 08:02:27,348 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:27,348 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 950 states and 1226 transitions. [2020-10-20 08:02:27,353 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 916 [2020-10-20 08:02:27,360 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 950 states to 950 states and 1226 transitions. [2020-10-20 08:02:27,360 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 950 [2020-10-20 08:02:27,361 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 950 [2020-10-20 08:02:27,361 INFO L73 IsDeterministic]: Start isDeterministic. Operand 950 states and 1226 transitions. [2020-10-20 08:02:27,362 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:27,362 INFO L691 BuchiCegarLoop]: Abstraction has 950 states and 1226 transitions. [2020-10-20 08:02:27,363 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 950 states and 1226 transitions. [2020-10-20 08:02:27,374 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 950 to 950. [2020-10-20 08:02:27,374 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 950 states. [2020-10-20 08:02:27,377 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 950 states to 950 states and 1226 transitions. [2020-10-20 08:02:27,377 INFO L714 BuchiCegarLoop]: Abstraction has 950 states and 1226 transitions. [2020-10-20 08:02:27,377 INFO L594 BuchiCegarLoop]: Abstraction has 950 states and 1226 transitions. [2020-10-20 08:02:27,377 INFO L427 BuchiCegarLoop]: ======== Iteration 12============ [2020-10-20 08:02:27,377 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 950 states and 1226 transitions. [2020-10-20 08:02:27,381 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 916 [2020-10-20 08:02:27,382 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:27,382 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:27,382 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-20 08:02:27,382 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:27,382 INFO L794 eck$LassoCheckResult]: Stem: 12990#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(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 12953#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~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; 12954#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 12995#L214 assume !(1 == ~q_req_up~0); 13030#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 13031#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 12951#L234-1 assume !(0 == ~q_read_ev~0); 12952#L267-1 assume !(0 == ~q_write_ev~0); 12989#L272-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; 13003#L57 assume !(1 == ~p_dw_pc~0); 13033#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 13034#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 12938#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 12939#L307 assume !(0 != activate_threads_~tmp~1); 12957#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 12960#L76 assume !(1 == ~c_dr_pc~0); 12955#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 12956#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 13037#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 12997#L315 assume !(0 != activate_threads_~tmp___0~1); 12983#L315-2 assume !(1 == ~q_read_ev~0); 12940#L285-1 assume !(1 == ~q_write_ev~0); 12941#L411-1 assume !false; 13448#L412 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; 13385#L356 [2020-10-20 08:02:27,383 INFO L796 eck$LassoCheckResult]: Loop: 13385#L356 assume !false; 13442#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 13438#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 13435#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 13432#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 13430#L336 assume 0 != eval_~tmp___1~0; 13427#L336-1 assume 0 == ~p_dw_st~0;eval_~tmp~2 := eval_#t~nondet13;havoc eval_#t~nondet13; 13425#L345 assume !(0 != eval_~tmp~2); 13386#L341 assume 0 == ~c_dr_st~0;eval_~tmp___0~2 := eval_#t~nondet14;havoc eval_#t~nondet14; 13384#L360 assume !(0 != eval_~tmp___0~2); 13385#L356 [2020-10-20 08:02:27,383 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,383 INFO L82 PathProgramCache]: Analyzing trace with hash -1732817812, now seen corresponding path program 2 times [2020-10-20 08:02:27,383 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,383 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [47527633] [2020-10-20 08:02:27,384 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,391 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,398 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,398 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,403 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:27,404 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,404 INFO L82 PathProgramCache]: Analyzing trace with hash -948787216, now seen corresponding path program 1 times [2020-10-20 08:02:27,404 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,404 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1132779512] [2020-10-20 08:02:27,405 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,515 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,517 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,517 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,518 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:27,519 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:27,519 INFO L82 PathProgramCache]: Analyzing trace with hash 1209117339, now seen corresponding path program 1 times [2020-10-20 08:02:27,519 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:27,519 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1977529942] [2020-10-20 08:02:27,520 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:27,530 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,530 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:27,537 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:27,544 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:28,189 WARN L193 SmtUtils]: Spent 586.00 ms on a formula simplification. DAG size of input: 145 DAG size of output: 123 [2020-10-20 08:02:28,402 WARN L193 SmtUtils]: Spent 184.00 ms on a formula simplification that was a NOOP. DAG size: 99 [2020-10-20 08:02:28,466 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 20.10 08:02:28 BoogieIcfgContainer [2020-10-20 08:02:28,466 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-20 08:02:28,467 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-20 08:02:28,467 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-20 08:02:28,467 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-20 08:02:28,468 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 08:02:24" (3/4) ... [2020-10-20 08:02:28,471 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-20 08:02:28,586 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-20 08:02:28,586 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-20 08:02:28,588 INFO L168 Benchmark]: Toolchain (without parser) took 5078.88 ms. Allocated memory was 35.7 MB in the beginning and 89.1 MB in the end (delta: 53.5 MB). Free memory was 15.5 MB in the beginning and 43.7 MB in the end (delta: -28.3 MB). Peak memory consumption was 25.2 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,591 INFO L168 Benchmark]: CDTParser took 0.28 ms. Allocated memory is still 34.1 MB. Free memory was 9.5 MB in the beginning and 9.4 MB in the end (delta: 43.9 kB). Peak memory consumption was 43.9 kB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,596 INFO L168 Benchmark]: CACSL2BoogieTranslator took 529.73 ms. Allocated memory was 35.7 MB in the beginning and 44.0 MB in the end (delta: 8.4 MB). Free memory was 14.6 MB in the beginning and 22.3 MB in the end (delta: -7.7 MB). Peak memory consumption was 10.8 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,596 INFO L168 Benchmark]: Boogie Procedure Inliner took 50.85 ms. Allocated memory is still 44.0 MB. Free memory was 22.3 MB in the beginning and 19.8 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,598 INFO L168 Benchmark]: Boogie Preprocessor took 35.49 ms. Allocated memory is still 44.0 MB. Free memory was 19.8 MB in the beginning and 17.9 MB in the end (delta: 1.9 MB). Peak memory consumption was 1.9 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,599 INFO L168 Benchmark]: RCFGBuilder took 556.46 ms. Allocated memory was 44.0 MB in the beginning and 46.1 MB in the end (delta: 2.1 MB). Free memory was 17.9 MB in the beginning and 16.1 MB in the end (delta: 1.8 MB). Peak memory consumption was 8.5 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,600 INFO L168 Benchmark]: BuchiAutomizer took 3775.60 ms. Allocated memory was 46.1 MB in the beginning and 89.1 MB in the end (delta: 43.0 MB). Free memory was 15.8 MB in the beginning and 47.3 MB in the end (delta: -31.5 MB). Peak memory consumption was 36.7 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,601 INFO L168 Benchmark]: Witness Printer took 119.54 ms. Allocated memory is still 89.1 MB. Free memory was 47.3 MB in the beginning and 43.7 MB in the end (delta: 3.5 MB). Peak memory consumption was 3.5 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:28,607 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.28 ms. Allocated memory is still 34.1 MB. Free memory was 9.5 MB in the beginning and 9.4 MB in the end (delta: 43.9 kB). Peak memory consumption was 43.9 kB. Max. memory is 14.3 GB. * CACSL2BoogieTranslator took 529.73 ms. Allocated memory was 35.7 MB in the beginning and 44.0 MB in the end (delta: 8.4 MB). Free memory was 14.6 MB in the beginning and 22.3 MB in the end (delta: -7.7 MB). Peak memory consumption was 10.8 MB. Max. memory is 14.3 GB. * Boogie Procedure Inliner took 50.85 ms. Allocated memory is still 44.0 MB. Free memory was 22.3 MB in the beginning and 19.8 MB in the end (delta: 2.5 MB). Peak memory consumption was 2.5 MB. Max. memory is 14.3 GB. * Boogie Preprocessor took 35.49 ms. Allocated memory is still 44.0 MB. Free memory was 19.8 MB in the beginning and 17.9 MB in the end (delta: 1.9 MB). Peak memory consumption was 1.9 MB. Max. memory is 14.3 GB. * RCFGBuilder took 556.46 ms. Allocated memory was 44.0 MB in the beginning and 46.1 MB in the end (delta: 2.1 MB). Free memory was 17.9 MB in the beginning and 16.1 MB in the end (delta: 1.8 MB). Peak memory consumption was 8.5 MB. Max. memory is 14.3 GB. * BuchiAutomizer took 3775.60 ms. Allocated memory was 46.1 MB in the beginning and 89.1 MB in the end (delta: 43.0 MB). Free memory was 15.8 MB in the beginning and 47.3 MB in the end (delta: -31.5 MB). Peak memory consumption was 36.7 MB. Max. memory is 14.3 GB. * Witness Printer took 119.54 ms. Allocated memory is still 89.1 MB. Free memory was 47.3 MB in the beginning and 43.7 MB in the end (delta: 3.5 MB). Peak memory consumption was 3.5 MB. Max. memory is 14.3 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 950 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.6s and 12 iterations. TraceHistogramMax:1. Analysis of lassos took 2.2s. Construction of modules took 0.3s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 0. Minimization of det autom 11. Minimization of nondet autom 0. Automata minimization 0.2s AutomataMinimizationTime, 11 MinimizatonAttempts, 2724 StatesRemovedByMinimization, 7 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 950 states and ocurred in iteration 11. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 1464 SDtfs, 2155 SDslu, 2343 SDs, 0 SdLazy, 266 SolverSat, 67 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s 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: 331]: 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 {p_last_write=0, c_dr_i=1, c_dr_pc=0, NULL=3, a_t=0, NULL=0, \result=0, NULL=1, \result=0, c_num_read=0, tmp=0, c_dr_st=0, kernel_st=1, q_read_ev=2, p_dw_i=1, tmp___1=1, q_req_up=0, tmp___0=0, q_write_ev=2, __retres1=1, NULL=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2d74fa3e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@493a83e0=0, p_dw_pc=0, NULL=0, NULL=0, NULL=0, q_free=1, NULL=4, __retres1=0, p_dw_st=0, \result=0, q_ev=0, c_last_read=0, tmp___0=0, NULL=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@382cf246=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@514b1c08=0, p_num_write=0, q_buf_0=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@44131220=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7c5f60a8=0, \result=1} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 331]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L17] int q_buf_0 ; [L18] int q_free ; [L19] int q_read_ev ; [L20] int q_write_ev ; [L21] int q_req_up ; [L22] int q_ev ; [L43] int p_num_write ; [L44] int p_last_write ; [L45] int p_dw_st ; [L46] int p_dw_pc ; [L47] int p_dw_i ; [L48] int c_num_read ; [L49] int c_last_read ; [L50] int c_dr_st ; [L51] int c_dr_pc ; [L52] int c_dr_i ; [L156] static int a_t ; [L458] int __retres1 ; [L444] q_free = 1 [L445] q_write_ev = 2 [L446] q_read_ev = q_write_ev [L447] p_num_write = 0 [L448] p_dw_pc = 0 [L449] p_dw_i = 1 [L450] c_num_read = 0 [L451] c_dr_pc = 0 [L452] c_dr_i = 1 [L398] int kernel_st ; [L399] int tmp ; [L403] kernel_st = 0 [L214] COND FALSE !((int )q_req_up == 1) [L229] COND TRUE (int )p_dw_i == 1 [L230] p_dw_st = 0 [L234] COND TRUE (int )c_dr_i == 1 [L235] c_dr_st = 0 [L267] COND FALSE !((int )q_read_ev == 0) [L272] COND FALSE !((int )q_write_ev == 0) [L300] int tmp ; [L301] int tmp___0 ; [L54] int __retres1 ; [L57] COND FALSE !((int )p_dw_pc == 1) [L67] __retres1 = 0 [L69] return (__retres1); [L305] tmp = is_do_write_p_triggered() [L307] COND FALSE !(\read(tmp)) [L73] int __retres1 ; [L76] COND FALSE !((int )c_dr_pc == 1) [L86] __retres1 = 0 [L88] return (__retres1); [L313] tmp___0 = is_do_read_c_triggered() [L315] COND FALSE !(\read(tmp___0)) [L285] COND FALSE !((int )q_read_ev == 1) [L290] COND FALSE !((int )q_write_ev == 1) [L411] COND TRUE 1 [L414] kernel_st = 1 [L325] int tmp ; [L326] int tmp___0 ; [L327] int tmp___1 ; Loop: [L331] COND TRUE 1 [L244] int __retres1 ; [L247] COND TRUE (int )p_dw_st == 0 [L248] __retres1 = 1 [L260] return (__retres1); [L334] tmp___1 = exists_runnable_thread() [L336] COND TRUE \read(tmp___1) [L341] COND TRUE (int )p_dw_st == 0 [L343] tmp = __VERIFIER_nondet_int() [L345] COND FALSE !(\read(tmp)) [L356] COND TRUE (int )c_dr_st == 0 [L358] tmp___0 = __VERIFIER_nondet_int() [L360] COND FALSE !(\read(tmp___0)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...