./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 a4ecdabc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/data/config -Xmx15G -Xms4m -jar /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/systemc/kundu1.cil.c -s /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer --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.2.0-a4ecdab [2020-11-30 00:12:08,361 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-11-30 00:12:08,363 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-11-30 00:12:08,439 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-11-30 00:12:08,442 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-11-30 00:12:08,444 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-11-30 00:12:08,446 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-11-30 00:12:08,449 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-11-30 00:12:08,452 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-11-30 00:12:08,453 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-11-30 00:12:08,458 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-11-30 00:12:08,462 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-11-30 00:12:08,463 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-11-30 00:12:08,468 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-11-30 00:12:08,470 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-11-30 00:12:08,473 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-11-30 00:12:08,475 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-11-30 00:12:08,481 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-11-30 00:12:08,485 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-11-30 00:12:08,495 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-11-30 00:12:08,497 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-11-30 00:12:08,499 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-11-30 00:12:08,502 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-11-30 00:12:08,503 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-11-30 00:12:08,507 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-11-30 00:12:08,508 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-11-30 00:12:08,508 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-11-30 00:12:08,516 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-11-30 00:12:08,517 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-11-30 00:12:08,519 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-11-30 00:12:08,519 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-11-30 00:12:08,520 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-11-30 00:12:08,523 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-11-30 00:12:08,524 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-11-30 00:12:08,525 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-11-30 00:12:08,526 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-11-30 00:12:08,527 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-11-30 00:12:08,527 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-11-30 00:12:08,527 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-11-30 00:12:08,528 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-11-30 00:12:08,529 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-11-30 00:12:08,530 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-11-30 00:12:08,580 INFO L113 SettingsManager]: Loading preferences was successful [2020-11-30 00:12:08,583 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-11-30 00:12:08,585 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-11-30 00:12:08,585 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-11-30 00:12:08,586 INFO L138 SettingsManager]: * Use SBE=true [2020-11-30 00:12:08,586 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-11-30 00:12:08,586 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-11-30 00:12:08,587 INFO L138 SettingsManager]: * Use old map elimination=false [2020-11-30 00:12:08,587 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-11-30 00:12:08,587 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-11-30 00:12:08,589 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-11-30 00:12:08,589 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-11-30 00:12:08,589 INFO L138 SettingsManager]: * sizeof long=4 [2020-11-30 00:12:08,590 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-11-30 00:12:08,590 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-11-30 00:12:08,590 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-11-30 00:12:08,591 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-11-30 00:12:08,591 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-11-30 00:12:08,591 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-11-30 00:12:08,593 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-11-30 00:12:08,593 INFO L138 SettingsManager]: * sizeof long double=12 [2020-11-30 00:12:08,595 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-11-30 00:12:08,601 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-11-30 00:12:08,602 INFO L138 SettingsManager]: * Use constant arrays=true [2020-11-30 00:12:08,603 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-11-30 00:12:08,604 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-11-30 00:12:08,604 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-11-30 00:12:08,605 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-11-30 00:12:08,605 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-11-30 00:12:08,608 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-11-30 00:12:08,608 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-11-30 00:12:08,608 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-11-30 00:12:08,610 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-11-30 00:12:08,610 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 -> /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer 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-11-30 00:12:08,909 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-11-30 00:12:08,941 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-11-30 00:12:08,947 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-11-30 00:12:08,949 INFO L271 PluginConnector]: Initializing CDTParser... [2020-11-30 00:12:08,950 INFO L275 PluginConnector]: CDTParser initialized [2020-11-30 00:12:08,951 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/../../sv-benchmarks/c/systemc/kundu1.cil.c [2020-11-30 00:12:09,058 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/data/9e05f06f5/880981a4aa7345279faf3087607226e5/FLAGeeda46268 [2020-11-30 00:12:09,584 INFO L306 CDTParser]: Found 1 translation units. [2020-11-30 00:12:09,585 INFO L160 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/sv-benchmarks/c/systemc/kundu1.cil.c [2020-11-30 00:12:09,598 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/data/9e05f06f5/880981a4aa7345279faf3087607226e5/FLAGeeda46268 [2020-11-30 00:12:09,948 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/data/9e05f06f5/880981a4aa7345279faf3087607226e5 [2020-11-30 00:12:09,951 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-11-30 00:12:09,952 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-11-30 00:12:09,954 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-11-30 00:12:09,955 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-11-30 00:12:09,958 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-11-30 00:12:09,959 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.11 12:12:09" (1/1) ... [2020-11-30 00:12:09,961 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@60677c21 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:09, skipping insertion in model container [2020-11-30 00:12:09,961 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.11 12:12:09" (1/1) ... [2020-11-30 00:12:09,968 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-11-30 00:12:10,009 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-11-30 00:12:10,254 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-11-30 00:12:10,266 INFO L203 MainTranslator]: Completed pre-run [2020-11-30 00:12:10,311 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-11-30 00:12:10,337 INFO L208 MainTranslator]: Completed translation [2020-11-30 00:12:10,338 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10 WrapperNode [2020-11-30 00:12:10,338 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-11-30 00:12:10,340 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-11-30 00:12:10,340 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-11-30 00:12:10,340 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-11-30 00:12:10,349 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,360 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,394 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-11-30 00:12:10,395 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-11-30 00:12:10,395 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-11-30 00:12:10,395 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-11-30 00:12:10,404 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,405 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,408 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,409 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,416 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,424 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,428 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... [2020-11-30 00:12:10,433 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-11-30 00:12:10,434 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-11-30 00:12:10,435 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-11-30 00:12:10,435 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-11-30 00:12:10,436 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/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-11-30 00:12:10,526 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-11-30 00:12:10,526 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-11-30 00:12:10,526 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-11-30 00:12:10,527 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-11-30 00:12:11,352 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-11-30 00:12:11,355 INFO L298 CfgBuilder]: Removed 78 assume(true) statements. [2020-11-30 00:12:11,359 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.11 12:12:11 BoogieIcfgContainer [2020-11-30 00:12:11,359 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-11-30 00:12:11,360 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-11-30 00:12:11,360 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-11-30 00:12:11,364 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-11-30 00:12:11,365 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-30 00:12:11,366 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 30.11 12:12:09" (1/3) ... [2020-11-30 00:12:11,367 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7e6ac881 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 30.11 12:12:11, skipping insertion in model container [2020-11-30 00:12:11,368 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-30 00:12:11,369 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.11 12:12:10" (2/3) ... [2020-11-30 00:12:11,369 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7e6ac881 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 30.11 12:12:11, skipping insertion in model container [2020-11-30 00:12:11,369 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-30 00:12:11,370 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.11 12:12:11" (3/3) ... [2020-11-30 00:12:11,372 INFO L373 chiAutomizerObserver]: Analyzing ICFG kundu1.cil.c [2020-11-30 00:12:11,441 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-11-30 00:12:11,441 INFO L360 BuchiCegarLoop]: Hoare is false [2020-11-30 00:12:11,442 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-11-30 00:12:11,442 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-11-30 00:12:11,442 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-11-30 00:12:11,442 INFO L364 BuchiCegarLoop]: Difference is false [2020-11-30 00:12:11,442 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-11-30 00:12:11,443 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-11-30 00:12:11,470 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 117 states. [2020-11-30 00:12:11,519 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-11-30 00:12:11,520 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:11,520 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:11,530 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:11,530 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-11-30 00:12:11,531 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-11-30 00:12:11,531 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 117 states. [2020-11-30 00:12:11,552 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 92 [2020-11-30 00:12:11,553 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:11,553 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:11,556 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:11,557 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-11-30 00:12:11,567 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-11-30 00:12:11,572 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-11-30 00:12:11,581 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:11,582 INFO L82 PathProgramCache]: Analyzing trace with hash -1468371184, now seen corresponding path program 1 times [2020-11-30 00:12:11,592 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:11,593 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [263869783] [2020-11-30 00:12:11,593 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:11,702 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:11,771 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:11,772 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [263869783] [2020-11-30 00:12:11,773 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:11,773 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-11-30 00:12:11,775 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2021841695] [2020-11-30 00:12:11,780 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-30 00:12:11,781 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:11,781 INFO L82 PathProgramCache]: Analyzing trace with hash 330099143, now seen corresponding path program 1 times [2020-11-30 00:12:11,782 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:11,782 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2082643265] [2020-11-30 00:12:11,783 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:11,791 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:11,802 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:11,802 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2082643265] [2020-11-30 00:12:11,803 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:11,803 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-11-30 00:12:11,803 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [849589209] [2020-11-30 00:12:11,805 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-30 00:12:11,806 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:11,823 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-11-30 00:12:11,824 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-11-30 00:12:11,827 INFO L87 Difference]: Start difference. First operand 117 states. Second operand 3 states. [2020-11-30 00:12:11,858 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:11,858 INFO L93 Difference]: Finished difference Result 113 states and 163 transitions. [2020-11-30 00:12:11,859 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-11-30 00:12:11,861 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 113 states and 163 transitions. [2020-11-30 00:12:11,865 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 85 [2020-11-30 00:12:11,872 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 113 states to 106 states and 156 transitions. [2020-11-30 00:12:11,873 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 106 [2020-11-30 00:12:11,874 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 106 [2020-11-30 00:12:11,875 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 156 transitions. [2020-11-30 00:12:11,876 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:11,876 INFO L691 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2020-11-30 00:12:11,918 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 156 transitions. [2020-11-30 00:12:11,935 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 106. [2020-11-30 00:12:11,935 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 106 states. [2020-11-30 00:12:11,937 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 106 states to 106 states and 156 transitions. [2020-11-30 00:12:11,938 INFO L714 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2020-11-30 00:12:11,939 INFO L594 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2020-11-30 00:12:11,939 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-11-30 00:12:11,939 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 106 states and 156 transitions. [2020-11-30 00:12:11,941 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 85 [2020-11-30 00:12:11,941 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:11,942 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:11,943 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:11,944 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-11-30 00:12:11,944 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-11-30 00:12:11,945 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-11-30 00:12:11,946 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:11,946 INFO L82 PathProgramCache]: Analyzing trace with hash -457253934, now seen corresponding path program 1 times [2020-11-30 00:12:11,946 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:11,947 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2069187604] [2020-11-30 00:12:11,947 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:11,978 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:12,058 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:12,058 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2069187604] [2020-11-30 00:12:12,059 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:12,059 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-11-30 00:12:12,059 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1288654809] [2020-11-30 00:12:12,060 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-30 00:12:12,060 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:12,060 INFO L82 PathProgramCache]: Analyzing trace with hash -1962119694, now seen corresponding path program 1 times [2020-11-30 00:12:12,061 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:12,061 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [140732415] [2020-11-30 00:12:12,061 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:12,091 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:12,152 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:12,153 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [140732415] [2020-11-30 00:12:12,153 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:12,153 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-30 00:12:12,154 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1569754591] [2020-11-30 00:12:12,154 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-30 00:12:12,154 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:12,155 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-11-30 00:12:12,155 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-11-30 00:12:12,156 INFO L87 Difference]: Start difference. First operand 106 states and 156 transitions. cyclomatic complexity: 51 Second operand 3 states. [2020-11-30 00:12:12,227 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:12,227 INFO L93 Difference]: Finished difference Result 187 states and 270 transitions. [2020-11-30 00:12:12,228 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-11-30 00:12:12,228 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 187 states and 270 transitions. [2020-11-30 00:12:12,231 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 167 [2020-11-30 00:12:12,235 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 187 states to 187 states and 270 transitions. [2020-11-30 00:12:12,235 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 187 [2020-11-30 00:12:12,236 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 187 [2020-11-30 00:12:12,236 INFO L73 IsDeterministic]: Start isDeterministic. Operand 187 states and 270 transitions. [2020-11-30 00:12:12,238 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:12,238 INFO L691 BuchiCegarLoop]: Abstraction has 187 states and 270 transitions. [2020-11-30 00:12:12,238 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 187 states and 270 transitions. [2020-11-30 00:12:12,251 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 187 to 183. [2020-11-30 00:12:12,251 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 183 states. [2020-11-30 00:12:12,252 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 183 states to 183 states and 265 transitions. [2020-11-30 00:12:12,253 INFO L714 BuchiCegarLoop]: Abstraction has 183 states and 265 transitions. [2020-11-30 00:12:12,253 INFO L594 BuchiCegarLoop]: Abstraction has 183 states and 265 transitions. [2020-11-30 00:12:12,253 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-11-30 00:12:12,253 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 183 states and 265 transitions. [2020-11-30 00:12:12,255 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 163 [2020-11-30 00:12:12,255 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:12,255 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:12,257 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:12,257 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-11-30 00:12:12,257 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-11-30 00:12:12,258 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-11-30 00:12:12,258 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:12,258 INFO L82 PathProgramCache]: Analyzing trace with hash -1330092589, now seen corresponding path program 1 times [2020-11-30 00:12:12,258 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:12,259 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [421952283] [2020-11-30 00:12:12,259 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:12,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:12,343 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:12,344 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [421952283] [2020-11-30 00:12:12,344 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:12,344 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-11-30 00:12:12,344 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1785790735] [2020-11-30 00:12:12,345 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-30 00:12:12,345 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:12,346 INFO L82 PathProgramCache]: Analyzing trace with hash 742452625, now seen corresponding path program 1 times [2020-11-30 00:12:12,346 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:12,346 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1259781035] [2020-11-30 00:12:12,346 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:12,360 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:12,403 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:12,404 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1259781035] [2020-11-30 00:12:12,404 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:12,404 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-30 00:12:12,404 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1234707386] [2020-11-30 00:12:12,405 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-30 00:12:12,405 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:12,406 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-11-30 00:12:12,406 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-11-30 00:12:12,406 INFO L87 Difference]: Start difference. First operand 183 states and 265 transitions. cyclomatic complexity: 83 Second operand 4 states. [2020-11-30 00:12:12,637 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:12,637 INFO L93 Difference]: Finished difference Result 409 states and 574 transitions. [2020-11-30 00:12:12,637 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-11-30 00:12:12,638 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 409 states and 574 transitions. [2020-11-30 00:12:12,643 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 378 [2020-11-30 00:12:12,651 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 409 states to 409 states and 574 transitions. [2020-11-30 00:12:12,651 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 409 [2020-11-30 00:12:12,654 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 409 [2020-11-30 00:12:12,654 INFO L73 IsDeterministic]: Start isDeterministic. Operand 409 states and 574 transitions. [2020-11-30 00:12:12,662 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:12,662 INFO L691 BuchiCegarLoop]: Abstraction has 409 states and 574 transitions. [2020-11-30 00:12:12,664 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 409 states and 574 transitions. [2020-11-30 00:12:12,696 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 409 to 315. [2020-11-30 00:12:12,696 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 315 states. [2020-11-30 00:12:12,706 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 315 states to 315 states and 448 transitions. [2020-11-30 00:12:12,707 INFO L714 BuchiCegarLoop]: Abstraction has 315 states and 448 transitions. [2020-11-30 00:12:12,707 INFO L594 BuchiCegarLoop]: Abstraction has 315 states and 448 transitions. [2020-11-30 00:12:12,708 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-11-30 00:12:12,708 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 315 states and 448 transitions. [2020-11-30 00:12:12,711 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 296 [2020-11-30 00:12:12,712 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:12,713 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:12,714 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-11-30 00:12:12,717 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-11-30 00:12:12,718 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-11-30 00:12:12,718 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-11-30 00:12:12,719 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:12,719 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 1 times [2020-11-30 00:12:12,719 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:12,721 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1313551359] [2020-11-30 00:12:12,721 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:12,748 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:12,761 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:12,779 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:12,789 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:12,819 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:12,820 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:12,820 INFO L82 PathProgramCache]: Analyzing trace with hash -1973795747, now seen corresponding path program 1 times [2020-11-30 00:12:12,821 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:12,821 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1724396859] [2020-11-30 00:12:12,822 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:12,832 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:12,865 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:12,866 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1724396859] [2020-11-30 00:12:12,866 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:12,866 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-30 00:12:12,867 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1064035601] [2020-11-30 00:12:12,867 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-30 00:12:12,867 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:12,868 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-30 00:12:12,868 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-11-30 00:12:12,868 INFO L87 Difference]: Start difference. First operand 315 states and 448 transitions. cyclomatic complexity: 134 Second operand 5 states. [2020-11-30 00:12:12,982 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:12,983 INFO L93 Difference]: Finished difference Result 549 states and 768 transitions. [2020-11-30 00:12:12,983 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-11-30 00:12:12,983 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 549 states and 768 transitions. [2020-11-30 00:12:12,989 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 530 [2020-11-30 00:12:12,996 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 549 states to 549 states and 768 transitions. [2020-11-30 00:12:12,997 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 549 [2020-11-30 00:12:12,998 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 549 [2020-11-30 00:12:12,998 INFO L73 IsDeterministic]: Start isDeterministic. Operand 549 states and 768 transitions. [2020-11-30 00:12:12,999 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:13,000 INFO L691 BuchiCegarLoop]: Abstraction has 549 states and 768 transitions. [2020-11-30 00:12:13,001 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 549 states and 768 transitions. [2020-11-30 00:12:13,033 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 549 to 327. [2020-11-30 00:12:13,033 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 327 states. [2020-11-30 00:12:13,035 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 327 states to 327 states and 460 transitions. [2020-11-30 00:12:13,035 INFO L714 BuchiCegarLoop]: Abstraction has 327 states and 460 transitions. [2020-11-30 00:12:13,035 INFO L594 BuchiCegarLoop]: Abstraction has 327 states and 460 transitions. [2020-11-30 00:12:13,035 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-11-30 00:12:13,036 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 327 states and 460 transitions. [2020-11-30 00:12:13,038 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 308 [2020-11-30 00:12:13,038 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:13,039 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:13,040 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-11-30 00:12:13,040 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-11-30 00:12:13,040 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-11-30 00:12:13,040 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-11-30 00:12:13,041 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,041 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 2 times [2020-11-30 00:12:13,046 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,047 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [429333194] [2020-11-30 00:12:13,055 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,079 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,112 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,112 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,127 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:13,127 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,128 INFO L82 PathProgramCache]: Analyzing trace with hash -1259139019, now seen corresponding path program 1 times [2020-11-30 00:12:13,128 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,128 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [431873037] [2020-11-30 00:12:13,128 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,140 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:13,238 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:13,239 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [431873037] [2020-11-30 00:12:13,239 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:13,239 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-30 00:12:13,240 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1228898761] [2020-11-30 00:12:13,240 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-30 00:12:13,240 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:13,241 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-30 00:12:13,241 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-11-30 00:12:13,241 INFO L87 Difference]: Start difference. First operand 327 states and 460 transitions. cyclomatic complexity: 134 Second operand 5 states. [2020-11-30 00:12:13,362 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:13,362 INFO L93 Difference]: Finished difference Result 723 states and 1015 transitions. [2020-11-30 00:12:13,362 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-11-30 00:12:13,363 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 723 states and 1015 transitions. [2020-11-30 00:12:13,371 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 704 [2020-11-30 00:12:13,378 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 723 states to 723 states and 1015 transitions. [2020-11-30 00:12:13,379 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 723 [2020-11-30 00:12:13,380 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 723 [2020-11-30 00:12:13,380 INFO L73 IsDeterministic]: Start isDeterministic. Operand 723 states and 1015 transitions. [2020-11-30 00:12:13,381 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:13,381 INFO L691 BuchiCegarLoop]: Abstraction has 723 states and 1015 transitions. [2020-11-30 00:12:13,382 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 723 states and 1015 transitions. [2020-11-30 00:12:13,394 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 723 to 339. [2020-11-30 00:12:13,394 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 339 states. [2020-11-30 00:12:13,396 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 339 states to 339 states and 467 transitions. [2020-11-30 00:12:13,396 INFO L714 BuchiCegarLoop]: Abstraction has 339 states and 467 transitions. [2020-11-30 00:12:13,397 INFO L594 BuchiCegarLoop]: Abstraction has 339 states and 467 transitions. [2020-11-30 00:12:13,397 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-11-30 00:12:13,397 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 339 states and 467 transitions. [2020-11-30 00:12:13,399 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 320 [2020-11-30 00:12:13,399 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:13,400 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:13,402 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-11-30 00:12:13,402 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-11-30 00:12:13,402 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-11-30 00:12:13,404 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-11-30 00:12:13,404 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,405 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 3 times [2020-11-30 00:12:13,405 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,405 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [187270157] [2020-11-30 00:12:13,405 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,435 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,443 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,443 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,458 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:13,459 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,460 INFO L82 PathProgramCache]: Analyzing trace with hash -836437193, now seen corresponding path program 1 times [2020-11-30 00:12:13,461 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,462 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [246213966] [2020-11-30 00:12:13,462 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:13,510 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:13,510 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [246213966] [2020-11-30 00:12:13,511 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:13,511 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-11-30 00:12:13,511 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [644798147] [2020-11-30 00:12:13,512 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-30 00:12:13,512 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:13,512 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-11-30 00:12:13,513 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-11-30 00:12:13,513 INFO L87 Difference]: Start difference. First operand 339 states and 467 transitions. cyclomatic complexity: 129 Second operand 3 states. [2020-11-30 00:12:13,576 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:13,576 INFO L93 Difference]: Finished difference Result 493 states and 667 transitions. [2020-11-30 00:12:13,577 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-11-30 00:12:13,577 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 493 states and 667 transitions. [2020-11-30 00:12:13,582 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 468 [2020-11-30 00:12:13,587 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 493 states to 493 states and 667 transitions. [2020-11-30 00:12:13,588 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 493 [2020-11-30 00:12:13,588 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 493 [2020-11-30 00:12:13,588 INFO L73 IsDeterministic]: Start isDeterministic. Operand 493 states and 667 transitions. [2020-11-30 00:12:13,589 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:13,590 INFO L691 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2020-11-30 00:12:13,590 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 493 states and 667 transitions. [2020-11-30 00:12:13,601 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 493 to 493. [2020-11-30 00:12:13,601 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 493 states. [2020-11-30 00:12:13,604 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 493 states to 493 states and 667 transitions. [2020-11-30 00:12:13,604 INFO L714 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2020-11-30 00:12:13,604 INFO L594 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2020-11-30 00:12:13,604 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-11-30 00:12:13,604 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 493 states and 667 transitions. [2020-11-30 00:12:13,608 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 468 [2020-11-30 00:12:13,609 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:13,609 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:13,611 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-11-30 00:12:13,611 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:13,611 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-11-30 00:12:13,612 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-11-30 00:12:13,612 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,612 INFO L82 PathProgramCache]: Analyzing trace with hash 263198343, now seen corresponding path program 1 times [2020-11-30 00:12:13,613 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,613 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [269801479] [2020-11-30 00:12:13,614 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,637 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,665 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,674 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:13,680 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,681 INFO L82 PathProgramCache]: Analyzing trace with hash 1487904259, now seen corresponding path program 1 times [2020-11-30 00:12:13,681 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,681 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [643153770] [2020-11-30 00:12:13,682 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,691 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:13,697 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:13,700 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:13,705 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:13,707 INFO L82 PathProgramCache]: Analyzing trace with hash 489258557, now seen corresponding path program 1 times [2020-11-30 00:12:13,707 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:13,707 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2143213683] [2020-11-30 00:12:13,708 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:13,715 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:13,747 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:13,747 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2143213683] [2020-11-30 00:12:13,747 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:13,747 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-11-30 00:12:13,748 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1213400074] [2020-11-30 00:12:13,834 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:13,835 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-11-30 00:12:13,835 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-11-30 00:12:13,835 INFO L87 Difference]: Start difference. First operand 493 states and 667 transitions. cyclomatic complexity: 177 Second operand 3 states. [2020-11-30 00:12:14,001 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:14,002 INFO L93 Difference]: Finished difference Result 801 states and 1061 transitions. [2020-11-30 00:12:14,005 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-11-30 00:12:14,005 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 801 states and 1061 transitions. [2020-11-30 00:12:14,014 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-11-30 00:12:14,022 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 801 states to 801 states and 1061 transitions. [2020-11-30 00:12:14,023 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 801 [2020-11-30 00:12:14,024 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 801 [2020-11-30 00:12:14,024 INFO L73 IsDeterministic]: Start isDeterministic. Operand 801 states and 1061 transitions. [2020-11-30 00:12:14,025 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:14,026 INFO L691 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2020-11-30 00:12:14,027 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 801 states and 1061 transitions. [2020-11-30 00:12:14,043 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 801 to 801. [2020-11-30 00:12:14,043 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 801 states. [2020-11-30 00:12:14,051 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 801 states to 801 states and 1061 transitions. [2020-11-30 00:12:14,051 INFO L714 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2020-11-30 00:12:14,052 INFO L594 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2020-11-30 00:12:14,052 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-11-30 00:12:14,052 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 801 states and 1061 transitions. [2020-11-30 00:12:14,060 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-11-30 00:12:14,060 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:14,061 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:14,062 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-11-30 00:12:14,062 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:14,062 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-11-30 00:12:14,063 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-11-30 00:12:14,063 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:14,066 INFO L82 PathProgramCache]: Analyzing trace with hash -757871933, now seen corresponding path program 1 times [2020-11-30 00:12:14,066 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:14,066 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [882173813] [2020-11-30 00:12:14,067 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:14,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-30 00:12:14,102 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-30 00:12:14,102 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [882173813] [2020-11-30 00:12:14,102 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-30 00:12:14,103 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-11-30 00:12:14,103 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1694379113] [2020-11-30 00:12:14,103 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-30 00:12:14,104 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:14,104 INFO L82 PathProgramCache]: Analyzing trace with hash -1119610449, now seen corresponding path program 1 times [2020-11-30 00:12:14,104 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:14,104 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [890917123] [2020-11-30 00:12:14,104 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:14,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,108 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,116 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,124 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:14,244 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-30 00:12:14,245 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-11-30 00:12:14,245 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-11-30 00:12:14,245 INFO L87 Difference]: Start difference. First operand 801 states and 1061 transitions. cyclomatic complexity: 263 Second operand 3 states. [2020-11-30 00:12:14,258 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-30 00:12:14,258 INFO L93 Difference]: Finished difference Result 785 states and 1041 transitions. [2020-11-30 00:12:14,259 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-11-30 00:12:14,259 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 785 states and 1041 transitions. [2020-11-30 00:12:14,267 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-11-30 00:12:14,275 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 785 states to 785 states and 1041 transitions. [2020-11-30 00:12:14,275 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 785 [2020-11-30 00:12:14,276 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 785 [2020-11-30 00:12:14,276 INFO L73 IsDeterministic]: Start isDeterministic. Operand 785 states and 1041 transitions. [2020-11-30 00:12:14,278 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-30 00:12:14,278 INFO L691 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2020-11-30 00:12:14,279 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 785 states and 1041 transitions. [2020-11-30 00:12:14,293 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 785 to 785. [2020-11-30 00:12:14,294 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 785 states. [2020-11-30 00:12:14,297 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 785 states to 785 states and 1041 transitions. [2020-11-30 00:12:14,298 INFO L714 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2020-11-30 00:12:14,298 INFO L594 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2020-11-30 00:12:14,298 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-11-30 00:12:14,298 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 785 states and 1041 transitions. [2020-11-30 00:12:14,303 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2020-11-30 00:12:14,303 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-30 00:12:14,304 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-30 00:12:14,304 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-11-30 00:12:14,304 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-30 00:12:14,305 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-11-30 00:12:14,305 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-11-30 00:12:14,306 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:14,306 INFO L82 PathProgramCache]: Analyzing trace with hash 263198343, now seen corresponding path program 2 times [2020-11-30 00:12:14,306 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:14,306 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1758279192] [2020-11-30 00:12:14,307 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:14,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,335 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,344 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,345 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,356 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:14,357 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:14,357 INFO L82 PathProgramCache]: Analyzing trace with hash -1119610449, now seen corresponding path program 2 times [2020-11-30 00:12:14,358 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:14,359 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [399820338] [2020-11-30 00:12:14,359 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:14,367 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,367 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,370 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,371 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,373 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:14,376 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-30 00:12:14,376 INFO L82 PathProgramCache]: Analyzing trace with hash -2012856139, now seen corresponding path program 1 times [2020-11-30 00:12:14,376 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-30 00:12:14,376 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1436330428] [2020-11-30 00:12:14,377 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-30 00:12:14,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,396 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,408 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-30 00:12:14,408 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-30 00:12:14,418 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-30 00:12:15,580 WARN L193 SmtUtils]: Spent 1.03 s on a formula simplification. DAG size of input: 135 DAG size of output: 121 [2020-11-30 00:12:15,976 WARN L193 SmtUtils]: Spent 360.00 ms on a formula simplification that was a NOOP. DAG size: 99 [2020-11-30 00:12:16,017 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 30.11 12:12:16 BoogieIcfgContainer [2020-11-30 00:12:16,017 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-11-30 00:12:16,018 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-11-30 00:12:16,018 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-11-30 00:12:16,018 INFO L275 PluginConnector]: Witness Printer initialized [2020-11-30 00:12:16,019 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.11 12:12:11" (3/4) ... [2020-11-30 00:12:16,022 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-11-30 00:12:16,110 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/run_dir_be26277b-53f7-48d9-98e9-8da1ab1264bc/bin/uautomizer/witness.graphml [2020-11-30 00:12:16,110 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-11-30 00:12:16,112 INFO L168 Benchmark]: Toolchain (without parser) took 6158.67 ms. Allocated memory was 83.9 MB in the beginning and 163.6 MB in the end (delta: 79.7 MB). Free memory was 55.9 MB in the beginning and 113.8 MB in the end (delta: -57.8 MB). Peak memory consumption was 22.7 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,113 INFO L168 Benchmark]: CDTParser took 0.94 ms. Allocated memory is still 83.9 MB. Free memory was 41.4 MB in the beginning and 41.4 MB in the end (delta: 35.4 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-11-30 00:12:16,114 INFO L168 Benchmark]: CACSL2BoogieTranslator took 384.28 ms. Allocated memory was 83.9 MB in the beginning and 104.9 MB in the end (delta: 21.0 MB). Free memory was 55.9 MB in the beginning and 79.4 MB in the end (delta: -23.5 MB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,114 INFO L168 Benchmark]: Boogie Procedure Inliner took 54.34 ms. Allocated memory is still 104.9 MB. Free memory was 79.4 MB in the beginning and 77.3 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,115 INFO L168 Benchmark]: Boogie Preprocessor took 38.87 ms. Allocated memory is still 104.9 MB. Free memory was 77.3 MB in the beginning and 75.2 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,115 INFO L168 Benchmark]: RCFGBuilder took 924.85 ms. Allocated memory is still 104.9 MB. Free memory was 75.2 MB in the beginning and 69.0 MB in the end (delta: 6.1 MB). Peak memory consumption was 23.3 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,116 INFO L168 Benchmark]: BuchiAutomizer took 4656.95 ms. Allocated memory was 104.9 MB in the beginning and 163.6 MB in the end (delta: 58.7 MB). Free memory was 69.0 MB in the beginning and 115.8 MB in the end (delta: -46.7 MB). Peak memory consumption was 52.4 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,116 INFO L168 Benchmark]: Witness Printer took 92.30 ms. Allocated memory is still 163.6 MB. Free memory was 115.8 MB in the beginning and 113.8 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-11-30 00:12:16,119 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.94 ms. Allocated memory is still 83.9 MB. Free memory was 41.4 MB in the beginning and 41.4 MB in the end (delta: 35.4 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 384.28 ms. Allocated memory was 83.9 MB in the beginning and 104.9 MB in the end (delta: 21.0 MB). Free memory was 55.9 MB in the beginning and 79.4 MB in the end (delta: -23.5 MB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 54.34 ms. Allocated memory is still 104.9 MB. Free memory was 79.4 MB in the beginning and 77.3 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 38.87 ms. Allocated memory is still 104.9 MB. Free memory was 77.3 MB in the beginning and 75.2 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 924.85 ms. Allocated memory is still 104.9 MB. Free memory was 75.2 MB in the beginning and 69.0 MB in the end (delta: 6.1 MB). Peak memory consumption was 23.3 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 4656.95 ms. Allocated memory was 104.9 MB in the beginning and 163.6 MB in the end (delta: 58.7 MB). Free memory was 69.0 MB in the beginning and 115.8 MB in the end (delta: -46.7 MB). Peak memory consumption was 52.4 MB. Max. memory is 16.1 GB. * Witness Printer took 92.30 ms. Allocated memory is still 163.6 MB. Free memory was 115.8 MB in the beginning and 113.8 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 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 4.5s and 9 iterations. TraceHistogramMax:1. Analysis of lassos took 3.1s. Construction of modules took 0.4s. Büchi inclusion checks took 0.3s. 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.1s 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.4s 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@59619b27=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@72f05ae1=0, NULL=0, NULL=0, \result=0, i=0, P_1_i=1, e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@14aa202a=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@10101d35=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@3e71df28=0, C_1_ev=0, tmp___1=0, timer=0, __retres2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@8f78ca4=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@365e3081=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...