./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/kundu1.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 9a8b2e8d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/systemc/kundu1.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 296e273b1c19d017b7d3722a7c74d29ba546c812 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-9a8b2e8 [2020-10-20 08:02:06,999 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-20 08:02:07,002 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-20 08:02:07,026 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-20 08:02:07,026 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-20 08:02:07,027 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-20 08:02:07,028 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-20 08:02:07,030 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-20 08:02:07,032 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-20 08:02:07,033 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-20 08:02:07,033 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-20 08:02:07,035 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-20 08:02:07,035 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-20 08:02:07,036 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-20 08:02:07,037 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-20 08:02:07,038 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-20 08:02:07,039 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-20 08:02:07,040 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-20 08:02:07,042 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-20 08:02:07,044 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-20 08:02:07,045 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-20 08:02:07,047 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-20 08:02:07,048 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-20 08:02:07,049 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-20 08:02:07,056 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-20 08:02:07,058 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-20 08:02:07,058 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-20 08:02:07,059 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-20 08:02:07,060 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-20 08:02:07,061 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-20 08:02:07,061 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-20 08:02:07,061 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-20 08:02:07,062 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-20 08:02:07,063 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-20 08:02:07,067 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-20 08:02:07,067 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-20 08:02:07,068 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-20 08:02:07,068 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-20 08:02:07,068 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-20 08:02:07,069 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-20 08:02:07,069 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-20 08:02:07,070 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-20 08:02:07,100 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-20 08:02:07,100 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-20 08:02:07,101 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-20 08:02:07,102 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-20 08:02:07,102 INFO L138 SettingsManager]: * Use SBE=true [2020-10-20 08:02:07,102 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-20 08:02:07,102 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-20 08:02:07,102 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-20 08:02:07,102 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-20 08:02:07,103 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-20 08:02:07,103 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-20 08:02:07,103 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-20 08:02:07,103 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-20 08:02:07,103 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-20 08:02:07,104 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-20 08:02:07,104 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-20 08:02:07,104 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-20 08:02:07,104 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-20 08:02:07,104 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-20 08:02:07,105 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-20 08:02:07,105 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-20 08:02:07,105 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-20 08:02:07,105 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-20 08:02:07,105 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-20 08:02:07,105 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-20 08:02:07,106 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-20 08:02:07,106 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-20 08:02:07,106 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-20 08:02:07,106 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-20 08:02:07,106 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-20 08:02:07,107 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-20 08:02:07,107 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-20 08:02:07,108 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-20 08:02:07,108 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 -> 296e273b1c19d017b7d3722a7c74d29ba546c812 [2020-10-20 08:02:07,308 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-20 08:02:07,320 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-20 08:02:07,324 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-20 08:02:07,325 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-20 08:02:07,326 INFO L275 PluginConnector]: CDTParser initialized [2020-10-20 08:02:07,327 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/kundu1.cil.c [2020-10-20 08:02:07,400 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dcd619ba7/bd5d04121f964150ae9f733779b5efdf/FLAG6ebc4e3cb [2020-10-20 08:02:07,948 INFO L306 CDTParser]: Found 1 translation units. [2020-10-20 08:02:07,949 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/kundu1.cil.c [2020-10-20 08:02:07,962 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dcd619ba7/bd5d04121f964150ae9f733779b5efdf/FLAG6ebc4e3cb [2020-10-20 08:02:08,210 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dcd619ba7/bd5d04121f964150ae9f733779b5efdf [2020-10-20 08:02:08,214 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-20 08:02:08,221 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-20 08:02:08,222 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-20 08:02:08,222 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-20 08:02:08,225 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-20 08:02:08,226 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,232 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@576eb08b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08, skipping insertion in model container [2020-10-20 08:02:08,232 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,240 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-20 08:02:08,295 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-20 08:02:08,593 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 08:02:08,608 INFO L203 MainTranslator]: Completed pre-run [2020-10-20 08:02:08,647 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 08:02:08,674 INFO L208 MainTranslator]: Completed translation [2020-10-20 08:02:08,674 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08 WrapperNode [2020-10-20 08:02:08,675 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-20 08:02:08,676 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-20 08:02:08,676 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-20 08:02:08,676 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-20 08:02:08,685 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,695 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,728 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-20 08:02:08,728 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-20 08:02:08,728 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-20 08:02:08,728 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-20 08:02:08,739 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,739 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,742 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,743 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,750 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,758 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,761 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... [2020-10-20 08:02:08,766 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-20 08:02:08,767 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-20 08:02:08,767 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-20 08:02:08,767 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-20 08:02:08,768 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:02:08,853 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-20 08:02:08,854 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-20 08:02:08,854 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-20 08:02:08,854 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-20 08:02:09,426 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-20 08:02:09,427 INFO L298 CfgBuilder]: Removed 78 assume(true) statements. [2020-10-20 08:02:09,429 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 08:02:09 BoogieIcfgContainer [2020-10-20 08:02:09,429 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-20 08:02:09,430 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-20 08:02:09,430 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-20 08:02:09,434 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-20 08:02:09,435 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 08:02:09,435 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 20.10 08:02:08" (1/3) ... [2020-10-20 08:02:09,436 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@56d3ad7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 20.10 08:02:09, skipping insertion in model container [2020-10-20 08:02:09,436 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 08:02:09,437 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 08:02:08" (2/3) ... [2020-10-20 08:02:09,437 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@56d3ad7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 20.10 08:02:09, skipping insertion in model container [2020-10-20 08:02:09,437 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 08:02:09,437 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 08:02:09" (3/3) ... [2020-10-20 08:02:09,439 INFO L373 chiAutomizerObserver]: Analyzing ICFG kundu1.cil.c [2020-10-20 08:02:09,486 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-20 08:02:09,486 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-20 08:02:09,486 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-20 08:02:09,487 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-20 08:02:09,487 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-20 08:02:09,487 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-20 08:02:09,487 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-20 08:02:09,488 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-20 08:02:09,507 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 117 states. [2020-10-20 08:02:09,552 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-10-20 08:02:09,552 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:09,552 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:09,562 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:09,562 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:09,563 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-20 08:02:09,563 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 117 states. [2020-10-20 08:02:09,570 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-10-20 08:02:09,571 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:09,571 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:09,573 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:09,573 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:09,580 INFO L794 eck$LassoCheckResult]: Stem: 87#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 7#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 49#L488true havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 38#L221true assume !(1 == ~P_1_i~0);~P_1_st~0 := 2; 110#L228-1true assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 114#L233-1true havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 14#L109true assume 1 == ~P_1_pc~0; 97#L110true assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 15#L120true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 98#L121true activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 59#L375true assume !(0 != activate_threads_~tmp~1); 61#L375-2true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 42#L191true assume 1 == ~C_1_pc~0; 117#L192true assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 73#L212true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 46#L213true activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 74#L383true assume !(0 != activate_threads_~tmp___1~1); 104#L437-1true [2020-10-20 08:02:09,581 INFO L796 eck$LassoCheckResult]: Loop: 104#L437-1true assume !false; 68#L438true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 5#L296true assume false; 36#L312true start_simulation_~kernel_st~0 := 2; 37#L221-1true start_simulation_~kernel_st~0 := 3; 35#L323true havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 8#L109-3true assume !(1 == ~P_1_pc~0); 115#L109-5true is_P_1_triggered_~__retres1~0 := 0; 13#L120-1true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 96#L121-1true activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 43#L375-3true assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 51#L375-5true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 18#L191-3true assume 1 == ~C_1_pc~0; 116#L192-1true assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 71#L212-1true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 24#L213-1true activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 64#L383-3true assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 65#L383-5true havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 48#L246-1true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 80#L259-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 30#L260-1true start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 118#L456true assume !(0 == start_simulation_~tmp~3); 119#L456-1true havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, 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~2;havoc exists_runnable_thread_~__retres1~2; 25#L246-2true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 77#L259-2true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 29#L260-2true stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 54#L411true assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 101#L418true stop_simulation_#res := stop_simulation_~__retres2~0; 58#L419true start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 40#L469true assume !(0 != start_simulation_~tmp___0~2); 104#L437-1true [2020-10-20 08:02:09,587 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:09,588 INFO L82 PathProgramCache]: Analyzing trace with hash -1468371184, now seen corresponding path program 1 times [2020-10-20 08:02:09,597 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:09,598 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1136210665] [2020-10-20 08:02:09,598 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:09,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:09,763 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:09,764 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1136210665] [2020-10-20 08:02:09,765 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:09,765 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:09,766 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1811087908] [2020-10-20 08:02:09,771 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:09,771 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:09,771 INFO L82 PathProgramCache]: Analyzing trace with hash 330099143, now seen corresponding path program 1 times [2020-10-20 08:02:09,772 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:09,772 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [808672829] [2020-10-20 08:02:09,772 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:09,779 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:09,787 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:09,787 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [808672829] [2020-10-20 08:02:09,788 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:09,788 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-20 08:02:09,788 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1991549655] [2020-10-20 08:02:09,790 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:09,791 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:09,805 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:09,806 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:09,807 INFO L87 Difference]: Start difference. First operand 117 states. Second operand 3 states. [2020-10-20 08:02:09,838 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:09,838 INFO L93 Difference]: Finished difference Result 113 states and 163 transitions. [2020-10-20 08:02:09,839 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:09,841 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 113 states and 163 transitions. [2020-10-20 08:02:09,845 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 85 [2020-10-20 08:02:09,855 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 113 states to 106 states and 156 transitions. [2020-10-20 08:02:09,858 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 106 [2020-10-20 08:02:09,859 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 106 [2020-10-20 08:02:09,860 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 156 transitions. [2020-10-20 08:02:09,861 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:09,861 INFO L691 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2020-10-20 08:02:09,879 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 156 transitions. [2020-10-20 08:02:09,909 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 106. [2020-10-20 08:02:09,910 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 106 states. [2020-10-20 08:02:09,911 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 106 states to 106 states and 156 transitions. [2020-10-20 08:02:09,913 INFO L714 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2020-10-20 08:02:09,913 INFO L594 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2020-10-20 08:02:09,913 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-20 08:02:09,913 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 106 states and 156 transitions. [2020-10-20 08:02:09,915 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 85 [2020-10-20 08:02:09,915 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:09,916 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:09,917 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:09,917 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:09,917 INFO L794 eck$LassoCheckResult]: Stem: 338#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 250#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 251#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 304#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 305#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 344#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 262#L109 assume 1 == ~P_1_pc~0; 263#L110 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 256#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 264#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 330#L375 assume !(0 != activate_threads_~tmp~1); 331#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 309#L191 assume 1 == ~C_1_pc~0; 310#L192 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 313#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 314#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 315#L383 assume !(0 != activate_threads_~tmp___1~1); 308#L437-1 [2020-10-20 08:02:09,918 INFO L796 eck$LassoCheckResult]: Loop: 308#L437-1 assume !false; 334#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 245#L296 assume !false; 246#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 319#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 320#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 296#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 297#L276 assume !(0 != eval_~tmp___2~0); 302#L312 start_simulation_~kernel_st~0 := 2; 303#L221-1 start_simulation_~kernel_st~0 := 3; 301#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 252#L109-3 assume 1 == ~P_1_pc~0; 253#L110-1 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 260#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 261#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 311#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 312#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 268#L191-3 assume 1 == ~C_1_pc~0; 269#L192-1 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 281#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 282#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 283#L383-3 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 333#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 316#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 317#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 292#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 293#L456 assume !(0 == start_simulation_~tmp~3); 342#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, 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~2;havoc exists_runnable_thread_~__retres1~2; 284#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 285#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 290#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 291#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 324#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 329#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 307#L469 assume !(0 != start_simulation_~tmp___0~2); 308#L437-1 [2020-10-20 08:02:09,918 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:09,918 INFO L82 PathProgramCache]: Analyzing trace with hash -457253934, now seen corresponding path program 1 times [2020-10-20 08:02:09,918 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:09,919 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [56877064] [2020-10-20 08:02:09,919 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:09,937 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:09,970 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:09,970 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [56877064] [2020-10-20 08:02:09,970 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:09,970 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:09,971 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1797215417] [2020-10-20 08:02:09,971 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:09,971 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:09,972 INFO L82 PathProgramCache]: Analyzing trace with hash -1962119694, now seen corresponding path program 1 times [2020-10-20 08:02:09,972 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:09,972 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [817193356] [2020-10-20 08:02:09,972 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:09,989 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:10,033 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:10,033 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [817193356] [2020-10-20 08:02:10,034 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:10,034 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:10,034 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1669365732] [2020-10-20 08:02:10,035 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:10,035 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:10,035 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:10,035 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:10,036 INFO L87 Difference]: Start difference. First operand 106 states and 156 transitions. cyclomatic complexity: 51 Second operand 3 states. [2020-10-20 08:02:10,088 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:10,088 INFO L93 Difference]: Finished difference Result 187 states and 270 transitions. [2020-10-20 08:02:10,089 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:10,089 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 187 states and 270 transitions. [2020-10-20 08:02:10,093 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 167 [2020-10-20 08:02:10,095 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 187 states to 187 states and 270 transitions. [2020-10-20 08:02:10,095 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 187 [2020-10-20 08:02:10,096 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 187 [2020-10-20 08:02:10,096 INFO L73 IsDeterministic]: Start isDeterministic. Operand 187 states and 270 transitions. [2020-10-20 08:02:10,098 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:10,098 INFO L691 BuchiCegarLoop]: Abstraction has 187 states and 270 transitions. [2020-10-20 08:02:10,099 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 187 states and 270 transitions. [2020-10-20 08:02:10,109 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 187 to 183. [2020-10-20 08:02:10,109 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 183 states. [2020-10-20 08:02:10,111 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 183 states to 183 states and 265 transitions. [2020-10-20 08:02:10,111 INFO L714 BuchiCegarLoop]: Abstraction has 183 states and 265 transitions. [2020-10-20 08:02:10,111 INFO L594 BuchiCegarLoop]: Abstraction has 183 states and 265 transitions. [2020-10-20 08:02:10,111 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-20 08:02:10,112 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 183 states and 265 transitions. [2020-10-20 08:02:10,113 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 163 [2020-10-20 08:02:10,114 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:10,114 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:10,115 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:10,115 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:10,115 INFO L794 eck$LassoCheckResult]: Stem: 640#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 552#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 553#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 604#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 605#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 650#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 563#L109 assume !(1 == ~P_1_pc~0); 556#L109-2 is_P_1_triggered_~__retres1~0 := 0; 557#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 564#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 632#L375 assume !(0 != activate_threads_~tmp~1); 633#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 609#L191 assume 1 == ~C_1_pc~0; 610#L192 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 613#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 614#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 615#L383 assume !(0 != activate_threads_~tmp___1~1); 637#L437-1 [2020-10-20 08:02:10,116 INFO L796 eck$LassoCheckResult]: Loop: 637#L437-1 assume !false; 635#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 547#L296 assume !false; 548#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 619#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 620#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 596#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 597#L276 assume !(0 != eval_~tmp___2~0); 602#L312 start_simulation_~kernel_st~0 := 2; 603#L221-1 start_simulation_~kernel_st~0 := 3; 601#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 554#L109-3 assume !(1 == ~P_1_pc~0); 555#L109-5 is_P_1_triggered_~__retres1~0 := 0; 695#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 694#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 693#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 692#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 689#L191-3 assume 1 == ~C_1_pc~0; 680#L192-1 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 676#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 674#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 671#L383-3 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 669#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 667#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 663#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 660#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 656#L456 assume !(0 == start_simulation_~tmp~3); 657#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, 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~2;havoc exists_runnable_thread_~__retres1~2; 709#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 707#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 706#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 705#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 704#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 703#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 702#L469 assume !(0 != start_simulation_~tmp___0~2); 637#L437-1 [2020-10-20 08:02:10,116 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:10,130 INFO L82 PathProgramCache]: Analyzing trace with hash -1330092589, now seen corresponding path program 1 times [2020-10-20 08:02:10,130 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:10,130 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [579550755] [2020-10-20 08:02:10,131 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:10,162 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:10,217 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:10,217 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [579550755] [2020-10-20 08:02:10,217 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:10,218 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-20 08:02:10,218 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [393996480] [2020-10-20 08:02:10,218 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:10,219 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:10,219 INFO L82 PathProgramCache]: Analyzing trace with hash 742452625, now seen corresponding path program 1 times [2020-10-20 08:02:10,219 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:10,219 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [379637652] [2020-10-20 08:02:10,219 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:10,232 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:10,259 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:10,259 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [379637652] [2020-10-20 08:02:10,260 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:10,260 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:10,260 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1191675680] [2020-10-20 08:02:10,261 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:10,261 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:10,261 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-10-20 08:02:10,261 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-10-20 08:02:10,261 INFO L87 Difference]: Start difference. First operand 183 states and 265 transitions. cyclomatic complexity: 83 Second operand 4 states. [2020-10-20 08:02:10,409 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:10,409 INFO L93 Difference]: Finished difference Result 409 states and 574 transitions. [2020-10-20 08:02:10,409 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-10-20 08:02:10,410 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 409 states and 574 transitions. [2020-10-20 08:02:10,414 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 378 [2020-10-20 08:02:10,419 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 409 states to 409 states and 574 transitions. [2020-10-20 08:02:10,419 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 409 [2020-10-20 08:02:10,420 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 409 [2020-10-20 08:02:10,420 INFO L73 IsDeterministic]: Start isDeterministic. Operand 409 states and 574 transitions. [2020-10-20 08:02:10,423 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:10,423 INFO L691 BuchiCegarLoop]: Abstraction has 409 states and 574 transitions. [2020-10-20 08:02:10,424 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 409 states and 574 transitions. [2020-10-20 08:02:10,438 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 409 to 315. [2020-10-20 08:02:10,439 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 315 states. [2020-10-20 08:02:10,441 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 315 states to 315 states and 448 transitions. [2020-10-20 08:02:10,441 INFO L714 BuchiCegarLoop]: Abstraction has 315 states and 448 transitions. [2020-10-20 08:02:10,441 INFO L594 BuchiCegarLoop]: Abstraction has 315 states and 448 transitions. [2020-10-20 08:02:10,441 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-20 08:02:10,442 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 315 states and 448 transitions. [2020-10-20 08:02:10,444 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 296 [2020-10-20 08:02:10,444 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:10,444 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:10,446 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:10,446 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:10,446 INFO L794 eck$LassoCheckResult]: Stem: 1242#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 1157#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 1158#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 1207#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 1208#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 1256#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 1168#L109 assume !(1 == ~P_1_pc~0); 1161#L109-2 is_P_1_triggered_~__retres1~0 := 0; 1162#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1169#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1234#L375 assume !(0 != activate_threads_~tmp~1); 1235#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 1212#L191 assume !(1 == ~C_1_pc~0); 1174#L191-2 assume !(2 == ~C_1_pc~0); 1175#L201-1 is_C_1_triggered_~__retres1~1 := 0; 1215#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 1219#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1220#L383 assume !(0 != activate_threads_~tmp___1~1); 1211#L437-1 [2020-10-20 08:02:10,447 INFO L796 eck$LassoCheckResult]: Loop: 1211#L437-1 assume !false; 1237#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 1152#L296 assume !false; 1153#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1221#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 1222#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1199#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 1200#L276 assume !(0 != eval_~tmp___2~0); 1205#L312 start_simulation_~kernel_st~0 := 2; 1206#L221-1 start_simulation_~kernel_st~0 := 3; 1204#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 1159#L109-3 assume !(1 == ~P_1_pc~0); 1160#L109-5 is_P_1_triggered_~__retres1~0 := 0; 1166#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1167#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1213#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 1214#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 1173#L191-3 assume !(1 == ~C_1_pc~0); 1170#L191-5 assume 2 == ~C_1_pc~0; 1171#L202-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1 := 1; 1184#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 1188#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1189#L383-3 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 1236#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1216#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 1217#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1196#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 1197#L456 assume !(0 == start_simulation_~tmp~3); 1254#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, 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~2;havoc exists_runnable_thread_~__retres1~2; 1185#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 1186#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1194#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 1195#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 1227#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 1232#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 1210#L469 assume !(0 != start_simulation_~tmp___0~2); 1211#L437-1 [2020-10-20 08:02:10,447 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:10,447 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 1 times [2020-10-20 08:02:10,448 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:10,448 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2045748611] [2020-10-20 08:02:10,448 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:10,475 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:10,478 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:10,504 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:10,507 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:10,550 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:10,551 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:10,551 INFO L82 PathProgramCache]: Analyzing trace with hash -1973795747, now seen corresponding path program 1 times [2020-10-20 08:02:10,552 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:10,552 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [914669851] [2020-10-20 08:02:10,552 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:10,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:10,626 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:10,628 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [914669851] [2020-10-20 08:02:10,629 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:10,629 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:10,631 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1848788256] [2020-10-20 08:02:10,631 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:10,631 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:10,632 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:10,632 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:10,632 INFO L87 Difference]: Start difference. First operand 315 states and 448 transitions. cyclomatic complexity: 134 Second operand 5 states. [2020-10-20 08:02:10,740 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:10,740 INFO L93 Difference]: Finished difference Result 549 states and 768 transitions. [2020-10-20 08:02:10,741 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-20 08:02:10,741 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 549 states and 768 transitions. [2020-10-20 08:02:10,747 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 530 [2020-10-20 08:02:10,751 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 549 states to 549 states and 768 transitions. [2020-10-20 08:02:10,752 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 549 [2020-10-20 08:02:10,753 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 549 [2020-10-20 08:02:10,753 INFO L73 IsDeterministic]: Start isDeterministic. Operand 549 states and 768 transitions. [2020-10-20 08:02:10,755 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:10,755 INFO L691 BuchiCegarLoop]: Abstraction has 549 states and 768 transitions. [2020-10-20 08:02:10,755 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 549 states and 768 transitions. [2020-10-20 08:02:10,766 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 549 to 327. [2020-10-20 08:02:10,766 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 327 states. [2020-10-20 08:02:10,768 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 327 states to 327 states and 460 transitions. [2020-10-20 08:02:10,768 INFO L714 BuchiCegarLoop]: Abstraction has 327 states and 460 transitions. [2020-10-20 08:02:10,768 INFO L594 BuchiCegarLoop]: Abstraction has 327 states and 460 transitions. [2020-10-20 08:02:10,768 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-20 08:02:10,769 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 327 states and 460 transitions. [2020-10-20 08:02:10,771 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 308 [2020-10-20 08:02:10,771 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:10,772 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:10,773 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:10,773 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] [2020-10-20 08:02:10,773 INFO L794 eck$LassoCheckResult]: Stem: 2144#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 2037#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 2038#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 2092#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 2093#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 2166#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 2048#L109 assume !(1 == ~P_1_pc~0); 2041#L109-2 is_P_1_triggered_~__retres1~0 := 0; 2042#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2049#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 2121#L375 assume !(0 != activate_threads_~tmp~1); 2122#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 2098#L191 assume !(1 == ~C_1_pc~0); 2055#L191-2 assume !(2 == ~C_1_pc~0); 2056#L201-1 is_C_1_triggered_~__retres1~1 := 0; 2101#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 2102#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2103#L383 assume !(0 != activate_threads_~tmp___1~1); 2138#L437-1 [2020-10-20 08:02:10,774 INFO L796 eck$LassoCheckResult]: Loop: 2138#L437-1 assume !false; 2292#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 2136#L296 assume !false; 2262#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2260#L246 assume !(0 == ~P_1_st~0); 2255#L250 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~2 := 0; 2253#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2206#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 2190#L276 assume !(0 != eval_~tmp___2~0); 2191#L312 start_simulation_~kernel_st~0 := 2; 2182#L221-1 start_simulation_~kernel_st~0 := 3; 2183#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 2039#L109-3 assume !(1 == ~P_1_pc~0); 2040#L109-5 is_P_1_triggered_~__retres1~0 := 0; 2046#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2047#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 2099#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 2100#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 2053#L191-3 assume !(1 == ~C_1_pc~0); 2054#L191-5 assume 2 == ~C_1_pc~0; 2065#L202-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1 := 1; 2066#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 2137#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2127#L383-3 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 2128#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2129#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 2347#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2079#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 2080#L456 assume !(0 == start_simulation_~tmp~3); 2161#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, 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~2;havoc exists_runnable_thread_~__retres1~2; 2171#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 2334#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2309#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 2307#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 2295#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 2294#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 2293#L469 assume !(0 != start_simulation_~tmp___0~2); 2138#L437-1 [2020-10-20 08:02:10,774 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:10,774 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 2 times [2020-10-20 08:02:10,775 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:10,775 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1719605882] [2020-10-20 08:02:10,775 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:10,786 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:10,787 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:10,797 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:10,797 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:10,807 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:10,808 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:10,808 INFO L82 PathProgramCache]: Analyzing trace with hash -1259139019, now seen corresponding path program 1 times [2020-10-20 08:02:10,808 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:10,809 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [215091341] [2020-10-20 08:02:10,809 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:10,827 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:10,925 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:10,925 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [215091341] [2020-10-20 08:02:10,925 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:10,925 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 08:02:10,926 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [651527601] [2020-10-20 08:02:10,926 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:10,926 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:10,926 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:02:10,927 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:02:10,927 INFO L87 Difference]: Start difference. First operand 327 states and 460 transitions. cyclomatic complexity: 134 Second operand 5 states. [2020-10-20 08:02:11,012 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:11,012 INFO L93 Difference]: Finished difference Result 723 states and 1015 transitions. [2020-10-20 08:02:11,013 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-10-20 08:02:11,013 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 723 states and 1015 transitions. [2020-10-20 08:02:11,021 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 704 [2020-10-20 08:02:11,028 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 723 states to 723 states and 1015 transitions. [2020-10-20 08:02:11,028 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 723 [2020-10-20 08:02:11,029 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 723 [2020-10-20 08:02:11,029 INFO L73 IsDeterministic]: Start isDeterministic. Operand 723 states and 1015 transitions. [2020-10-20 08:02:11,030 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:11,030 INFO L691 BuchiCegarLoop]: Abstraction has 723 states and 1015 transitions. [2020-10-20 08:02:11,031 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 723 states and 1015 transitions. [2020-10-20 08:02:11,038 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 723 to 339. [2020-10-20 08:02:11,038 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 339 states. [2020-10-20 08:02:11,040 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 339 states to 339 states and 467 transitions. [2020-10-20 08:02:11,040 INFO L714 BuchiCegarLoop]: Abstraction has 339 states and 467 transitions. [2020-10-20 08:02:11,040 INFO L594 BuchiCegarLoop]: Abstraction has 339 states and 467 transitions. [2020-10-20 08:02:11,040 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-20 08:02:11,041 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 339 states and 467 transitions. [2020-10-20 08:02:11,043 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 320 [2020-10-20 08:02:11,043 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:11,043 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:11,044 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:11,044 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] [2020-10-20 08:02:11,044 INFO L794 eck$LassoCheckResult]: Stem: 3191#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 3100#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 3101#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 3154#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 3155#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 3213#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 3111#L109 assume !(1 == ~P_1_pc~0); 3104#L109-2 is_P_1_triggered_~__retres1~0 := 0; 3105#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3112#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3180#L375 assume !(0 != activate_threads_~tmp~1); 3181#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 3160#L191 assume !(1 == ~C_1_pc~0); 3117#L191-2 assume !(2 == ~C_1_pc~0); 3118#L201-1 is_C_1_triggered_~__retres1~1 := 0; 3163#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 3164#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3165#L383 assume !(0 != activate_threads_~tmp___1~1); 3186#L437-1 [2020-10-20 08:02:11,045 INFO L796 eck$LassoCheckResult]: Loop: 3186#L437-1 assume !false; 3311#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 3303#L296 assume !false; 3300#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3298#L246 assume !(0 == ~P_1_st~0); 3294#L250 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~2 := 0; 3284#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3279#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 3274#L276 assume !(0 != eval_~tmp___2~0); 3271#L312 start_simulation_~kernel_st~0 := 2; 3267#L221-1 start_simulation_~kernel_st~0 := 3; 3264#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 3102#L109-3 assume !(1 == ~P_1_pc~0); 3103#L109-5 is_P_1_triggered_~__retres1~0 := 0; 3308#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3307#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3306#L375-3 assume !(0 != activate_threads_~tmp~1); 3305#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 3304#L191-3 assume !(1 == ~C_1_pc~0); 3258#L191-5 assume 2 == ~C_1_pc~0; 3127#L202-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1 := 1; 3128#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 3130#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3131#L383-3 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 3183#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3166#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 3167#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3141#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 3142#L456 assume !(0 == start_simulation_~tmp~3); 3219#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, 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~2;havoc exists_runnable_thread_~__retres1~2; 3320#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 3318#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3317#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 3316#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 3315#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 3314#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 3313#L469 assume !(0 != start_simulation_~tmp___0~2); 3186#L437-1 [2020-10-20 08:02:11,045 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,045 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 3 times [2020-10-20 08:02:11,045 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,045 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [257128296] [2020-10-20 08:02:11,046 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,054 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,054 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,063 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,070 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:11,071 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,071 INFO L82 PathProgramCache]: Analyzing trace with hash -836437193, now seen corresponding path program 1 times [2020-10-20 08:02:11,071 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,071 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2016295809] [2020-10-20 08:02:11,072 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,089 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:11,116 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:11,118 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2016295809] [2020-10-20 08:02:11,118 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:11,118 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:11,119 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [483381888] [2020-10-20 08:02:11,119 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 08:02:11,119 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:11,120 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:11,120 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:11,121 INFO L87 Difference]: Start difference. First operand 339 states and 467 transitions. cyclomatic complexity: 129 Second operand 3 states. [2020-10-20 08:02:11,163 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:11,163 INFO L93 Difference]: Finished difference Result 493 states and 667 transitions. [2020-10-20 08:02:11,164 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:11,164 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 493 states and 667 transitions. [2020-10-20 08:02:11,169 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 468 [2020-10-20 08:02:11,173 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 493 states to 493 states and 667 transitions. [2020-10-20 08:02:11,173 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 493 [2020-10-20 08:02:11,174 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 493 [2020-10-20 08:02:11,174 INFO L73 IsDeterministic]: Start isDeterministic. Operand 493 states and 667 transitions. [2020-10-20 08:02:11,175 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:11,175 INFO L691 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2020-10-20 08:02:11,176 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 493 states and 667 transitions. [2020-10-20 08:02:11,186 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 493 to 493. [2020-10-20 08:02:11,186 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 493 states. [2020-10-20 08:02:11,188 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 493 states to 493 states and 667 transitions. [2020-10-20 08:02:11,189 INFO L714 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2020-10-20 08:02:11,189 INFO L594 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2020-10-20 08:02:11,189 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-20 08:02:11,189 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 493 states and 667 transitions. [2020-10-20 08:02:11,193 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 468 [2020-10-20 08:02:11,193 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:11,194 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:11,196 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] [2020-10-20 08:02:11,196 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:11,196 INFO L794 eck$LassoCheckResult]: Stem: 4029#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 3938#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 3939#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 3988#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 3989#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 4049#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 3949#L109 assume !(1 == ~P_1_pc~0); 3942#L109-2 is_P_1_triggered_~__retres1~0 := 0; 3943#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3950#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 4013#L375 assume !(0 != activate_threads_~tmp~1); 4014#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 3994#L191 assume !(1 == ~C_1_pc~0); 3955#L191-2 assume !(2 == ~C_1_pc~0); 3956#L201-1 is_C_1_triggered_~__retres1~1 := 0; 3997#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 3998#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3999#L383 assume !(0 != activate_threads_~tmp___1~1); 4021#L437-1 assume !false; 4139#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 4129#L296 [2020-10-20 08:02:11,197 INFO L796 eck$LassoCheckResult]: Loop: 4129#L296 assume !false; 4127#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 4125#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 4112#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4107#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 4108#L276 assume 0 != eval_~tmp___2~0; 4088#L276-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 4089#L285 assume !(0 != eval_~tmp~0); 4137#L281 assume !(0 == ~C_1_st~0); 4129#L296 [2020-10-20 08:02:11,197 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,197 INFO L82 PathProgramCache]: Analyzing trace with hash 263198343, now seen corresponding path program 1 times [2020-10-20 08:02:11,197 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,198 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2031531840] [2020-10-20 08:02:11,198 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,228 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,228 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,249 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,249 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,266 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:11,267 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,267 INFO L82 PathProgramCache]: Analyzing trace with hash 1487904259, now seen corresponding path program 1 times [2020-10-20 08:02:11,267 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,268 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [170902171] [2020-10-20 08:02:11,268 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,274 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,274 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,280 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,280 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,283 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:11,288 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,289 INFO L82 PathProgramCache]: Analyzing trace with hash 489258557, now seen corresponding path program 1 times [2020-10-20 08:02:11,289 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,289 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [759374830] [2020-10-20 08:02:11,289 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,298 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:11,329 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:11,330 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [759374830] [2020-10-20 08:02:11,330 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:11,330 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-20 08:02:11,330 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1039301669] [2020-10-20 08:02:11,410 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:11,411 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:11,411 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:11,411 INFO L87 Difference]: Start difference. First operand 493 states and 667 transitions. cyclomatic complexity: 177 Second operand 3 states. [2020-10-20 08:02:11,535 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:11,535 INFO L93 Difference]: Finished difference Result 801 states and 1061 transitions. [2020-10-20 08:02:11,536 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:11,536 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 801 states and 1061 transitions. [2020-10-20 08:02:11,543 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-10-20 08:02:11,549 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 801 states to 801 states and 1061 transitions. [2020-10-20 08:02:11,550 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 801 [2020-10-20 08:02:11,551 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 801 [2020-10-20 08:02:11,551 INFO L73 IsDeterministic]: Start isDeterministic. Operand 801 states and 1061 transitions. [2020-10-20 08:02:11,552 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:11,552 INFO L691 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2020-10-20 08:02:11,553 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 801 states and 1061 transitions. [2020-10-20 08:02:11,563 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 801 to 801. [2020-10-20 08:02:11,564 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 801 states. [2020-10-20 08:02:11,566 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 801 states to 801 states and 1061 transitions. [2020-10-20 08:02:11,567 INFO L714 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2020-10-20 08:02:11,567 INFO L594 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2020-10-20 08:02:11,567 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-20 08:02:11,567 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 801 states and 1061 transitions. [2020-10-20 08:02:11,573 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-10-20 08:02:11,573 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:11,573 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:11,574 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] [2020-10-20 08:02:11,574 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:11,574 INFO L794 eck$LassoCheckResult]: Stem: 5347#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 5240#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 5241#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 5296#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 5297#L228-1 assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 5370#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 5251#L109 assume !(1 == ~P_1_pc~0); 5244#L109-2 is_P_1_triggered_~__retres1~0 := 0; 5245#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 5252#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 5325#L375 assume !(0 != activate_threads_~tmp~1); 5326#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 5860#L191 assume !(1 == ~C_1_pc~0); 5858#L191-2 assume !(2 == ~C_1_pc~0); 5856#L201-1 is_C_1_triggered_~__retres1~1 := 0; 5854#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 5852#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5850#L383 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 5338#L437-1 assume !false; 5980#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 5839#L296 [2020-10-20 08:02:11,575 INFO L796 eck$LassoCheckResult]: Loop: 5839#L296 assume !false; 5979#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 5977#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 5974#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 5972#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 5970#L276 assume 0 != eval_~tmp___2~0; 5969#L276-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 5229#L285 assume !(0 != eval_~tmp~0); 5231#L281 assume 0 == ~C_1_st~0;eval_~tmp___1~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 5796#L300 assume !(0 != eval_~tmp___1~0); 5839#L296 [2020-10-20 08:02:11,575 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,575 INFO L82 PathProgramCache]: Analyzing trace with hash -757871933, now seen corresponding path program 1 times [2020-10-20 08:02:11,576 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,576 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1442302099] [2020-10-20 08:02:11,576 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,582 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:02:11,595 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:02:11,596 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1442302099] [2020-10-20 08:02:11,596 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:02:11,596 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-10-20 08:02:11,597 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1254506721] [2020-10-20 08:02:11,597 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:02:11,597 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,597 INFO L82 PathProgramCache]: Analyzing trace with hash -1119610449, now seen corresponding path program 1 times [2020-10-20 08:02:11,597 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,598 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1853396063] [2020-10-20 08:02:11,598 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,601 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,602 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,604 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,604 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,607 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:11,690 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:02:11,690 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-20 08:02:11,690 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-20 08:02:11,690 INFO L87 Difference]: Start difference. First operand 801 states and 1061 transitions. cyclomatic complexity: 263 Second operand 3 states. [2020-10-20 08:02:11,700 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:02:11,701 INFO L93 Difference]: Finished difference Result 785 states and 1041 transitions. [2020-10-20 08:02:11,701 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-20 08:02:11,701 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 785 states and 1041 transitions. [2020-10-20 08:02:11,708 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-10-20 08:02:11,713 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 785 states to 785 states and 1041 transitions. [2020-10-20 08:02:11,714 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 785 [2020-10-20 08:02:11,715 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 785 [2020-10-20 08:02:11,715 INFO L73 IsDeterministic]: Start isDeterministic. Operand 785 states and 1041 transitions. [2020-10-20 08:02:11,716 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:02:11,716 INFO L691 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2020-10-20 08:02:11,717 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 785 states and 1041 transitions. [2020-10-20 08:02:11,726 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 785 to 785. [2020-10-20 08:02:11,727 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 785 states. [2020-10-20 08:02:11,729 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 785 states to 785 states and 1041 transitions. [2020-10-20 08:02:11,730 INFO L714 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2020-10-20 08:02:11,730 INFO L594 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2020-10-20 08:02:11,730 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-20 08:02:11,730 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 785 states and 1041 transitions. [2020-10-20 08:02:11,735 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-10-20 08:02:11,735 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:02:11,736 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:02:11,736 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] [2020-10-20 08:02:11,736 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:02:11,737 INFO L794 eck$LassoCheckResult]: Stem: 6931#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(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~max_loop~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;~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; 6832#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 6833#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, 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; 6886#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 6887#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 6948#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, 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; 6844#L109 assume !(1 == ~P_1_pc~0); 6838#L109-2 is_P_1_triggered_~__retres1~0 := 0; 6839#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 6845#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 6912#L375 assume !(0 != activate_threads_~tmp~1); 6913#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 6895#L191 assume !(1 == ~C_1_pc~0); 6850#L191-2 assume !(2 == ~C_1_pc~0); 6851#L201-1 is_C_1_triggered_~__retres1~1 := 0; 6896#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 6899#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 6900#L383 assume !(0 != activate_threads_~tmp___1~1); 6921#L437-1 assume !false; 7433#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, 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; 7393#L296 [2020-10-20 08:02:11,737 INFO L796 eck$LassoCheckResult]: Loop: 7393#L296 assume !false; 7428#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 7423#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 7419#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 7414#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 7408#L276 assume 0 != eval_~tmp___2~0; 7403#L276-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 6821#L285 assume !(0 != eval_~tmp~0); 6823#L281 assume 0 == ~C_1_st~0;eval_~tmp___1~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 7131#L300 assume !(0 != eval_~tmp___1~0); 7393#L296 [2020-10-20 08:02:11,737 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,737 INFO L82 PathProgramCache]: Analyzing trace with hash 263198343, now seen corresponding path program 2 times [2020-10-20 08:02:11,738 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,738 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1424067747] [2020-10-20 08:02:11,738 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,745 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,745 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,751 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,751 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,758 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:11,758 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,758 INFO L82 PathProgramCache]: Analyzing trace with hash -1119610449, now seen corresponding path program 2 times [2020-10-20 08:02:11,759 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,759 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [995844577] [2020-10-20 08:02:11,759 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,763 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,764 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,765 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,767 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:11,768 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:02:11,768 INFO L82 PathProgramCache]: Analyzing trace with hash -2012856139, now seen corresponding path program 1 times [2020-10-20 08:02:11,768 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:02:11,768 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1549910655] [2020-10-20 08:02:11,769 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:02:11,776 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,776 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,782 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:02:11,783 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:02:11,790 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:02:12,417 WARN L193 SmtUtils]: Spent 546.00 ms on a formula simplification. DAG size of input: 135 DAG size of output: 121 [2020-10-20 08:02:12,627 WARN L193 SmtUtils]: Spent 187.00 ms on a formula simplification that was a NOOP. DAG size: 99 [2020-10-20 08:02:12,665 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 20.10 08:02:12 BoogieIcfgContainer [2020-10-20 08:02:12,665 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-20 08:02:12,665 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-20 08:02:12,665 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-20 08:02:12,665 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-20 08:02:12,666 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 08:02:09" (3/4) ... [2020-10-20 08:02:12,670 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-20 08:02:12,732 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-20 08:02:12,733 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-20 08:02:12,735 INFO L168 Benchmark]: Toolchain (without parser) took 4519.53 ms. Allocated memory was 43.5 MB in the beginning and 73.4 MB in the end (delta: 29.9 MB). Free memory was 24.2 MB in the beginning and 21.0 MB in the end (delta: 3.2 MB). Peak memory consumption was 33.1 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,735 INFO L168 Benchmark]: CDTParser took 0.22 ms. Allocated memory is still 32.5 MB. Free memory was 11.1 MB in the beginning and 11.1 MB in the end (delta: 47.5 kB). Peak memory consumption was 47.5 kB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,736 INFO L168 Benchmark]: CACSL2BoogieTranslator took 453.49 ms. Allocated memory was 43.5 MB in the beginning and 44.0 MB in the end (delta: 524.3 kB). Free memory was 23.3 MB in the beginning and 20.7 MB in the end (delta: 2.6 MB). Peak memory consumption was 13.0 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,736 INFO L168 Benchmark]: Boogie Procedure Inliner took 52.19 ms. Allocated memory is still 44.0 MB. Free memory was 20.7 MB in the beginning and 18.0 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,737 INFO L168 Benchmark]: Boogie Preprocessor took 38.19 ms. Allocated memory is still 44.0 MB. Free memory was 18.0 MB in the beginning and 15.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,738 INFO L168 Benchmark]: RCFGBuilder took 662.63 ms. Allocated memory was 44.0 MB in the beginning and 46.7 MB in the end (delta: 2.6 MB). Free memory was 15.9 MB in the beginning and 17.2 MB in the end (delta: -1.3 MB). Peak memory consumption was 7.5 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,738 INFO L168 Benchmark]: BuchiAutomizer took 3235.05 ms. Allocated memory was 46.7 MB in the beginning and 73.4 MB in the end (delta: 26.7 MB). Free memory was 17.0 MB in the beginning and 24.2 MB in the end (delta: -7.2 MB). Peak memory consumption was 30.2 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,739 INFO L168 Benchmark]: Witness Printer took 67.60 ms. Allocated memory is still 73.4 MB. Free memory was 24.2 MB in the beginning and 21.0 MB in the end (delta: 3.2 MB). Peak memory consumption was 3.2 MB. Max. memory is 14.3 GB. [2020-10-20 08:02:12,749 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.22 ms. Allocated memory is still 32.5 MB. Free memory was 11.1 MB in the beginning and 11.1 MB in the end (delta: 47.5 kB). Peak memory consumption was 47.5 kB. Max. memory is 14.3 GB. * CACSL2BoogieTranslator took 453.49 ms. Allocated memory was 43.5 MB in the beginning and 44.0 MB in the end (delta: 524.3 kB). Free memory was 23.3 MB in the beginning and 20.7 MB in the end (delta: 2.6 MB). Peak memory consumption was 13.0 MB. Max. memory is 14.3 GB. * Boogie Procedure Inliner took 52.19 ms. Allocated memory is still 44.0 MB. Free memory was 20.7 MB in the beginning and 18.0 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 14.3 GB. * Boogie Preprocessor took 38.19 ms. Allocated memory is still 44.0 MB. Free memory was 18.0 MB in the beginning and 15.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 14.3 GB. * RCFGBuilder took 662.63 ms. Allocated memory was 44.0 MB in the beginning and 46.7 MB in the end (delta: 2.6 MB). Free memory was 15.9 MB in the beginning and 17.2 MB in the end (delta: -1.3 MB). Peak memory consumption was 7.5 MB. Max. memory is 14.3 GB. * BuchiAutomizer took 3235.05 ms. Allocated memory was 46.7 MB in the beginning and 73.4 MB in the end (delta: 26.7 MB). Free memory was 17.0 MB in the beginning and 24.2 MB in the end (delta: -7.2 MB). Peak memory consumption was 30.2 MB. Max. memory is 14.3 GB. * Witness Printer took 67.60 ms. Allocated memory is still 73.4 MB. Free memory was 24.2 MB in the beginning and 21.0 MB in the end (delta: 3.2 MB). Peak memory consumption was 3.2 MB. Max. memory is 14.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 8 terminating modules (8 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.8 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 785 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.1s and 9 iterations. TraceHistogramMax:1. Analysis of lassos took 2.1s. Construction of modules took 0.3s. Büchi inclusion checks took 0.2s. Highest rank in rank-based complementation 0. Minimization of det autom 8. Minimization of nondet autom 0. Automata minimization 0.1s AutomataMinimizationTime, 8 MinimizatonAttempts, 704 StatesRemovedByMinimization, 4 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 801 states and ocurred in iteration 7. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 1201 SDtfs, 1659 SDslu, 1640 SDs, 0 SdLazy, 174 SolverSat, 61 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc1 concLT0 SILN1 SILU0 SILI3 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: 271]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=2246} State at position 1 is {count=0, NULL=0, \result=0, P_1_pc=0, NULL=2246, 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@524a5f78=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6e2484b6=0, NULL=0, NULL=0, \result=0, i=0, P_1_i=1, e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5aa93af9=0, __retres1=0, tmp___0=0, num=0, NULL=0, P_1_ev=0, tmp=0, C_1_pc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4000d13c=0, NULL=2249, \result=0, __retres1=0, tmp___0=0, tmp___1=0, data_1=0, __retres1=1, max_loop=2, NULL=2248, NULL=0, tmp=0, NULL=2247, C_1_pr=0, P_1_st=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@781548a3=0, C_1_ev=0, tmp___1=0, timer=0, __retres2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@486fadcb=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@51372c5e=0, \result=1} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 271]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L17] int max_loop ; [L18] int num ; [L19] int i ; [L20] int e ; [L21] int timer ; [L22] char data_0 ; [L23] char data_1 ; [L66] int P_1_pc; [L67] int P_1_st ; [L68] int P_1_i ; [L69] int P_1_ev ; [L124] int C_1_pc ; [L125] int C_1_st ; [L126] int C_1_i ; [L127] int C_1_ev ; [L128] int C_1_pr ; [L492] int count ; [L493] int __retres2 ; [L497] num = 0 [L498] i = 0 [L499] max_loop = 2 [L501] timer = 0 [L502] P_1_pc = 0 [L503] C_1_pc = 0 [L505] count = 0 [L485] P_1_i = 1 [L486] C_1_i = 1 [L423] int kernel_st ; [L424] int tmp ; [L425] int tmp___0 ; [L429] kernel_st = 0 [L228] COND TRUE (int )P_1_i == 1 [L229] P_1_st = 0 [L233] COND TRUE (int )C_1_i == 1 [L234] C_1_st = 0 [L367] int tmp ; [L368] int tmp___0 ; [L369] int tmp___1 ; [L106] int __retres1 ; [L109] COND FALSE !((int )P_1_pc == 1) [L119] __retres1 = 0 [L121] return (__retres1); [L373] tmp = is_P_1_triggered() [L375] COND FALSE !(\read(tmp)) [L188] int __retres1 ; [L191] COND FALSE !((int )C_1_pc == 1) [L201] COND FALSE !((int )C_1_pc == 2) [L211] __retres1 = 0 [L213] return (__retres1); [L381] tmp___1 = is_C_1_triggered() [L383] COND FALSE !(\read(tmp___1)) [L437] COND TRUE 1 [L440] kernel_st = 1 [L264] int tmp ; [L265] int tmp___0 ; [L266] int tmp___1 ; [L267] int tmp___2 ; Loop: [L271] COND TRUE 1 [L243] int __retres1 ; [L246] COND TRUE (int )P_1_st == 0 [L247] __retres1 = 1 [L260] return (__retres1); [L274] tmp___2 = exists_runnable_thread() [L276] COND TRUE \read(tmp___2) [L281] COND TRUE (int )P_1_st == 0 [L283] tmp = __VERIFIER_nondet_int() [L285] COND FALSE !(\read(tmp)) [L296] COND TRUE (int )C_1_st == 0 [L298] tmp___1 = __VERIFIER_nondet_int() [L300] COND FALSE !(\read(tmp___1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...