./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/kundu.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 906a4fb5 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/systemc/kundu.cil.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 658e28af3337d6aa1794123f8e81f0b77fdcdb8f ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-906a4fb [2020-10-19 20:09:10,822 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 20:09:10,824 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 20:09:10,850 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 20:09:10,850 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 20:09:10,852 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 20:09:10,853 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 20:09:10,855 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 20:09:10,857 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 20:09:10,858 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 20:09:10,859 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 20:09:10,860 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 20:09:10,860 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 20:09:10,861 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 20:09:10,862 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 20:09:10,864 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 20:09:10,864 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 20:09:10,865 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 20:09:10,867 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 20:09:10,869 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 20:09:10,871 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 20:09:10,872 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 20:09:10,874 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 20:09:10,874 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 20:09:10,877 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 20:09:10,877 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 20:09:10,878 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 20:09:10,878 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 20:09:10,879 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 20:09:10,880 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 20:09:10,880 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 20:09:10,881 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 20:09:10,882 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 20:09:10,883 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 20:09:10,884 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 20:09:10,884 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 20:09:10,885 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 20:09:10,885 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 20:09:10,885 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 20:09:10,886 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 20:09:10,887 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 20:09:10,888 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-19 20:09:10,932 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 20:09:10,933 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 20:09:10,934 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 20:09:10,934 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 20:09:10,934 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 20:09:10,935 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 20:09:10,935 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 20:09:10,935 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 20:09:10,935 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 20:09:10,935 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 20:09:10,936 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 20:09:10,936 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 20:09:10,936 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 20:09:10,936 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 20:09:10,936 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 20:09:10,937 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 20:09:10,937 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 20:09:10,937 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 20:09:10,937 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 20:09:10,938 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 20:09:10,938 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 20:09:10,938 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 20:09:10,938 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 20:09:10,938 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 20:09:10,939 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 20:09:10,939 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 20:09:10,939 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 20:09:10,939 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 20:09:10,940 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 20:09:10,940 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 20:09:10,940 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 20:09:10,940 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 20:09:10,941 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 20:09:10,941 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 -> 658e28af3337d6aa1794123f8e81f0b77fdcdb8f [2020-10-19 20:09:11,259 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 20:09:11,276 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 20:09:11,281 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 20:09:11,283 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 20:09:11,283 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 20:09:11,284 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/kundu.cil.c [2020-10-19 20:09:11,361 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8e19e461d/c2162330d0b24f968efcce742e27fbd8/FLAG2c9ded4e0 [2020-10-19 20:09:11,869 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 20:09:11,870 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/kundu.cil.c [2020-10-19 20:09:11,882 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8e19e461d/c2162330d0b24f968efcce742e27fbd8/FLAG2c9ded4e0 [2020-10-19 20:09:12,217 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8e19e461d/c2162330d0b24f968efcce742e27fbd8 [2020-10-19 20:09:12,220 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 20:09:12,226 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 20:09:12,227 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 20:09:12,228 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 20:09:12,231 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 20:09:12,232 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,235 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7a544bca and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12, skipping insertion in model container [2020-10-19 20:09:12,235 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,245 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 20:09:12,296 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 20:09:12,547 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:09:12,559 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 20:09:12,670 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:09:12,696 INFO L208 MainTranslator]: Completed translation [2020-10-19 20:09:12,697 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12 WrapperNode [2020-10-19 20:09:12,697 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 20:09:12,698 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 20:09:12,698 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 20:09:12,698 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 20:09:12,707 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,734 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,785 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 20:09:12,785 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 20:09:12,785 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 20:09:12,785 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 20:09:12,795 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,796 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,800 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,800 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,811 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,821 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,830 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... [2020-10-19 20:09:12,843 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 20:09:12,844 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 20:09:12,844 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 20:09:12,844 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 20:09:12,845 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:09:12,915 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 20:09:12,915 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-19 20:09:12,915 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 20:09:12,915 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 20:09:13,625 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 20:09:13,626 INFO L298 CfgBuilder]: Removed 103 assume(true) statements. [2020-10-19 20:09:13,631 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:09:13 BoogieIcfgContainer [2020-10-19 20:09:13,632 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 20:09:13,632 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 20:09:13,633 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 20:09:13,637 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 20:09:13,638 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:09:13,638 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 08:09:12" (1/3) ... [2020-10-19 20:09:13,640 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@5bed1885 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:09:13, skipping insertion in model container [2020-10-19 20:09:13,640 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:09:13,641 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:09:12" (2/3) ... [2020-10-19 20:09:13,641 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@5bed1885 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:09:13, skipping insertion in model container [2020-10-19 20:09:13,642 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:09:13,642 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:09:13" (3/3) ... [2020-10-19 20:09:13,645 INFO L373 chiAutomizerObserver]: Analyzing ICFG kundu.cil.c [2020-10-19 20:09:13,700 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 20:09:13,700 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 20:09:13,701 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 20:09:13,701 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 20:09:13,701 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 20:09:13,702 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 20:09:13,702 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 20:09:13,702 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 20:09:13,736 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 181 states. [2020-10-19 20:09:13,793 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 148 [2020-10-19 20:09:13,794 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:13,794 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:13,805 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:13,806 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-19 20:09:13,806 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 20:09:13,806 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 181 states. [2020-10-19 20:09:13,813 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 148 [2020-10-19 20:09:13,814 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:13,814 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:13,816 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:13,816 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-19 20:09:13,825 INFO L794 eck$LassoCheckResult]: Stem: 139#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 12#L-1true havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 158#L605true havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 73#L290true assume !(1 == ~P_1_i~0);~P_1_st~0 := 2; 134#L297-1true assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 181#L302-1true assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 16#L307-1true havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 149#L110true assume !(1 == ~P_1_pc~0); 144#L110-2true is_P_1_triggered_~__retres1~0 := 0; 150#L121true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 56#L122true activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 24#L483true assume !(0 != activate_threads_~tmp~1); 27#L483-2true havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 177#L178true assume 1 == ~P_2_pc~0; 109#L179true assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 178#L189true is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 111#L190true activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 62#L491true assume !(0 != activate_threads_~tmp___0~1); 34#L491-2true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 52#L260true assume 1 == ~C_1_pc~0; 151#L261true assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 128#L281true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 23#L282true activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 67#L499true assume !(0 != activate_threads_~tmp___1~1); 140#L553-1true [2020-10-19 20:09:13,826 INFO L796 eck$LassoCheckResult]: Loop: 140#L553-1true assume !false; 90#L554true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 81#L389true assume !true; 112#L405true start_simulation_~kernel_st~0 := 2; 69#L290-1true start_simulation_~kernel_st~0 := 3; 110#L416true havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 106#L110-6true assume !(1 == ~P_1_pc~0); 101#L110-8true is_P_1_triggered_~__retres1~0 := 0; 146#L121-2true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 79#L122-2true activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 15#L483-6true assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 19#L483-8true havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 180#L178-6true assume !(1 == ~P_2_pc~0); 179#L178-8true is_P_2_triggered_~__retres1~1 := 0; 173#L189-2true is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 103#L190-2true activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 49#L491-6true assume !(0 != activate_threads_~tmp___0~1); 25#L491-8true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 10#L260-6true assume 1 == ~C_1_pc~0; 164#L261-2true assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 120#L281-2true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 47#L282-2true activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 60#L499-6true assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 63#L499-8true havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 92#L320-1true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 48#L337-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 161#L338-1true start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 160#L572true assume !(0 == start_simulation_~tmp~3); 163#L572-1true havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 66#L320-2true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 53#L337-2true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 165#L338-2true stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 54#L527true assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 133#L534true stop_simulation_#res := stop_simulation_~__retres2~0; 61#L535true start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 13#L585true assume !(0 != start_simulation_~tmp___0~2); 140#L553-1true [2020-10-19 20:09:13,833 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:13,833 INFO L82 PathProgramCache]: Analyzing trace with hash -1148319283, now seen corresponding path program 1 times [2020-10-19 20:09:13,843 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:13,843 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1441222968] [2020-10-19 20:09:13,844 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:13,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,027 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,027 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1441222968] [2020-10-19 20:09:14,028 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,029 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:14,029 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1572608692] [2020-10-19 20:09:14,041 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:14,042 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,042 INFO L82 PathProgramCache]: Analyzing trace with hash -1411034995, now seen corresponding path program 1 times [2020-10-19 20:09:14,042 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,042 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [894429272] [2020-10-19 20:09:14,043 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,052 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,062 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,063 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [894429272] [2020-10-19 20:09:14,063 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,063 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 20:09:14,064 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1933582549] [2020-10-19 20:09:14,065 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:14,066 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:14,083 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:14,084 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:14,086 INFO L87 Difference]: Start difference. First operand 181 states. Second operand 3 states. [2020-10-19 20:09:14,126 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:14,127 INFO L93 Difference]: Finished difference Result 176 states and 259 transitions. [2020-10-19 20:09:14,127 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:14,130 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 176 states and 259 transitions. [2020-10-19 20:09:14,134 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 139 [2020-10-19 20:09:14,141 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 176 states to 168 states and 251 transitions. [2020-10-19 20:09:14,142 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 168 [2020-10-19 20:09:14,143 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 168 [2020-10-19 20:09:14,144 INFO L73 IsDeterministic]: Start isDeterministic. Operand 168 states and 251 transitions. [2020-10-19 20:09:14,146 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:14,146 INFO L691 BuchiCegarLoop]: Abstraction has 168 states and 251 transitions. [2020-10-19 20:09:14,166 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 168 states and 251 transitions. [2020-10-19 20:09:14,185 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 168 to 168. [2020-10-19 20:09:14,185 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 168 states. [2020-10-19 20:09:14,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 168 states to 168 states and 251 transitions. [2020-10-19 20:09:14,191 INFO L714 BuchiCegarLoop]: Abstraction has 168 states and 251 transitions. [2020-10-19 20:09:14,191 INFO L594 BuchiCegarLoop]: Abstraction has 168 states and 251 transitions. [2020-10-19 20:09:14,191 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 20:09:14,191 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 168 states and 251 transitions. [2020-10-19 20:09:14,193 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 139 [2020-10-19 20:09:14,194 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:14,194 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:14,199 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:14,200 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:14,200 INFO L794 eck$LassoCheckResult]: Stem: 530#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 387#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 388#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 479#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 480#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 528#L302-1 assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 395#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 396#L110 assume !(1 == ~P_1_pc~0); 455#L110-2 is_P_1_triggered_~__retres1~0 := 0; 454#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 456#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 410#L483 assume !(0 != activate_threads_~tmp~1); 411#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 414#L178 assume 1 == ~P_2_pc~0; 519#L179 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 520#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 522#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 463#L491 assume !(0 != activate_threads_~tmp___0~1); 421#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 422#L260 assume 1 == ~C_1_pc~0; 452#L261 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 405#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 407#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 408#L499 assume !(0 != activate_threads_~tmp___1~1); 390#L553-1 [2020-10-19 20:09:14,201 INFO L796 eck$LassoCheckResult]: Loop: 390#L553-1 assume !false; 499#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 482#L389 assume !false; 491#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 497#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 436#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 437#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 375#L354 assume !(0 != eval_~tmp___2~0); 377#L405 start_simulation_~kernel_st~0 := 2; 468#L290-1 start_simulation_~kernel_st~0 := 3; 469#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 518#L110-6 assume 1 == ~P_1_pc~0; 484#L111-2 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 485#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 487#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 393#L483-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 394#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 400#L178-6 assume 1 == ~P_2_pc~0; 509#L179-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 510#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 512#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 444#L491-6 assume !(0 != activate_threads_~tmp___0~1); 409#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 383#L260-6 assume 1 == ~C_1_pc~0; 384#L261-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 438#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 440#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 441#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 459#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 462#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 442#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 443#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 533#L572 assume !(0 == start_simulation_~tmp~3); 517#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 465#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 448#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 449#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 450#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 451#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 461#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 389#L585 assume !(0 != start_simulation_~tmp___0~2); 390#L553-1 [2020-10-19 20:09:14,201 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,201 INFO L82 PathProgramCache]: Analyzing trace with hash -1571021109, now seen corresponding path program 1 times [2020-10-19 20:09:14,202 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,202 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1695963029] [2020-10-19 20:09:14,202 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,229 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,281 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,281 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1695963029] [2020-10-19 20:09:14,281 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,282 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:14,282 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [858958929] [2020-10-19 20:09:14,282 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:14,283 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,283 INFO L82 PathProgramCache]: Analyzing trace with hash -1150374479, now seen corresponding path program 1 times [2020-10-19 20:09:14,283 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,283 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1077312624] [2020-10-19 20:09:14,284 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,303 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,340 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,340 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1077312624] [2020-10-19 20:09:14,341 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,341 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:14,341 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1775058247] [2020-10-19 20:09:14,341 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:14,342 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:14,342 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:14,342 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:14,343 INFO L87 Difference]: Start difference. First operand 168 states and 251 transitions. cyclomatic complexity: 84 Second operand 3 states. [2020-10-19 20:09:14,363 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:14,363 INFO L93 Difference]: Finished difference Result 168 states and 250 transitions. [2020-10-19 20:09:14,363 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:14,364 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 168 states and 250 transitions. [2020-10-19 20:09:14,367 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 139 [2020-10-19 20:09:14,371 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 168 states to 168 states and 250 transitions. [2020-10-19 20:09:14,371 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 168 [2020-10-19 20:09:14,372 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 168 [2020-10-19 20:09:14,372 INFO L73 IsDeterministic]: Start isDeterministic. Operand 168 states and 250 transitions. [2020-10-19 20:09:14,373 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:14,373 INFO L691 BuchiCegarLoop]: Abstraction has 168 states and 250 transitions. [2020-10-19 20:09:14,374 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 168 states and 250 transitions. [2020-10-19 20:09:14,388 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 168 to 168. [2020-10-19 20:09:14,388 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 168 states. [2020-10-19 20:09:14,389 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 168 states to 168 states and 250 transitions. [2020-10-19 20:09:14,389 INFO L714 BuchiCegarLoop]: Abstraction has 168 states and 250 transitions. [2020-10-19 20:09:14,390 INFO L594 BuchiCegarLoop]: Abstraction has 168 states and 250 transitions. [2020-10-19 20:09:14,390 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-19 20:09:14,390 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 168 states and 250 transitions. [2020-10-19 20:09:14,391 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 139 [2020-10-19 20:09:14,391 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:14,391 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:14,395 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:14,395 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:14,396 INFO L794 eck$LassoCheckResult]: Stem: 875#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 732#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 733#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 820#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 821#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 873#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 740#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 741#L110 assume !(1 == ~P_1_pc~0); 800#L110-2 is_P_1_triggered_~__retres1~0 := 0; 799#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 801#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 754#L483 assume !(0 != activate_threads_~tmp~1); 755#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 759#L178 assume 1 == ~P_2_pc~0; 864#L179 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 865#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 867#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 807#L491 assume !(0 != activate_threads_~tmp___0~1); 766#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 767#L260 assume 1 == ~C_1_pc~0; 793#L261 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 750#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 752#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 753#L499 assume !(0 != activate_threads_~tmp___1~1); 735#L553-1 [2020-10-19 20:09:14,396 INFO L796 eck$LassoCheckResult]: Loop: 735#L553-1 assume !false; 844#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 830#L389 assume !false; 833#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 842#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 781#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 782#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 720#L354 assume !(0 != eval_~tmp___2~0); 722#L405 start_simulation_~kernel_st~0 := 2; 813#L290-1 start_simulation_~kernel_st~0 := 3; 814#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 862#L110-6 assume 1 == ~P_1_pc~0; 826#L111-2 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 827#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 832#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 738#L483-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 739#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 745#L178-6 assume 1 == ~P_2_pc~0; 854#L179-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 855#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 857#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 789#L491-6 assume !(0 != activate_threads_~tmp___0~1); 756#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 728#L260-6 assume 1 == ~C_1_pc~0; 729#L261-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 784#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 785#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 786#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 805#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 808#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 787#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 788#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 878#L572 assume !(0 == start_simulation_~tmp~3); 863#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 810#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 794#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 795#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 796#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 797#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 806#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 734#L585 assume !(0 != start_simulation_~tmp___0~2); 735#L553-1 [2020-10-19 20:09:14,396 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,396 INFO L82 PathProgramCache]: Analyzing trace with hash 117922633, now seen corresponding path program 1 times [2020-10-19 20:09:14,397 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,397 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [212594499] [2020-10-19 20:09:14,397 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,431 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,481 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,481 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [212594499] [2020-10-19 20:09:14,481 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,482 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:09:14,482 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1273593514] [2020-10-19 20:09:14,482 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:14,483 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,483 INFO L82 PathProgramCache]: Analyzing trace with hash -1150374479, now seen corresponding path program 2 times [2020-10-19 20:09:14,483 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,483 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1759642271] [2020-10-19 20:09:14,484 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,497 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,525 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,526 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1759642271] [2020-10-19 20:09:14,526 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,526 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:14,526 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [177878990] [2020-10-19 20:09:14,527 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:14,527 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:14,528 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-10-19 20:09:14,528 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-10-19 20:09:14,528 INFO L87 Difference]: Start difference. First operand 168 states and 250 transitions. cyclomatic complexity: 83 Second operand 4 states. [2020-10-19 20:09:14,675 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:14,676 INFO L93 Difference]: Finished difference Result 435 states and 632 transitions. [2020-10-19 20:09:14,676 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-10-19 20:09:14,676 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 435 states and 632 transitions. [2020-10-19 20:09:14,682 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 377 [2020-10-19 20:09:14,687 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 435 states to 435 states and 632 transitions. [2020-10-19 20:09:14,687 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 435 [2020-10-19 20:09:14,689 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 435 [2020-10-19 20:09:14,689 INFO L73 IsDeterministic]: Start isDeterministic. Operand 435 states and 632 transitions. [2020-10-19 20:09:14,692 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:14,692 INFO L691 BuchiCegarLoop]: Abstraction has 435 states and 632 transitions. [2020-10-19 20:09:14,693 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 435 states and 632 transitions. [2020-10-19 20:09:14,712 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 435 to 395. [2020-10-19 20:09:14,713 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 395 states. [2020-10-19 20:09:14,714 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 395 states to 395 states and 578 transitions. [2020-10-19 20:09:14,715 INFO L714 BuchiCegarLoop]: Abstraction has 395 states and 578 transitions. [2020-10-19 20:09:14,715 INFO L594 BuchiCegarLoop]: Abstraction has 395 states and 578 transitions. [2020-10-19 20:09:14,715 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-19 20:09:14,715 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 395 states and 578 transitions. [2020-10-19 20:09:14,718 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 362 [2020-10-19 20:09:14,719 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:14,719 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:14,720 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:14,720 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:14,720 INFO L794 eck$LassoCheckResult]: Stem: 1494#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 1348#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 1349#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 1441#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 1442#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 1492#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 1356#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 1357#L110 assume !(1 == ~P_1_pc~0); 1496#L110-2 is_P_1_triggered_~__retres1~0 := 0; 1497#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1416#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1371#L483 assume !(0 != activate_threads_~tmp~1); 1372#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 1375#L178 assume !(1 == ~P_2_pc~0); 1503#L178-2 is_P_2_triggered_~__retres1~1 := 0; 1504#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 1484#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 1423#L491 assume !(0 != activate_threads_~tmp___0~1); 1382#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 1383#L260 assume 1 == ~C_1_pc~0; 1415#L261 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 1366#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 1368#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 1369#L499 assume !(0 != activate_threads_~tmp___1~1); 1351#L553-1 [2020-10-19 20:09:14,721 INFO L796 eck$LassoCheckResult]: Loop: 1351#L553-1 assume !false; 1461#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 1444#L389 assume !false; 1455#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1459#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 1397#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1398#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 1336#L354 assume !(0 != eval_~tmp___2~0); 1338#L405 start_simulation_~kernel_st~0 := 2; 1429#L290-1 start_simulation_~kernel_st~0 := 3; 1430#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 1482#L110-6 assume !(1 == ~P_1_pc~0); 1472#L110-8 is_P_1_triggered_~__retres1~0 := 0; 1473#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1449#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1354#L483-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 1355#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 1361#L178-6 assume !(1 == ~P_2_pc~0); 1508#L178-8 is_P_2_triggered_~__retres1~1 := 0; 1505#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 1477#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 1408#L491-6 assume !(0 != activate_threads_~tmp___0~1); 1370#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 1344#L260-6 assume 1 == ~C_1_pc~0; 1345#L261-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 1400#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 1403#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 1404#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 1419#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1422#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 1405#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1406#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 1502#L572 assume !(0 == start_simulation_~tmp~3); 1483#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1425#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 1411#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1412#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 1413#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 1414#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 1421#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 1350#L585 assume !(0 != start_simulation_~tmp___0~2); 1351#L553-1 [2020-10-19 20:09:14,721 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,721 INFO L82 PathProgramCache]: Analyzing trace with hash -754916022, now seen corresponding path program 1 times [2020-10-19 20:09:14,722 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,722 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [708195945] [2020-10-19 20:09:14,722 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,740 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,771 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,771 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [708195945] [2020-10-19 20:09:14,772 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,772 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:09:14,772 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [516720336] [2020-10-19 20:09:14,772 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:14,773 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:14,773 INFO L82 PathProgramCache]: Analyzing trace with hash 1497053615, now seen corresponding path program 1 times [2020-10-19 20:09:14,773 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:14,774 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1546970539] [2020-10-19 20:09:14,774 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:14,786 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:14,823 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:14,824 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1546970539] [2020-10-19 20:09:14,825 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:14,825 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:14,825 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1398597465] [2020-10-19 20:09:14,826 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:14,826 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:14,826 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-10-19 20:09:14,827 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-10-19 20:09:14,827 INFO L87 Difference]: Start difference. First operand 395 states and 578 transitions. cyclomatic complexity: 185 Second operand 4 states. [2020-10-19 20:09:15,011 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:15,011 INFO L93 Difference]: Finished difference Result 1091 states and 1558 transitions. [2020-10-19 20:09:15,012 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-10-19 20:09:15,012 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1091 states and 1558 transitions. [2020-10-19 20:09:15,026 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1015 [2020-10-19 20:09:15,035 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1091 states to 1091 states and 1558 transitions. [2020-10-19 20:09:15,036 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1091 [2020-10-19 20:09:15,038 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1091 [2020-10-19 20:09:15,038 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1091 states and 1558 transitions. [2020-10-19 20:09:15,040 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:15,041 INFO L691 BuchiCegarLoop]: Abstraction has 1091 states and 1558 transitions. [2020-10-19 20:09:15,042 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1091 states and 1558 transitions. [2020-10-19 20:09:15,068 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1091 to 1032. [2020-10-19 20:09:15,068 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1032 states. [2020-10-19 20:09:15,073 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1032 states to 1032 states and 1486 transitions. [2020-10-19 20:09:15,073 INFO L714 BuchiCegarLoop]: Abstraction has 1032 states and 1486 transitions. [2020-10-19 20:09:15,073 INFO L594 BuchiCegarLoop]: Abstraction has 1032 states and 1486 transitions. [2020-10-19 20:09:15,073 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-19 20:09:15,074 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1032 states and 1486 transitions. [2020-10-19 20:09:15,082 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 994 [2020-10-19 20:09:15,082 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:15,082 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:15,083 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:15,083 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:15,084 INFO L794 eck$LassoCheckResult]: Stem: 3001#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 2845#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 2846#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 2937#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 2938#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 2997#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 2853#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 2854#L110 assume !(1 == ~P_1_pc~0); 3003#L110-2 is_P_1_triggered_~__retres1~0 := 0; 3004#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2912#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2869#L483 assume !(0 != activate_threads_~tmp~1); 2870#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 2873#L178 assume !(1 == ~P_2_pc~0); 3020#L178-2 is_P_2_triggered_~__retres1~1 := 0; 3021#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 2986#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 2919#L491 assume !(0 != activate_threads_~tmp___0~1); 2880#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 2881#L260 assume !(1 == ~C_1_pc~0); 2896#L260-2 assume 2 == ~C_1_pc~0; 2863#L271 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~2 := 1; 2864#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 2866#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 2867#L499 assume !(0 != activate_threads_~tmp___1~1); 2923#L553-1 [2020-10-19 20:09:15,084 INFO L796 eck$LassoCheckResult]: Loop: 2923#L553-1 assume !false; 3641#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 3594#L389 assume !false; 3636#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 3634#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 3632#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 3624#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 3618#L354 assume !(0 != eval_~tmp___2~0); 2984#L405 start_simulation_~kernel_st~0 := 2; 2985#L290-1 start_simulation_~kernel_st~0 := 3; 3838#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 3796#L110-6 assume !(1 == ~P_1_pc~0); 3761#L110-8 is_P_1_triggered_~__retres1~0 := 0; 3760#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3759#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3758#L483-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 3744#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 3742#L178-6 assume !(1 == ~P_2_pc~0); 3740#L178-8 is_P_2_triggered_~__retres1~1 := 0; 3738#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 3735#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 3731#L491-6 assume !(0 != activate_threads_~tmp___0~1); 3727#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 3723#L260-6 assume !(1 == ~C_1_pc~0); 3719#L260-8 assume 2 == ~C_1_pc~0; 3714#L271-2 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~2 := 1; 3710#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 3706#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 3701#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 3697#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 3692#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 3687#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 3683#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 3678#L572 assume !(0 == start_simulation_~tmp~3); 3675#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 3672#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 3668#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 3665#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 3662#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 3659#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 3656#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 3642#L585 assume !(0 != start_simulation_~tmp___0~2); 2923#L553-1 [2020-10-19 20:09:15,084 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:15,085 INFO L82 PathProgramCache]: Analyzing trace with hash -1720008278, now seen corresponding path program 1 times [2020-10-19 20:09:15,085 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:15,085 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1993455603] [2020-10-19 20:09:15,085 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:15,096 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:15,125 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:15,126 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1993455603] [2020-10-19 20:09:15,127 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:15,127 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:15,127 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1782908162] [2020-10-19 20:09:15,128 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:15,128 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:15,128 INFO L82 PathProgramCache]: Analyzing trace with hash 1739039387, now seen corresponding path program 1 times [2020-10-19 20:09:15,129 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:15,130 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [498355485] [2020-10-19 20:09:15,131 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:15,148 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:15,180 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:15,180 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [498355485] [2020-10-19 20:09:15,181 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:15,181 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:15,181 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [651609982] [2020-10-19 20:09:15,181 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:15,182 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:15,182 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:15,182 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:15,182 INFO L87 Difference]: Start difference. First operand 1032 states and 1486 transitions. cyclomatic complexity: 458 Second operand 3 states. [2020-10-19 20:09:15,262 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:15,262 INFO L93 Difference]: Finished difference Result 1366 states and 1936 transitions. [2020-10-19 20:09:15,263 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:15,263 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1366 states and 1936 transitions. [2020-10-19 20:09:15,279 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1323 [2020-10-19 20:09:15,294 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1366 states to 1366 states and 1936 transitions. [2020-10-19 20:09:15,294 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1366 [2020-10-19 20:09:15,298 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1366 [2020-10-19 20:09:15,298 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1366 states and 1936 transitions. [2020-10-19 20:09:15,303 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:15,303 INFO L691 BuchiCegarLoop]: Abstraction has 1366 states and 1936 transitions. [2020-10-19 20:09:15,305 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1366 states and 1936 transitions. [2020-10-19 20:09:15,327 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1366 to 1342. [2020-10-19 20:09:15,327 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1342 states. [2020-10-19 20:09:15,333 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1342 states to 1342 states and 1906 transitions. [2020-10-19 20:09:15,333 INFO L714 BuchiCegarLoop]: Abstraction has 1342 states and 1906 transitions. [2020-10-19 20:09:15,333 INFO L594 BuchiCegarLoop]: Abstraction has 1342 states and 1906 transitions. [2020-10-19 20:09:15,333 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-19 20:09:15,333 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1342 states and 1906 transitions. [2020-10-19 20:09:15,343 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1299 [2020-10-19 20:09:15,343 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:15,343 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:15,348 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:15,348 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:15,349 INFO L794 eck$LassoCheckResult]: Stem: 5417#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 5252#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 5253#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 5350#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 5351#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 5414#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 5260#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 5261#L110 assume !(1 == ~P_1_pc~0); 5421#L110-2 is_P_1_triggered_~__retres1~0 := 0; 5422#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 5321#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5272#L483 assume !(0 != activate_threads_~tmp~1); 5273#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 5276#L178 assume !(1 == ~P_2_pc~0); 5443#L178-2 is_P_2_triggered_~__retres1~1 := 0; 5444#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 5402#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 5330#L491 assume !(0 != activate_threads_~tmp___0~1); 5282#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 5283#L260 assume !(1 == ~C_1_pc~0); 5301#L260-2 assume !(2 == ~C_1_pc~0); 5302#L270-1 is_C_1_triggered_~__retres1~2 := 0; 5406#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 5268#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 5269#L499 assume !(0 != activate_threads_~tmp___1~1); 5335#L553-1 [2020-10-19 20:09:15,355 INFO L796 eck$LassoCheckResult]: Loop: 5335#L553-1 assume !false; 6514#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 6499#L389 assume !false; 6513#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 6510#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 6508#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 6507#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 5241#L354 assume !(0 != eval_~tmp___2~0); 5243#L405 start_simulation_~kernel_st~0 := 2; 5338#L290-1 start_simulation_~kernel_st~0 := 3; 5339#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 5399#L110-6 assume !(1 == ~P_1_pc~0); 5388#L110-8 is_P_1_triggered_~__retres1~0 := 0; 5389#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 5359#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5258#L483-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 5259#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 5265#L178-6 assume !(1 == ~P_2_pc~0); 5447#L178-8 is_P_2_triggered_~__retres1~1 := 0; 5448#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 6494#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 5311#L491-6 assume !(0 != activate_threads_~tmp___0~1); 5270#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 5271#L260-6 assume !(1 == ~C_1_pc~0); 6542#L260-8 assume !(2 == ~C_1_pc~0); 6540#L270-5 is_C_1_triggered_~__retres1~2 := 0; 5405#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 5307#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 5308#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 5328#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 5329#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 5309#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 5310#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 5429#L572 assume !(0 == start_simulation_~tmp~3); 5401#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 5333#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 5317#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 5318#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 5319#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 5320#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 5413#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 6515#L585 assume !(0 != start_simulation_~tmp___0~2); 5335#L553-1 [2020-10-19 20:09:15,356 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:15,356 INFO L82 PathProgramCache]: Analyzing trace with hash -1713364885, now seen corresponding path program 1 times [2020-10-19 20:09:15,356 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:15,356 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [726840393] [2020-10-19 20:09:15,357 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:15,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:15,386 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:15,416 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:15,416 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:15,471 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:15,472 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:15,473 INFO L82 PathProgramCache]: Analyzing trace with hash -1415576198, now seen corresponding path program 1 times [2020-10-19 20:09:15,474 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:15,474 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1225199587] [2020-10-19 20:09:15,475 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:15,503 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:15,532 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:15,533 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1225199587] [2020-10-19 20:09:15,533 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:15,533 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:15,534 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1584170378] [2020-10-19 20:09:15,534 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:15,535 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:15,535 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:15,535 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:15,535 INFO L87 Difference]: Start difference. First operand 1342 states and 1906 transitions. cyclomatic complexity: 568 Second operand 5 states. [2020-10-19 20:09:15,656 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:15,656 INFO L93 Difference]: Finished difference Result 2379 states and 3348 transitions. [2020-10-19 20:09:15,657 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:09:15,657 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2379 states and 3348 transitions. [2020-10-19 20:09:15,680 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2318 [2020-10-19 20:09:15,698 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2379 states to 2379 states and 3348 transitions. [2020-10-19 20:09:15,698 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2379 [2020-10-19 20:09:15,702 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2379 [2020-10-19 20:09:15,702 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2379 states and 3348 transitions. [2020-10-19 20:09:15,706 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:15,707 INFO L691 BuchiCegarLoop]: Abstraction has 2379 states and 3348 transitions. [2020-10-19 20:09:15,709 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2379 states and 3348 transitions. [2020-10-19 20:09:15,734 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2379 to 1378. [2020-10-19 20:09:15,734 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1378 states. [2020-10-19 20:09:15,738 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1378 states to 1378 states and 1942 transitions. [2020-10-19 20:09:15,739 INFO L714 BuchiCegarLoop]: Abstraction has 1378 states and 1942 transitions. [2020-10-19 20:09:15,739 INFO L594 BuchiCegarLoop]: Abstraction has 1378 states and 1942 transitions. [2020-10-19 20:09:15,739 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-19 20:09:15,739 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1378 states and 1942 transitions. [2020-10-19 20:09:15,747 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1335 [2020-10-19 20:09:15,747 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:15,748 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:15,749 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:15,749 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:15,749 INFO L794 eck$LassoCheckResult]: Stem: 9169#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 8988#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 8989#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 9085#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 9086#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 9167#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 8996#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 8997#L110 assume !(1 == ~P_1_pc~0); 9171#L110-2 is_P_1_triggered_~__retres1~0 := 0; 9172#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 9059#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 9007#L483 assume !(0 != activate_threads_~tmp~1); 9008#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 9013#L178 assume !(1 == ~P_2_pc~0); 9196#L178-2 is_P_2_triggered_~__retres1~1 := 0; 9197#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 9147#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 9068#L491 assume !(0 != activate_threads_~tmp___0~1); 9019#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 9020#L260 assume !(1 == ~C_1_pc~0); 9035#L260-2 assume !(2 == ~C_1_pc~0); 9036#L270-1 is_C_1_triggered_~__retres1~2 := 0; 9156#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 9005#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 9006#L499 assume !(0 != activate_threads_~tmp___1~1); 8991#L553-1 [2020-10-19 20:09:15,750 INFO L796 eck$LassoCheckResult]: Loop: 8991#L553-1 assume !false; 9114#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 9098#L389 assume !false; 9099#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9111#L320 assume !(0 == ~P_1_st~0); 9113#L324 assume !(0 == ~P_2_st~0); 9193#L328 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~3 := 0; 10245#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 10244#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 10219#L354 assume !(0 != eval_~tmp___2~0); 10220#L405 start_simulation_~kernel_st~0 := 2; 9075#L290-1 start_simulation_~kernel_st~0 := 3; 9076#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 9143#L110-6 assume !(1 == ~P_1_pc~0); 9144#L110-8 is_P_1_triggered_~__retres1~0 := 0; 9174#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 9175#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 8994#L483-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 8995#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 9205#L178-6 assume !(1 == ~P_2_pc~0); 9206#L178-8 is_P_2_triggered_~__retres1~1 := 0; 9198#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 9199#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 9048#L491-6 assume !(0 != activate_threads_~tmp___0~1); 9049#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 8984#L260-6 assume !(1 == ~C_1_pc~0); 8985#L260-8 assume !(2 == ~C_1_pc~0); 9115#L270-5 is_C_1_triggered_~__retres1~2 := 0; 9116#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 9044#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 9045#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 9066#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9067#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 9046#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 9047#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 9182#L572 assume !(0 == start_simulation_~tmp~3); 9142#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 10326#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 10323#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 10322#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 10321#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 10320#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 9065#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 8990#L585 assume !(0 != start_simulation_~tmp___0~2); 8991#L553-1 [2020-10-19 20:09:15,750 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:15,750 INFO L82 PathProgramCache]: Analyzing trace with hash -1713364885, now seen corresponding path program 2 times [2020-10-19 20:09:15,750 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:15,751 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [692891897] [2020-10-19 20:09:15,751 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:15,761 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:15,762 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:15,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:15,775 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:15,795 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:15,795 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:15,796 INFO L82 PathProgramCache]: Analyzing trace with hash -2009211725, now seen corresponding path program 1 times [2020-10-19 20:09:15,797 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:15,802 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1688899374] [2020-10-19 20:09:15,802 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:15,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:15,883 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:15,884 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1688899374] [2020-10-19 20:09:15,884 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:15,884 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:09:15,884 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1124644041] [2020-10-19 20:09:15,885 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:15,885 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:15,885 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:09:15,886 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:09:15,886 INFO L87 Difference]: Start difference. First operand 1378 states and 1942 transitions. cyclomatic complexity: 568 Second operand 5 states. [2020-10-19 20:09:16,011 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:16,011 INFO L93 Difference]: Finished difference Result 2688 states and 3781 transitions. [2020-10-19 20:09:16,012 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-19 20:09:16,012 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2688 states and 3781 transitions. [2020-10-19 20:09:16,035 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2645 [2020-10-19 20:09:16,054 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2688 states to 2688 states and 3781 transitions. [2020-10-19 20:09:16,054 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2688 [2020-10-19 20:09:16,057 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2688 [2020-10-19 20:09:16,058 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2688 states and 3781 transitions. [2020-10-19 20:09:16,063 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:16,063 INFO L691 BuchiCegarLoop]: Abstraction has 2688 states and 3781 transitions. [2020-10-19 20:09:16,065 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2688 states and 3781 transitions. [2020-10-19 20:09:16,095 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2688 to 1432. [2020-10-19 20:09:16,095 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1432 states. [2020-10-19 20:09:16,100 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1432 states to 1432 states and 1981 transitions. [2020-10-19 20:09:16,100 INFO L714 BuchiCegarLoop]: Abstraction has 1432 states and 1981 transitions. [2020-10-19 20:09:16,100 INFO L594 BuchiCegarLoop]: Abstraction has 1432 states and 1981 transitions. [2020-10-19 20:09:16,100 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-19 20:09:16,100 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1432 states and 1981 transitions. [2020-10-19 20:09:16,109 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1389 [2020-10-19 20:09:16,109 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:16,109 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:16,110 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:16,110 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:16,110 INFO L794 eck$LassoCheckResult]: Stem: 13230#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 13066#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 13067#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 13161#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 13162#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 13226#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 13074#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 13075#L110 assume !(1 == ~P_1_pc~0); 13233#L110-2 is_P_1_triggered_~__retres1~0 := 0; 13234#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 13134#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 13084#L483 assume !(0 != activate_threads_~tmp~1); 13085#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 13089#L178 assume !(1 == ~P_2_pc~0); 13252#L178-2 is_P_2_triggered_~__retres1~1 := 0; 13253#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 13216#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 13140#L491 assume !(0 != activate_threads_~tmp___0~1); 13096#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 13097#L260 assume !(1 == ~C_1_pc~0); 13114#L260-2 assume !(2 == ~C_1_pc~0); 13115#L270-1 is_C_1_triggered_~__retres1~2 := 0; 13218#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 13082#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 13083#L499 assume !(0 != activate_threads_~tmp___1~1); 13146#L553-1 [2020-10-19 20:09:16,111 INFO L796 eck$LassoCheckResult]: Loop: 13146#L553-1 assume !false; 13632#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 13408#L389 assume !false; 14172#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 14167#L320 assume !(0 == ~P_1_st~0); 14168#L324 assume !(0 == ~P_2_st~0); 14169#L328 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~3 := 0; 14170#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 13542#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 13543#L354 assume !(0 != eval_~tmp___2~0); 14163#L405 start_simulation_~kernel_st~0 := 2; 13721#L290-1 start_simulation_~kernel_st~0 := 3; 13722#L416 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 13717#L110-6 assume !(1 == ~P_1_pc~0); 13718#L110-8 is_P_1_triggered_~__retres1~0 := 0; 13712#L121-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 13713#L122-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 13706#L483-6 assume !(0 != activate_threads_~tmp~1); 13707#L483-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 13700#L178-6 assume !(1 == ~P_2_pc~0); 13701#L178-8 is_P_2_triggered_~__retres1~1 := 0; 13694#L189-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 13695#L190-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 13688#L491-6 assume !(0 != activate_threads_~tmp___0~1); 13689#L491-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 13682#L260-6 assume !(1 == ~C_1_pc~0); 13683#L260-8 assume !(2 == ~C_1_pc~0); 13675#L270-5 is_C_1_triggered_~__retres1~2 := 0; 13676#L281-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 13668#L282-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 13669#L499-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 13661#L499-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 13662#L320-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 13653#L337-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 13654#L338-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 13646#L572 assume !(0 == start_simulation_~tmp~3); 13644#L572-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 13643#L320-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 13640#L337-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 13639#L338-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 13638#L527 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 13637#L534 stop_simulation_#res := stop_simulation_~__retres2~0; 13636#L535 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 13635#L585 assume !(0 != start_simulation_~tmp___0~2); 13146#L553-1 [2020-10-19 20:09:16,111 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,111 INFO L82 PathProgramCache]: Analyzing trace with hash -1713364885, now seen corresponding path program 3 times [2020-10-19 20:09:16,111 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,112 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [898741377] [2020-10-19 20:09:16,112 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,121 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,121 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,129 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,129 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,137 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:16,138 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,138 INFO L82 PathProgramCache]: Analyzing trace with hash -85983691, now seen corresponding path program 1 times [2020-10-19 20:09:16,138 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,139 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2122871295] [2020-10-19 20:09:16,139 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:16,196 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:16,197 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2122871295] [2020-10-19 20:09:16,197 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:16,197 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:16,197 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2064000688] [2020-10-19 20:09:16,198 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:09:16,198 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:16,198 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:16,198 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:16,198 INFO L87 Difference]: Start difference. First operand 1432 states and 1981 transitions. cyclomatic complexity: 553 Second operand 3 states. [2020-10-19 20:09:16,254 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:16,255 INFO L93 Difference]: Finished difference Result 2217 states and 3028 transitions. [2020-10-19 20:09:16,255 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:16,255 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2217 states and 3028 transitions. [2020-10-19 20:09:16,274 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2130 [2020-10-19 20:09:16,290 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2217 states to 2217 states and 3028 transitions. [2020-10-19 20:09:16,290 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2217 [2020-10-19 20:09:16,293 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2217 [2020-10-19 20:09:16,293 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2217 states and 3028 transitions. [2020-10-19 20:09:16,297 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:16,297 INFO L691 BuchiCegarLoop]: Abstraction has 2217 states and 3028 transitions. [2020-10-19 20:09:16,299 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2217 states and 3028 transitions. [2020-10-19 20:09:16,330 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2217 to 2217. [2020-10-19 20:09:16,330 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2217 states. [2020-10-19 20:09:16,338 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2217 states to 2217 states and 3028 transitions. [2020-10-19 20:09:16,339 INFO L714 BuchiCegarLoop]: Abstraction has 2217 states and 3028 transitions. [2020-10-19 20:09:16,339 INFO L594 BuchiCegarLoop]: Abstraction has 2217 states and 3028 transitions. [2020-10-19 20:09:16,339 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-19 20:09:16,339 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2217 states and 3028 transitions. [2020-10-19 20:09:16,362 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2130 [2020-10-19 20:09:16,362 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:16,362 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:16,363 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:16,363 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:16,364 INFO L794 eck$LassoCheckResult]: Stem: 16881#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 16720#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 16721#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 16812#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 16813#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 16878#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 16728#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 16729#L110 assume !(1 == ~P_1_pc~0); 16883#L110-2 is_P_1_triggered_~__retres1~0 := 0; 16884#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 16788#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 16738#L483 assume !(0 != activate_threads_~tmp~1); 16739#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 16743#L178 assume !(1 == ~P_2_pc~0); 16910#L178-2 is_P_2_triggered_~__retres1~1 := 0; 16911#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 16865#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 16794#L491 assume !(0 != activate_threads_~tmp___0~1); 16749#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 16750#L260 assume !(1 == ~C_1_pc~0); 16766#L260-2 assume !(2 == ~C_1_pc~0); 16767#L270-1 is_C_1_triggered_~__retres1~2 := 0; 16870#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 16736#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 16737#L499 assume !(0 != activate_threads_~tmp___1~1); 16800#L553-1 assume !false; 18332#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 18295#L389 [2020-10-19 20:09:16,364 INFO L796 eck$LassoCheckResult]: Loop: 18295#L389 assume !false; 18286#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 18224#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 18217#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 18211#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 18203#L354 assume 0 != eval_~tmp___2~0; 18204#L354-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 18464#L363 assume !(0 != eval_~tmp~0); 18462#L359 assume !(0 == ~P_2_st~0); 18334#L374 assume !(0 == ~C_1_st~0); 18295#L389 [2020-10-19 20:09:16,364 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,364 INFO L82 PathProgramCache]: Analyzing trace with hash -1571176403, now seen corresponding path program 1 times [2020-10-19 20:09:16,365 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,365 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2008093556] [2020-10-19 20:09:16,365 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,377 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,386 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,394 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:16,394 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,394 INFO L82 PathProgramCache]: Analyzing trace with hash 1012948955, now seen corresponding path program 1 times [2020-10-19 20:09:16,395 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,395 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1643221153] [2020-10-19 20:09:16,395 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,398 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,398 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,400 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,403 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:16,403 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,403 INFO L82 PathProgramCache]: Analyzing trace with hash -1596401401, now seen corresponding path program 1 times [2020-10-19 20:09:16,404 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,404 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [386051299] [2020-10-19 20:09:16,404 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,412 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:16,430 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:16,431 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [386051299] [2020-10-19 20:09:16,431 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:16,431 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:16,432 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1732850342] [2020-10-19 20:09:16,505 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:16,505 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:16,505 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:16,506 INFO L87 Difference]: Start difference. First operand 2217 states and 3028 transitions. cyclomatic complexity: 818 Second operand 3 states. [2020-10-19 20:09:16,570 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:16,571 INFO L93 Difference]: Finished difference Result 3686 states and 4965 transitions. [2020-10-19 20:09:16,571 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:16,571 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3686 states and 4965 transitions. [2020-10-19 20:09:16,605 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3553 [2020-10-19 20:09:16,638 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3686 states to 3686 states and 4965 transitions. [2020-10-19 20:09:16,638 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3686 [2020-10-19 20:09:16,643 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3686 [2020-10-19 20:09:16,643 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3686 states and 4965 transitions. [2020-10-19 20:09:16,652 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:16,652 INFO L691 BuchiCegarLoop]: Abstraction has 3686 states and 4965 transitions. [2020-10-19 20:09:16,656 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3686 states and 4965 transitions. [2020-10-19 20:09:16,722 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3686 to 3610. [2020-10-19 20:09:16,723 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3610 states. [2020-10-19 20:09:16,734 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3610 states to 3610 states and 4871 transitions. [2020-10-19 20:09:16,734 INFO L714 BuchiCegarLoop]: Abstraction has 3610 states and 4871 transitions. [2020-10-19 20:09:16,734 INFO L594 BuchiCegarLoop]: Abstraction has 3610 states and 4871 transitions. [2020-10-19 20:09:16,734 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-10-19 20:09:16,734 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3610 states and 4871 transitions. [2020-10-19 20:09:16,754 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3477 [2020-10-19 20:09:16,754 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:16,754 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:16,754 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:16,755 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:16,755 INFO L794 eck$LassoCheckResult]: Stem: 22807#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 22632#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 22633#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 22731#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 22732#L297-1 assume !(1 == ~P_2_i~0);~P_2_st~0 := 2; 22804#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 22845#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 22813#L110 assume !(1 == ~P_1_pc~0); 22814#L110-2 is_P_1_triggered_~__retres1~0 := 0; 22815#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 22816#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 22650#L483 assume !(0 != activate_threads_~tmp~1); 22651#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 24984#L178 assume !(1 == ~P_2_pc~0); 24980#L178-2 is_P_2_triggered_~__retres1~1 := 0; 24978#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 22789#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 22712#L491 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 22662#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 22663#L260 assume !(1 == ~C_1_pc~0); 22679#L260-2 assume !(2 == ~C_1_pc~0); 22680#L270-1 is_C_1_triggered_~__retres1~2 := 0; 22798#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 22799#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 22719#L499 assume !(0 != activate_threads_~tmp___1~1); 22720#L553-1 assume !false; 24820#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 24776#L389 [2020-10-19 20:09:16,755 INFO L796 eck$LassoCheckResult]: Loop: 24776#L389 assume !false; 24769#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 24768#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 24765#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 24764#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 24722#L354 assume 0 != eval_~tmp___2~0; 24723#L354-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 24759#L363 assume !(0 != eval_~tmp~0); 24216#L359 assume 0 == ~P_2_st~0;eval_~tmp___0~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 23795#L378 assume !(0 != eval_~tmp___0~0); 24778#L374 assume !(0 == ~C_1_st~0); 24776#L389 [2020-10-19 20:09:16,755 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,755 INFO L82 PathProgramCache]: Analyzing trace with hash 1311379569, now seen corresponding path program 1 times [2020-10-19 20:09:16,756 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,756 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1295461074] [2020-10-19 20:09:16,756 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:16,773 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:16,773 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1295461074] [2020-10-19 20:09:16,773 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:16,774 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-19 20:09:16,774 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1043203471] [2020-10-19 20:09:16,774 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:09:16,774 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:16,774 INFO L82 PathProgramCache]: Analyzing trace with hash 1336506855, now seen corresponding path program 1 times [2020-10-19 20:09:16,775 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:16,775 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [361062772] [2020-10-19 20:09:16,775 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:16,778 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,778 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,780 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:16,780 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:16,783 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:16,852 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:16,853 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:16,853 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:16,853 INFO L87 Difference]: Start difference. First operand 3610 states and 4871 transitions. cyclomatic complexity: 1268 Second operand 3 states. [2020-10-19 20:09:16,876 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:16,877 INFO L93 Difference]: Finished difference Result 3588 states and 4846 transitions. [2020-10-19 20:09:16,877 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:16,877 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3588 states and 4846 transitions. [2020-10-19 20:09:16,903 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3477 [2020-10-19 20:09:16,923 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3588 states to 3588 states and 4846 transitions. [2020-10-19 20:09:16,924 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3588 [2020-10-19 20:09:16,927 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3588 [2020-10-19 20:09:16,927 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3588 states and 4846 transitions. [2020-10-19 20:09:16,933 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:16,934 INFO L691 BuchiCegarLoop]: Abstraction has 3588 states and 4846 transitions. [2020-10-19 20:09:16,936 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3588 states and 4846 transitions. [2020-10-19 20:09:16,985 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3588 to 3588. [2020-10-19 20:09:16,985 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3588 states. [2020-10-19 20:09:16,993 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3588 states to 3588 states and 4846 transitions. [2020-10-19 20:09:16,994 INFO L714 BuchiCegarLoop]: Abstraction has 3588 states and 4846 transitions. [2020-10-19 20:09:16,994 INFO L594 BuchiCegarLoop]: Abstraction has 3588 states and 4846 transitions. [2020-10-19 20:09:16,994 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-10-19 20:09:16,994 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3588 states and 4846 transitions. [2020-10-19 20:09:17,014 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3477 [2020-10-19 20:09:17,014 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:17,014 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:17,015 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:17,015 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:17,015 INFO L794 eck$LassoCheckResult]: Stem: 30003#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 29835#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 29836#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 29930#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 29931#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 30000#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 29843#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 29844#L110 assume !(1 == ~P_1_pc~0); 30005#L110-2 is_P_1_triggered_~__retres1~0 := 0; 30006#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 29905#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 29853#L483 assume !(0 != activate_threads_~tmp~1); 29854#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 29858#L178 assume !(1 == ~P_2_pc~0); 30032#L178-2 is_P_2_triggered_~__retres1~1 := 0; 30033#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 29985#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 29912#L491 assume !(0 != activate_threads_~tmp___0~1); 29864#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 29865#L260 assume !(1 == ~C_1_pc~0); 29881#L260-2 assume !(2 == ~C_1_pc~0); 29882#L270-1 is_C_1_triggered_~__retres1~2 := 0; 29990#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 29851#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 29852#L499 assume !(0 != activate_threads_~tmp___1~1); 29918#L553-1 assume !false; 32494#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 32491#L389 [2020-10-19 20:09:17,015 INFO L796 eck$LassoCheckResult]: Loop: 32491#L389 assume !false; 32489#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 32486#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 32484#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 32482#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 32480#L354 assume 0 != eval_~tmp___2~0; 32475#L354-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 32469#L363 assume !(0 != eval_~tmp~0); 32462#L359 assume 0 == ~P_2_st~0;eval_~tmp___0~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 31163#L378 assume !(0 != eval_~tmp___0~0); 31164#L374 assume !(0 == ~C_1_st~0); 32491#L389 [2020-10-19 20:09:17,015 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:17,016 INFO L82 PathProgramCache]: Analyzing trace with hash -1571176403, now seen corresponding path program 2 times [2020-10-19 20:09:17,016 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:17,016 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [442856040] [2020-10-19 20:09:17,016 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:17,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,025 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,032 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,032 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,039 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:17,040 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:17,040 INFO L82 PathProgramCache]: Analyzing trace with hash 1336506855, now seen corresponding path program 2 times [2020-10-19 20:09:17,040 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:17,040 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [71388847] [2020-10-19 20:09:17,040 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:17,044 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,044 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,046 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,046 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,049 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:17,049 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:17,049 INFO L82 PathProgramCache]: Analyzing trace with hash 2051024443, now seen corresponding path program 1 times [2020-10-19 20:09:17,049 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:17,050 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [782868519] [2020-10-19 20:09:17,050 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:17,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:09:17,089 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:09:17,090 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [782868519] [2020-10-19 20:09:17,091 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:09:17,091 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 20:09:17,091 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1130562410] [2020-10-19 20:09:17,228 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:09:17,229 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 20:09:17,229 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 20:09:17,229 INFO L87 Difference]: Start difference. First operand 3588 states and 4846 transitions. cyclomatic complexity: 1265 Second operand 3 states. [2020-10-19 20:09:17,333 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:09:17,334 INFO L93 Difference]: Finished difference Result 6270 states and 8396 transitions. [2020-10-19 20:09:17,334 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 20:09:17,335 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 6270 states and 8396 transitions. [2020-10-19 20:09:17,391 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 6075 [2020-10-19 20:09:17,443 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 6270 states to 6270 states and 8396 transitions. [2020-10-19 20:09:17,443 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6270 [2020-10-19 20:09:17,451 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 6270 [2020-10-19 20:09:17,451 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6270 states and 8396 transitions. [2020-10-19 20:09:17,464 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:09:17,465 INFO L691 BuchiCegarLoop]: Abstraction has 6270 states and 8396 transitions. [2020-10-19 20:09:17,471 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 6270 states and 8396 transitions. [2020-10-19 20:09:17,579 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 6270 to 6270. [2020-10-19 20:09:17,579 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6270 states. [2020-10-19 20:09:17,594 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6270 states to 6270 states and 8396 transitions. [2020-10-19 20:09:17,595 INFO L714 BuchiCegarLoop]: Abstraction has 6270 states and 8396 transitions. [2020-10-19 20:09:17,595 INFO L594 BuchiCegarLoop]: Abstraction has 6270 states and 8396 transitions. [2020-10-19 20:09:17,595 INFO L427 BuchiCegarLoop]: ======== Iteration 12============ [2020-10-19 20:09:17,595 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 6270 states and 8396 transitions. [2020-10-19 20:09:17,634 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 6075 [2020-10-19 20:09:17,635 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:09:17,635 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:09:17,636 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:17,636 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:09:17,636 INFO L794 eck$LassoCheckResult]: Stem: 39869#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(12);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 39702#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 39703#L605 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 39795#L290 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 39796#L297-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 39866#L302-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 39710#L307-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 39711#L110 assume !(1 == ~P_1_pc~0); 39873#L110-2 is_P_1_triggered_~__retres1~0 := 0; 39874#L121 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 39770#L122 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 39721#L483 assume !(0 != activate_threads_~tmp~1); 39722#L483-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 39726#L178 assume !(1 == ~P_2_pc~0); 39899#L178-2 is_P_2_triggered_~__retres1~1 := 0; 39900#L189 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 39853#L190 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 39778#L491 assume !(0 != activate_threads_~tmp___0~1); 39733#L491-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 39734#L260 assume !(1 == ~C_1_pc~0); 39748#L260-2 assume !(2 == ~C_1_pc~0); 39749#L270-1 is_C_1_triggered_~__retres1~2 := 0; 39857#L281 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 39719#L282 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 39720#L499 assume !(0 != activate_threads_~tmp___1~1); 39784#L553-1 assume !false; 40626#L554 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 40627#L389 [2020-10-19 20:09:17,637 INFO L796 eck$LassoCheckResult]: Loop: 40627#L389 assume !false; 41858#L350 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 41856#L320 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 41855#L337 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 41854#L338 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 41853#L354 assume 0 != eval_~tmp___2~0; 40565#L354-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 40554#L363 assume !(0 != eval_~tmp~0); 40556#L359 assume 0 == ~P_2_st~0;eval_~tmp___0~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 41809#L378 assume !(0 != eval_~tmp___0~0); 41808#L374 assume 0 == ~C_1_st~0;eval_~tmp___1~0 := eval_#t~nondet11;havoc eval_#t~nondet11; 41807#L393 assume !(0 != eval_~tmp___1~0); 40627#L389 [2020-10-19 20:09:17,637 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:17,637 INFO L82 PathProgramCache]: Analyzing trace with hash -1571176403, now seen corresponding path program 3 times [2020-10-19 20:09:17,638 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:17,638 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [221177641] [2020-10-19 20:09:17,639 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:17,654 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,654 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,663 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,674 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:17,677 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:17,678 INFO L82 PathProgramCache]: Analyzing trace with hash -1517962496, now seen corresponding path program 1 times [2020-10-19 20:09:17,678 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:17,679 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1650204743] [2020-10-19 20:09:17,679 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:17,685 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,685 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,689 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,691 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:17,692 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:09:17,692 INFO L82 PathProgramCache]: Analyzing trace with hash -842753748, now seen corresponding path program 1 times [2020-10-19 20:09:17,692 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:09:17,692 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1332607117] [2020-10-19 20:09:17,693 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:09:17,706 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,707 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,716 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:09:17,717 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:09:17,725 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:09:18,632 WARN L193 SmtUtils]: Spent 821.00 ms on a formula simplification. DAG size of input: 162 DAG size of output: 145 [2020-10-19 20:09:18,973 WARN L193 SmtUtils]: Spent 314.00 ms on a formula simplification that was a NOOP. DAG size: 115 [2020-10-19 20:09:19,020 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 08:09:19 BoogieIcfgContainer [2020-10-19 20:09:19,020 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 20:09:19,021 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 20:09:19,021 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 20:09:19,021 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 20:09:19,022 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:09:13" (3/4) ... [2020-10-19 20:09:19,025 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-19 20:09:19,093 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-19 20:09:19,097 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 20:09:19,099 INFO L168 Benchmark]: Toolchain (without parser) took 6877.37 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 291.0 MB). Free memory was 960.0 MB in the beginning and 1.2 GB in the end (delta: -268.2 MB). Peak memory consumption was 22.8 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:19,099 INFO L168 Benchmark]: CDTParser took 0.27 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:09:19,100 INFO L168 Benchmark]: CACSL2BoogieTranslator took 470.08 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 105.4 MB). Free memory was 960.0 MB in the beginning and 1.1 GB in the end (delta: -134.2 MB). Peak memory consumption was 26.0 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:19,100 INFO L168 Benchmark]: Boogie Procedure Inliner took 86.74 ms. Allocated memory is still 1.1 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:09:19,100 INFO L168 Benchmark]: Boogie Preprocessor took 58.09 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:19,101 INFO L168 Benchmark]: RCFGBuilder took 788.29 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 60.2 MB). Peak memory consumption was 60.2 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:19,101 INFO L168 Benchmark]: BuchiAutomizer took 5387.83 ms. Allocated memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: 185.6 MB). Free memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: -213.7 MB). Peak memory consumption was 365.3 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:19,102 INFO L168 Benchmark]: Witness Printer took 76.30 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 12.7 MB). Peak memory consumption was 12.7 MB. Max. memory is 11.5 GB. [2020-10-19 20:09:19,104 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.27 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 470.08 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 105.4 MB). Free memory was 960.0 MB in the beginning and 1.1 GB in the end (delta: -134.2 MB). Peak memory consumption was 26.0 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 86.74 ms. Allocated memory is still 1.1 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 58.09 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. * RCFGBuilder took 788.29 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 60.2 MB). Peak memory consumption was 60.2 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 5387.83 ms. Allocated memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: 185.6 MB). Free memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: -213.7 MB). Peak memory consumption was 365.3 MB. Max. memory is 11.5 GB. * Witness Printer took 76.30 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 12.7 MB). Peak memory consumption was 12.7 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 11 terminating modules (11 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.11 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 6270 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 5.3s and 12 iterations. TraceHistogramMax:1. Analysis of lassos took 2.9s. Construction of modules took 0.5s. Büchi inclusion checks took 0.5s. Highest rank in rank-based complementation 0. Minimization of det autom 11. Minimization of nondet autom 0. Automata minimization 0.5s AutomataMinimizationTime, 11 MinimizatonAttempts, 2456 StatesRemovedByMinimization, 6 NontrivialMinimizations. Non-live state removal took 0.4s Buchi closure took 0.0s. Biggest automaton had 6270 states and ocurred in iteration 11. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 2679 SDtfs, 3795 SDslu, 3297 SDs, 0 SdLazy, 276 SolverSat, 114 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.5s Time LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc2 concLT0 SILN1 SILU0 SILI5 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: 349]: 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 {count=0, NULL=0, \result=0, P_1_pc=0, NULL=1, C_1_i=1, tmp=0, C_1_st=0, data_0=0, kernel_st=1, tmp___2=1, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6d2d66d2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@35a451b6=0, NULL=0, NULL=0, \result=0, i=0, P_1_i=1, e=0, P_2_pc=0, clk=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@67c07d82=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@44fad550=0, tmp___0=0, num=0, NULL=0, P_1_ev=0, tmp=0, C_1_pc=0, P_2_st=0, P_2_i=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@76e3d58=0, NULL=3, \result=0, __retres1=0, tmp___0=0, __retres1=0, tmp___1=0, data_1=0, __retres1=1, \result=0, max_loop=8, NULL=5, NULL=0, tmp=0, NULL=4, C_1_pr=0, P_1_st=0, P_2_ev=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4716d70f=0, C_1_ev=0, tmp___1=0, timer=0, __retres2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@9a99c29=0, \result=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@ced4e36=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4ad4f2a=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 349]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L17] int max_loop ; [L18] int clk ; [L19] int num ; [L20] int i ; [L21] int e ; [L22] int timer ; [L23] char data_0 ; [L24] char data_1 ; [L67] int P_1_pc; [L68] int P_1_st ; [L69] int P_1_i ; [L70] int P_1_ev ; [L125] int P_2_pc ; [L126] int P_2_st ; [L127] int P_2_i ; [L128] int P_2_ev ; [L193] int C_1_pc ; [L194] int C_1_st ; [L195] int C_1_i ; [L196] int C_1_ev ; [L197] int C_1_pr ; [L609] int count ; [L610] int __retres2 ; [L614] num = 0 [L615] i = 0 [L616] clk = 0 [L617] max_loop = 8 [L619] timer = 0 [L620] P_1_pc = 0 [L621] P_2_pc = 0 [L622] C_1_pc = 0 [L624] count = 0 [L601] P_1_i = 1 [L602] P_2_i = 1 [L603] C_1_i = 1 [L539] int kernel_st ; [L540] int tmp ; [L541] int tmp___0 ; [L545] kernel_st = 0 [L297] COND TRUE (int )P_1_i == 1 [L298] P_1_st = 0 [L302] COND TRUE (int )P_2_i == 1 [L303] P_2_st = 0 [L307] COND TRUE (int )C_1_i == 1 [L308] C_1_st = 0 [L475] int tmp ; [L476] int tmp___0 ; [L477] int tmp___1 ; [L107] int __retres1 ; [L110] COND FALSE !((int )P_1_pc == 1) [L120] __retres1 = 0 [L122] return (__retres1); [L481] tmp = is_P_1_triggered() [L483] COND FALSE !(\read(tmp)) [L175] int __retres1 ; [L178] COND FALSE !((int )P_2_pc == 1) [L188] __retres1 = 0 [L190] return (__retres1); [L489] tmp___0 = is_P_2_triggered() [L491] COND FALSE !(\read(tmp___0)) [L257] int __retres1 ; [L260] COND FALSE !((int )C_1_pc == 1) [L270] COND FALSE !((int )C_1_pc == 2) [L280] __retres1 = 0 [L282] return (__retres1); [L497] tmp___1 = is_C_1_triggered() [L499] COND FALSE !(\read(tmp___1)) [L553] COND TRUE 1 [L556] kernel_st = 1 [L342] int tmp ; [L343] int tmp___0 ; [L344] int tmp___1 ; [L345] int tmp___2 ; Loop: [L349] COND TRUE 1 [L317] int __retres1 ; [L320] COND TRUE (int )P_1_st == 0 [L321] __retres1 = 1 [L338] return (__retres1); [L352] tmp___2 = exists_runnable_thread() [L354] COND TRUE \read(tmp___2) [L359] COND TRUE (int )P_1_st == 0 [L361] tmp = __VERIFIER_nondet_int() [L363] COND FALSE !(\read(tmp)) [L374] COND TRUE (int )P_2_st == 0 [L376] tmp___0 = __VERIFIER_nondet_int() [L378] COND FALSE !(\read(tmp___0)) [L389] COND TRUE (int )C_1_st == 0 [L391] tmp___1 = __VERIFIER_nondet_int() [L393] COND FALSE !(\read(tmp___1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...