./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/systemc/kundu2.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version b2eff8ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/systemc/kundu2.cil.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD --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 675beb290cb38638b63e72fd9d2ed4716ca2099b80b54ec647c3c18e7093627c .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 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.1-dev-b2eff8b [2021-10-28 23:01:29,669 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-28 23:01:29,672 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-28 23:01:29,734 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-28 23:01:29,735 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-28 23:01:29,740 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-28 23:01:29,742 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-28 23:01:29,746 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-28 23:01:29,749 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-28 23:01:29,757 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-28 23:01:29,759 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-28 23:01:29,761 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-28 23:01:29,762 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-28 23:01:29,765 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-28 23:01:29,768 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-28 23:01:29,774 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-28 23:01:29,777 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-28 23:01:29,778 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-28 23:01:29,781 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-28 23:01:29,793 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-28 23:01:29,795 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-28 23:01:29,797 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-28 23:01:29,801 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-28 23:01:29,802 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-28 23:01:29,812 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-28 23:01:29,813 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-28 23:01:29,813 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-28 23:01:29,816 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-28 23:01:29,817 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-28 23:01:29,818 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-28 23:01:29,819 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-28 23:01:29,820 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-28 23:01:29,822 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-28 23:01:29,824 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-28 23:01:29,825 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-28 23:01:29,826 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-28 23:01:29,827 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-28 23:01:29,828 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-28 23:01:29,828 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-28 23:01:29,829 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-28 23:01:29,830 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-28 23:01:29,831 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-28 23:01:29,867 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-28 23:01:29,872 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-28 23:01:29,873 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-28 23:01:29,873 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-28 23:01:29,875 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-28 23:01:29,876 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-28 23:01:29,876 INFO L138 SettingsManager]: * Use SBE=true [2021-10-28 23:01:29,876 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-28 23:01:29,877 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-28 23:01:29,877 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-28 23:01:29,878 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-28 23:01:29,878 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-28 23:01:29,879 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-28 23:01:29,879 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-28 23:01:29,879 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-28 23:01:29,879 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-28 23:01:29,888 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-28 23:01:29,888 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-28 23:01:29,888 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-28 23:01:29,888 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-28 23:01:29,889 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-28 23:01:29,889 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-28 23:01:29,889 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-28 23:01:29,889 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-28 23:01:29,890 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-28 23:01:29,890 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-28 23:01:29,891 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-28 23:01:29,892 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-28 23:01:29,892 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-28 23:01:29,892 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-28 23:01:29,893 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-28 23:01:29,893 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-28 23:01:29,895 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-28 23:01:29,895 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_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/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_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD 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 -> 675beb290cb38638b63e72fd9d2ed4716ca2099b80b54ec647c3c18e7093627c [2021-10-28 23:01:30,218 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-28 23:01:30,254 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-28 23:01:30,258 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-28 23:01:30,259 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-28 23:01:30,261 INFO L275 PluginConnector]: CDTParser initialized [2021-10-28 23:01:30,262 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/../../sv-benchmarks/c/systemc/kundu2.cil.c [2021-10-28 23:01:30,348 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/data/dc86c0b24/186e50a0cc99487e8e6d5b76deafa697/FLAG385c001c3 [2021-10-28 23:01:30,997 INFO L306 CDTParser]: Found 1 translation units. [2021-10-28 23:01:31,005 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/sv-benchmarks/c/systemc/kundu2.cil.c [2021-10-28 23:01:31,024 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/data/dc86c0b24/186e50a0cc99487e8e6d5b76deafa697/FLAG385c001c3 [2021-10-28 23:01:31,296 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/data/dc86c0b24/186e50a0cc99487e8e6d5b76deafa697 [2021-10-28 23:01:31,298 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-28 23:01:31,300 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-28 23:01:31,302 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-28 23:01:31,302 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-28 23:01:31,306 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-28 23:01:31,307 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,309 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6a63b4e9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31, skipping insertion in model container [2021-10-28 23:01:31,309 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,317 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-28 23:01:31,367 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-28 23:01:31,549 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/sv-benchmarks/c/systemc/kundu2.cil.c[331,344] [2021-10-28 23:01:31,628 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 23:01:31,639 INFO L203 MainTranslator]: Completed pre-run [2021-10-28 23:01:31,650 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/sv-benchmarks/c/systemc/kundu2.cil.c[331,344] [2021-10-28 23:01:31,685 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 23:01:31,708 INFO L208 MainTranslator]: Completed translation [2021-10-28 23:01:31,709 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31 WrapperNode [2021-10-28 23:01:31,709 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-28 23:01:31,710 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-28 23:01:31,710 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-28 23:01:31,710 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-28 23:01:31,719 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,729 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,782 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-28 23:01:31,783 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-28 23:01:31,783 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-28 23:01:31,784 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-28 23:01:31,792 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,792 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,794 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,795 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,805 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,828 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,831 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,836 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-28 23:01:31,837 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-28 23:01:31,837 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-28 23:01:31,837 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-28 23:01:31,839 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (1/1) ... [2021-10-28 23:01:31,847 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-28 23:01:31,862 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/z3 [2021-10-28 23:01:31,884 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-28 23:01:31,913 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-28 23:01:31,948 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-28 23:01:31,948 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-28 23:01:31,948 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-28 23:01:31,948 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-28 23:01:32,550 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-28 23:01:32,555 INFO L299 CfgBuilder]: Removed 95 assume(true) statements. [2021-10-28 23:01:32,557 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:01:32 BoogieIcfgContainer [2021-10-28 23:01:32,558 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-28 23:01:32,559 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-28 23:01:32,559 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-28 23:01:32,563 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-28 23:01:32,564 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:01:32,565 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.10 11:01:31" (1/3) ... [2021-10-28 23:01:32,567 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@258a87b3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 11:01:32, skipping insertion in model container [2021-10-28 23:01:32,567 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:01:32,567 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:01:31" (2/3) ... [2021-10-28 23:01:32,568 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@258a87b3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 11:01:32, skipping insertion in model container [2021-10-28 23:01:32,568 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:01:32,568 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:01:32" (3/3) ... [2021-10-28 23:01:32,570 INFO L389 chiAutomizerObserver]: Analyzing ICFG kundu2.cil.c [2021-10-28 23:01:32,636 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-28 23:01:32,636 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-28 23:01:32,636 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-28 23:01:32,636 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-28 23:01:32,637 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-28 23:01:32,637 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-28 23:01:32,637 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-28 23:01:32,637 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-28 23:01:32,670 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 176 states, 175 states have (on average 1.542857142857143) internal successors, (270), 175 states have internal predecessors, (270), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:32,725 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 143 [2021-10-28 23:01:32,725 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:32,725 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:32,735 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:32,736 INFO L843 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] [2021-10-28 23:01:32,736 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-28 23:01:32,738 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 176 states, 175 states have (on average 1.542857142857143) internal successors, (270), 175 states have internal predecessors, (270), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:32,756 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 143 [2021-10-28 23:01:32,759 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:32,759 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:32,761 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:32,764 INFO L843 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] [2021-10-28 23:01:32,773 INFO L791 eck$LassoCheckResult]: Stem: 160#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 53#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 150#L591true havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 46#L289true assume !(1 == ~P_1_i~0);~P_1_st~0 := 2; 87#L296-1true assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 129#L301-1true assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 156#L306-1true havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 149#L109true assume !(1 == ~P_1_pc~0); 169#L109-2true is_P_1_triggered_~__retres1~0 := 0; 61#L120true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 41#L121true activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 19#L469true assume !(0 != activate_threads_~tmp~1); 48#L469-2true havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 72#L177true assume 1 == ~P_2_pc~0; 43#L178true assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 30#L188true is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 111#L189true activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 42#L477true assume !(0 != activate_threads_~tmp___0~1); 107#L477-2true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 85#L259true assume 1 == ~C_1_pc~0; 81#L260true assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 123#L280true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 24#L281true activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 124#L485true assume !(0 != activate_threads_~tmp___1~1); 70#L539-1true [2021-10-28 23:01:32,775 INFO L793 eck$LassoCheckResult]: Loop: 70#L539-1true assume !false; 39#L540true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 33#L388true assume !true; 154#L404true start_simulation_~kernel_st~0 := 2; 5#L289-1true start_simulation_~kernel_st~0 := 3; 148#L415true havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 151#L109-6true assume 1 == ~P_1_pc~0; 56#L110-2true assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 44#L120-2true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 13#L121-2true activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 59#L469-6true assume !(0 != activate_threads_~tmp~1); 113#L469-8true havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 60#L177-6true assume !(1 == ~P_2_pc~0); 120#L177-8true is_P_2_triggered_~__retres1~1 := 0; 12#L188-2true is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 66#L189-2true activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 38#L477-6true assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 77#L477-8true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 79#L259-6true assume 1 == ~C_1_pc~0; 121#L260-2true assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 142#L280-2true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 98#L281-2true activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 67#L485-6true assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 168#L485-8true havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 138#L319-1true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 8#L336-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 177#L337-1true start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 175#L558true assume !(0 == start_simulation_~tmp~3); 143#L558-1true havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 27#L319-2true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 103#L336-2true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 165#L337-2true stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 131#L513true assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 55#L520true stop_simulation_#res := stop_simulation_~__retres2~0; 119#L521true start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 163#L571true assume !(0 != start_simulation_~tmp___0~2); 70#L539-1true [2021-10-28 23:01:32,782 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:32,782 INFO L85 PathProgramCache]: Analyzing trace with hash -1148319283, now seen corresponding path program 1 times [2021-10-28 23:01:32,792 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:32,793 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [90740806] [2021-10-28 23:01:32,793 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:32,794 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:32,985 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,093 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,094 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,095 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [90740806] [2021-10-28 23:01:33,096 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [90740806] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,096 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,096 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 23:01:33,098 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [21394833] [2021-10-28 23:01:33,103 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 23:01:33,104 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,104 INFO L85 PathProgramCache]: Analyzing trace with hash -2040352856, now seen corresponding path program 1 times [2021-10-28 23:01:33,104 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,105 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [818462056] [2021-10-28 23:01:33,105 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,106 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,113 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,131 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,132 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,132 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [818462056] [2021-10-28 23:01:33,132 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [818462056] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,132 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,133 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-28 23:01:33,133 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1372874871] [2021-10-28 23:01:33,135 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:33,136 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:33,149 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:33,150 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:33,152 INFO L87 Difference]: Start difference. First operand has 176 states, 175 states have (on average 1.542857142857143) internal successors, (270), 175 states have internal predecessors, (270), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 3 states have (on average 8.0) internal successors, (24), 3 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:33,183 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:33,183 INFO L93 Difference]: Finished difference Result 175 states and 257 transitions. [2021-10-28 23:01:33,184 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:33,186 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 175 states and 257 transitions. [2021-10-28 23:01:33,189 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 138 [2021-10-28 23:01:33,195 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 175 states to 167 states and 249 transitions. [2021-10-28 23:01:33,196 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 167 [2021-10-28 23:01:33,197 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 167 [2021-10-28 23:01:33,198 INFO L73 IsDeterministic]: Start isDeterministic. Operand 167 states and 249 transitions. [2021-10-28 23:01:33,200 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:33,200 INFO L681 BuchiCegarLoop]: Abstraction has 167 states and 249 transitions. [2021-10-28 23:01:33,218 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 167 states and 249 transitions. [2021-10-28 23:01:33,235 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 167 to 167. [2021-10-28 23:01:33,237 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 167 states, 167 states have (on average 1.4910179640718564) internal successors, (249), 166 states have internal predecessors, (249), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:33,238 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 167 states to 167 states and 249 transitions. [2021-10-28 23:01:33,239 INFO L704 BuchiCegarLoop]: Abstraction has 167 states and 249 transitions. [2021-10-28 23:01:33,240 INFO L587 BuchiCegarLoop]: Abstraction has 167 states and 249 transitions. [2021-10-28 23:01:33,240 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-28 23:01:33,240 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 167 states and 249 transitions. [2021-10-28 23:01:33,242 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 138 [2021-10-28 23:01:33,242 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:33,242 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:33,244 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:33,244 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:33,245 INFO L791 eck$LassoCheckResult]: Stem: 523#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 447#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 448#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 438#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 439#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 485#L301-1 assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 515#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 522#L109 assume !(1 == ~P_1_pc~0); 483#L109-2 is_P_1_triggered_~__retres1~0 := 0; 459#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 430#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 393#L469 assume !(0 != activate_threads_~tmp~1); 394#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 442#L177 assume 1 == ~P_2_pc~0; 433#L178 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 414#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 415#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 431#L477 assume !(0 != activate_threads_~tmp___0~1); 432#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 484#L259 assume 1 == ~C_1_pc~0; 478#L260 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 384#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 402#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 403#L485 assume !(0 != activate_threads_~tmp___1~1); 471#L539-1 [2021-10-28 23:01:33,245 INFO L793 eck$LassoCheckResult]: Loop: 471#L539-1 assume !false; 429#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 416#L388 assume !false; 417#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 504#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 368#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 493#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 494#L353 assume !(0 != eval_~tmp___2~0); 513#L404 start_simulation_~kernel_st~0 := 2; 363#L289-1 start_simulation_~kernel_st~0 := 3; 364#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 521#L109-6 assume 1 == ~P_1_pc~0; 452#L110-2 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 437#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 381#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 382#L469-6 assume !(0 != activate_threads_~tmp~1); 456#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 457#L177-6 assume 1 == ~P_2_pc~0; 387#L178-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 377#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 378#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 425#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 426#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 475#L259-6 assume 1 == ~C_1_pc~0; 477#L260-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 476#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 495#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 467#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 468#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 518#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 370#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 371#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 526#L558 assume !(0 == start_simulation_~tmp~3); 492#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 406#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 407#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 501#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 514#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 449#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 450#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 511#L571 assume !(0 != start_simulation_~tmp___0~2); 471#L539-1 [2021-10-28 23:01:33,246 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,247 INFO L85 PathProgramCache]: Analyzing trace with hash -1571021109, now seen corresponding path program 1 times [2021-10-28 23:01:33,247 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,247 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [125119158] [2021-10-28 23:01:33,247 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,248 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,279 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,307 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,307 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,308 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [125119158] [2021-10-28 23:01:33,308 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [125119158] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,308 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,309 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 23:01:33,309 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [877003441] [2021-10-28 23:01:33,309 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 23:01:33,310 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,310 INFO L85 PathProgramCache]: Analyzing trace with hash 2072132131, now seen corresponding path program 1 times [2021-10-28 23:01:33,311 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,311 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1133158979] [2021-10-28 23:01:33,311 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,312 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,341 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,427 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,427 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,428 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1133158979] [2021-10-28 23:01:33,428 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1133158979] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,428 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,428 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:01:33,429 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1099154132] [2021-10-28 23:01:33,429 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:33,429 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:33,430 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:33,430 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:33,431 INFO L87 Difference]: Start difference. First operand 167 states and 249 transitions. cyclomatic complexity: 83 Second operand has 3 states, 3 states have (on average 8.0) internal successors, (24), 3 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:33,447 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:33,454 INFO L93 Difference]: Finished difference Result 167 states and 248 transitions. [2021-10-28 23:01:33,455 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:33,455 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 167 states and 248 transitions. [2021-10-28 23:01:33,457 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 138 [2021-10-28 23:01:33,460 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 167 states to 167 states and 248 transitions. [2021-10-28 23:01:33,470 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 167 [2021-10-28 23:01:33,471 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 167 [2021-10-28 23:01:33,472 INFO L73 IsDeterministic]: Start isDeterministic. Operand 167 states and 248 transitions. [2021-10-28 23:01:33,474 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:33,475 INFO L681 BuchiCegarLoop]: Abstraction has 167 states and 248 transitions. [2021-10-28 23:01:33,476 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 167 states and 248 transitions. [2021-10-28 23:01:33,484 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 167 to 167. [2021-10-28 23:01:33,488 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 167 states, 167 states have (on average 1.4850299401197604) internal successors, (248), 166 states have internal predecessors, (248), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:33,490 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 167 states to 167 states and 248 transitions. [2021-10-28 23:01:33,491 INFO L704 BuchiCegarLoop]: Abstraction has 167 states and 248 transitions. [2021-10-28 23:01:33,492 INFO L587 BuchiCegarLoop]: Abstraction has 167 states and 248 transitions. [2021-10-28 23:01:33,492 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-28 23:01:33,492 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 167 states and 248 transitions. [2021-10-28 23:01:33,498 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 138 [2021-10-28 23:01:33,499 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:33,499 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:33,502 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:33,503 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:33,503 INFO L791 eck$LassoCheckResult]: Stem: 866#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 790#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 791#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 781#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 782#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 828#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 857#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 865#L109 assume !(1 == ~P_1_pc~0); 824#L109-2 is_P_1_triggered_~__retres1~0 := 0; 801#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 773#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 736#L469 assume !(0 != activate_threads_~tmp~1); 737#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 784#L177 assume 1 == ~P_2_pc~0; 776#L178 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 757#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 758#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 774#L477 assume !(0 != activate_threads_~tmp___0~1); 775#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 825#L259 assume 1 == ~C_1_pc~0; 821#L260 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 727#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 745#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 746#L485 assume !(0 != activate_threads_~tmp___1~1); 814#L539-1 [2021-10-28 23:01:33,504 INFO L793 eck$LassoCheckResult]: Loop: 814#L539-1 assume !false; 770#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 759#L388 assume !false; 760#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 847#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 711#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 834#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 835#L353 assume !(0 != eval_~tmp___2~0); 856#L404 start_simulation_~kernel_st~0 := 2; 706#L289-1 start_simulation_~kernel_st~0 := 3; 707#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 864#L109-6 assume 1 == ~P_1_pc~0; 795#L110-2 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 778#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 724#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 725#L469-6 assume !(0 != activate_threads_~tmp~1); 799#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 800#L177-6 assume 1 == ~P_2_pc~0; 730#L178-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1 := 1; 722#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 723#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 768#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 769#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 818#L259-6 assume 1 == ~C_1_pc~0; 820#L260-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 819#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 838#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 810#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 811#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 861#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 713#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 714#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 869#L558 assume !(0 == start_simulation_~tmp~3); 837#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 750#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 751#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 844#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 858#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 793#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 794#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 854#L571 assume !(0 != start_simulation_~tmp___0~2); 814#L539-1 [2021-10-28 23:01:33,505 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,505 INFO L85 PathProgramCache]: Analyzing trace with hash 117922633, now seen corresponding path program 1 times [2021-10-28 23:01:33,505 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,505 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1341586591] [2021-10-28 23:01:33,506 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,506 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,617 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,618 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,618 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1341586591] [2021-10-28 23:01:33,618 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1341586591] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,621 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,622 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-28 23:01:33,622 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1805722761] [2021-10-28 23:01:33,622 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 23:01:33,623 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,623 INFO L85 PathProgramCache]: Analyzing trace with hash 2072132131, now seen corresponding path program 2 times [2021-10-28 23:01:33,623 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,624 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [640042425] [2021-10-28 23:01:33,624 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,626 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,645 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,691 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,691 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,692 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [640042425] [2021-10-28 23:01:33,692 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [640042425] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,693 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,693 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:01:33,694 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [362638869] [2021-10-28 23:01:33,696 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:33,697 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:33,698 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-28 23:01:33,698 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-28 23:01:33,698 INFO L87 Difference]: Start difference. First operand 167 states and 248 transitions. cyclomatic complexity: 82 Second operand has 4 states, 4 states have (on average 6.0) internal successors, (24), 4 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:33,847 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:33,847 INFO L93 Difference]: Finished difference Result 432 states and 626 transitions. [2021-10-28 23:01:33,848 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-10-28 23:01:33,848 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 432 states and 626 transitions. [2021-10-28 23:01:33,853 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 374 [2021-10-28 23:01:33,858 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 432 states to 432 states and 626 transitions. [2021-10-28 23:01:33,859 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 432 [2021-10-28 23:01:33,860 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 432 [2021-10-28 23:01:33,860 INFO L73 IsDeterministic]: Start isDeterministic. Operand 432 states and 626 transitions. [2021-10-28 23:01:33,863 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:33,863 INFO L681 BuchiCegarLoop]: Abstraction has 432 states and 626 transitions. [2021-10-28 23:01:33,864 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 432 states and 626 transitions. [2021-10-28 23:01:33,883 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 432 to 392. [2021-10-28 23:01:33,884 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 392 states, 392 states have (on average 1.4591836734693877) internal successors, (572), 391 states have internal predecessors, (572), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:33,886 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 392 states to 392 states and 572 transitions. [2021-10-28 23:01:33,886 INFO L704 BuchiCegarLoop]: Abstraction has 392 states and 572 transitions. [2021-10-28 23:01:33,887 INFO L587 BuchiCegarLoop]: Abstraction has 392 states and 572 transitions. [2021-10-28 23:01:33,887 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-28 23:01:33,887 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 392 states and 572 transitions. [2021-10-28 23:01:33,890 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 359 [2021-10-28 23:01:33,891 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:33,891 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:33,892 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:33,892 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:33,892 INFO L791 eck$LassoCheckResult]: Stem: 1498#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 1403#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 1404#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 1394#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 1395#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 1443#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 1486#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 1495#L109 assume !(1 == ~P_1_pc~0); 1496#L109-2 is_P_1_triggered_~__retres1~0 := 0; 1417#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1388#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1348#L469 assume !(0 != activate_threads_~tmp~1); 1349#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 1398#L177 assume !(1 == ~P_2_pc~0); 1430#L177-2 is_P_2_triggered_~__retres1~1 := 0; 1371#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 1372#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 1389#L477 assume !(0 != activate_threads_~tmp___0~1); 1390#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 1442#L259 assume 1 == ~C_1_pc~0; 1438#L260 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 1338#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 1358#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 1359#L485 assume !(0 != activate_threads_~tmp___1~1); 1429#L539-1 [2021-10-28 23:01:33,893 INFO L793 eck$LassoCheckResult]: Loop: 1429#L539-1 assume !false; 1387#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 1374#L388 assume !false; 1375#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1472#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 1322#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1455#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 1456#L353 assume !(0 != eval_~tmp___2~0); 1481#L404 start_simulation_~kernel_st~0 := 2; 1317#L289-1 start_simulation_~kernel_st~0 := 3; 1318#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 1494#L109-6 assume !(1 == ~P_1_pc~0); 1446#L109-8 is_P_1_triggered_~__retres1~0 := 0; 1391#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1335#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1336#L469-6 assume !(0 != activate_threads_~tmp~1); 1413#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 1414#L177-6 assume !(1 == ~P_2_pc~0); 1415#L177-8 is_P_2_triggered_~__retres1~1 := 0; 1333#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 1334#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 1383#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 1384#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 1436#L259-6 assume 1 == ~C_1_pc~0; 1437#L260-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2 := 1; 1435#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 1457#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 1425#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 1426#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1489#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 1324#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1325#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 1506#L558 assume !(0 == start_simulation_~tmp~3); 1491#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1364#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 1365#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1462#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 1502#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 1697#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 1692#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 1691#L571 assume !(0 != start_simulation_~tmp___0~2); 1429#L539-1 [2021-10-28 23:01:33,893 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,894 INFO L85 PathProgramCache]: Analyzing trace with hash -754916022, now seen corresponding path program 1 times [2021-10-28 23:01:33,894 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,894 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [925549081] [2021-10-28 23:01:33,894 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,895 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:33,970 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:33,970 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:33,970 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [925549081] [2021-10-28 23:01:33,971 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [925549081] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:33,971 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:33,972 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-28 23:01:33,972 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1041303841] [2021-10-28 23:01:33,973 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 23:01:33,973 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:33,974 INFO L85 PathProgramCache]: Analyzing trace with hash 424592929, now seen corresponding path program 1 times [2021-10-28 23:01:33,974 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:33,974 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [804312720] [2021-10-28 23:01:33,975 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:33,975 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:33,998 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:34,028 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:34,028 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:34,029 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [804312720] [2021-10-28 23:01:34,029 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [804312720] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:34,029 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:34,030 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:01:34,030 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [498906011] [2021-10-28 23:01:34,030 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:34,031 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:34,031 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-28 23:01:34,031 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-28 23:01:34,032 INFO L87 Difference]: Start difference. First operand 392 states and 572 transitions. cyclomatic complexity: 182 Second operand has 4 states, 4 states have (on average 6.0) internal successors, (24), 4 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:34,261 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:34,261 INFO L93 Difference]: Finished difference Result 1082 states and 1540 transitions. [2021-10-28 23:01:34,262 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-10-28 23:01:34,262 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1082 states and 1540 transitions. [2021-10-28 23:01:34,283 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1006 [2021-10-28 23:01:34,303 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1082 states to 1082 states and 1540 transitions. [2021-10-28 23:01:34,303 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1082 [2021-10-28 23:01:34,305 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1082 [2021-10-28 23:01:34,305 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1082 states and 1540 transitions. [2021-10-28 23:01:34,315 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:34,315 INFO L681 BuchiCegarLoop]: Abstraction has 1082 states and 1540 transitions. [2021-10-28 23:01:34,317 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1082 states and 1540 transitions. [2021-10-28 23:01:34,370 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1082 to 1023. [2021-10-28 23:01:34,372 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1023 states, 1023 states have (on average 1.4349951124144673) internal successors, (1468), 1022 states have internal predecessors, (1468), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:34,377 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1023 states to 1023 states and 1468 transitions. [2021-10-28 23:01:34,378 INFO L704 BuchiCegarLoop]: Abstraction has 1023 states and 1468 transitions. [2021-10-28 23:01:34,378 INFO L587 BuchiCegarLoop]: Abstraction has 1023 states and 1468 transitions. [2021-10-28 23:01:34,378 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-10-28 23:01:34,378 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1023 states and 1468 transitions. [2021-10-28 23:01:34,385 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 985 [2021-10-28 23:01:34,385 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:34,386 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:34,387 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:34,387 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:34,388 INFO L791 eck$LassoCheckResult]: Stem: 2995#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 2893#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 2894#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 2883#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 2884#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 2933#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 2979#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 2989#L109 assume !(1 == ~P_1_pc~0); 2990#L109-2 is_P_1_triggered_~__retres1~0 := 0; 2908#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2876#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2835#L469 assume !(0 != activate_threads_~tmp~1); 2836#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 2887#L177 assume !(1 == ~P_2_pc~0); 2921#L177-2 is_P_2_triggered_~__retres1~1 := 0; 2857#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 2858#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 2877#L477 assume !(0 != activate_threads_~tmp___0~1); 2878#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 2931#L259 assume !(1 == ~C_1_pc~0); 2932#L259-2 assume 2 == ~C_1_pc~0; 2824#L270 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~2 := 1; 2825#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 2844#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 2845#L485 assume !(0 != activate_threads_~tmp___1~1); 2920#L539-1 [2021-10-28 23:01:34,391 INFO L793 eck$LassoCheckResult]: Loop: 2920#L539-1 assume !false; 2875#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 2860#L388 assume !false; 2861#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 3005#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 2809#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 2943#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 2944#L353 assume !(0 != eval_~tmp___2~0); 2992#L404 start_simulation_~kernel_st~0 := 2; 2804#L289-1 start_simulation_~kernel_st~0 := 3; 2805#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 2988#L109-6 assume !(1 == ~P_1_pc~0); 2936#L109-8 is_P_1_triggered_~__retres1~0 := 0; 2879#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2822#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2823#L469-6 assume !(0 != activate_threads_~tmp~1); 2904#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 2905#L177-6 assume !(1 == ~P_2_pc~0); 2906#L177-8 is_P_2_triggered_~__retres1~1 := 0; 2820#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 2821#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 2871#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 2872#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 2927#L259-6 assume !(1 == ~C_1_pc~0); 2913#L259-8 assume 2 == ~C_1_pc~0; 2914#L270-2 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~2 := 1; 2928#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 2948#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 2916#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 2917#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 2982#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 2811#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 2812#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 3002#L558 assume !(0 == start_simulation_~tmp~3); 2947#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 2850#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 2851#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 2951#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 2978#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 2897#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 2898#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 2970#L571 assume !(0 != start_simulation_~tmp___0~2); 2920#L539-1 [2021-10-28 23:01:34,391 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:34,392 INFO L85 PathProgramCache]: Analyzing trace with hash -1720008278, now seen corresponding path program 1 times [2021-10-28 23:01:34,392 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:34,392 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [683352781] [2021-10-28 23:01:34,393 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:34,393 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:34,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:34,463 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:34,464 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:34,464 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [683352781] [2021-10-28 23:01:34,464 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [683352781] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:34,465 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:34,465 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 23:01:34,465 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1693903496] [2021-10-28 23:01:34,467 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 23:01:34,467 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:34,467 INFO L85 PathProgramCache]: Analyzing trace with hash 1673415445, now seen corresponding path program 1 times [2021-10-28 23:01:34,468 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:34,468 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [710171458] [2021-10-28 23:01:34,468 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:34,468 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:34,484 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:34,525 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:34,525 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:34,525 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [710171458] [2021-10-28 23:01:34,526 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [710171458] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:34,526 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:34,526 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:01:34,526 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1814888446] [2021-10-28 23:01:34,527 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:34,527 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:34,527 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:34,527 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:34,528 INFO L87 Difference]: Start difference. First operand 1023 states and 1468 transitions. cyclomatic complexity: 449 Second operand has 3 states, 3 states have (on average 8.333333333333334) internal successors, (25), 3 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:34,577 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:34,577 INFO L93 Difference]: Finished difference Result 1354 states and 1912 transitions. [2021-10-28 23:01:34,578 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:34,578 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1354 states and 1912 transitions. [2021-10-28 23:01:34,590 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1311 [2021-10-28 23:01:34,603 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1354 states to 1354 states and 1912 transitions. [2021-10-28 23:01:34,603 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1354 [2021-10-28 23:01:34,606 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1354 [2021-10-28 23:01:34,607 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1354 states and 1912 transitions. [2021-10-28 23:01:34,609 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:34,610 INFO L681 BuchiCegarLoop]: Abstraction has 1354 states and 1912 transitions. [2021-10-28 23:01:34,611 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1354 states and 1912 transitions. [2021-10-28 23:01:34,633 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1354 to 1330. [2021-10-28 23:01:34,636 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1330 states, 1330 states have (on average 1.4150375939849624) internal successors, (1882), 1329 states have internal predecessors, (1882), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:34,641 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1330 states to 1330 states and 1882 transitions. [2021-10-28 23:01:34,641 INFO L704 BuchiCegarLoop]: Abstraction has 1330 states and 1882 transitions. [2021-10-28 23:01:34,641 INFO L587 BuchiCegarLoop]: Abstraction has 1330 states and 1882 transitions. [2021-10-28 23:01:34,642 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-10-28 23:01:34,642 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1330 states and 1882 transitions. [2021-10-28 23:01:34,650 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1287 [2021-10-28 23:01:34,651 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:34,651 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:34,655 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:34,655 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:34,655 INFO L791 eck$LassoCheckResult]: Stem: 5397#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 5279#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 5280#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 5269#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 5270#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 5325#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 5377#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 5389#L109 assume !(1 == ~P_1_pc~0); 5390#L109-2 is_P_1_triggered_~__retres1~0 := 0; 5294#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 5262#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5219#L469 assume !(0 != activate_threads_~tmp~1); 5220#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 5273#L177 assume !(1 == ~P_2_pc~0); 5311#L177-2 is_P_2_triggered_~__retres1~1 := 0; 5245#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 5246#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 5263#L477 assume !(0 != activate_threads_~tmp___0~1); 5264#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 5323#L259 assume !(1 == ~C_1_pc~0); 5324#L259-2 assume !(2 == ~C_1_pc~0); 5378#L269-1 is_C_1_triggered_~__retres1~2 := 0; 5369#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 5231#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 5232#L485 assume !(0 != activate_threads_~tmp___1~1); 5370#L539-1 [2021-10-28 23:01:34,657 INFO L793 eck$LassoCheckResult]: Loop: 5370#L539-1 assume !false; 6314#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 6309#L388 assume !false; 6308#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 6306#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 6304#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 6303#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 6301#L353 assume !(0 != eval_~tmp___2~0); 6302#L404 start_simulation_~kernel_st~0 := 2; 6511#L289-1 start_simulation_~kernel_st~0 := 3; 6510#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 6509#L109-6 assume !(1 == ~P_1_pc~0); 6508#L109-8 is_P_1_triggered_~__retres1~0 := 0; 5265#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 5209#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5210#L469-6 assume !(0 != activate_threads_~tmp~1); 5290#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 5291#L177-6 assume !(1 == ~P_2_pc~0); 5292#L177-8 is_P_2_triggered_~__retres1~1 := 0; 5207#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 5208#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 6467#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 6381#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 6380#L259-6 assume !(1 == ~C_1_pc~0); 6379#L259-8 assume !(2 == ~C_1_pc~0); 6378#L269-5 is_C_1_triggered_~__retres1~2 := 0; 6377#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 6376#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 6371#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 6368#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 6365#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 6364#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 6348#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 6343#L558 assume !(0 == start_simulation_~tmp~3); 6339#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 6335#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 6333#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 6330#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 6327#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 6324#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 6322#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 6318#L571 assume !(0 != start_simulation_~tmp___0~2); 5370#L539-1 [2021-10-28 23:01:34,658 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:34,658 INFO L85 PathProgramCache]: Analyzing trace with hash -1713364885, now seen corresponding path program 1 times [2021-10-28 23:01:34,658 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:34,659 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [696916186] [2021-10-28 23:01:34,659 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:34,660 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:34,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:34,681 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:34,706 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:34,752 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:34,753 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:34,753 INFO L85 PathProgramCache]: Analyzing trace with hash -1481200140, now seen corresponding path program 1 times [2021-10-28 23:01:34,753 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:34,754 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1800103531] [2021-10-28 23:01:34,754 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:34,754 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:34,760 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:34,784 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:34,785 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:34,785 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1800103531] [2021-10-28 23:01:34,785 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1800103531] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:34,785 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:34,785 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:01:34,786 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [557398732] [2021-10-28 23:01:34,786 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:34,786 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:34,787 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 23:01:34,790 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 23:01:34,791 INFO L87 Difference]: Start difference. First operand 1330 states and 1882 transitions. cyclomatic complexity: 556 Second operand has 5 states, 5 states have (on average 8.4) internal successors, (42), 5 states have internal predecessors, (42), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:34,878 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:34,878 INFO L93 Difference]: Finished difference Result 2355 states and 3300 transitions. [2021-10-28 23:01:34,881 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-28 23:01:34,881 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2355 states and 3300 transitions. [2021-10-28 23:01:34,902 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2294 [2021-10-28 23:01:34,922 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2355 states to 2355 states and 3300 transitions. [2021-10-28 23:01:34,923 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2355 [2021-10-28 23:01:34,927 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2355 [2021-10-28 23:01:34,927 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2355 states and 3300 transitions. [2021-10-28 23:01:34,931 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:34,931 INFO L681 BuchiCegarLoop]: Abstraction has 2355 states and 3300 transitions. [2021-10-28 23:01:34,940 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2355 states and 3300 transitions. [2021-10-28 23:01:34,968 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2355 to 1366. [2021-10-28 23:01:34,971 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1366 states, 1366 states have (on average 1.404099560761347) internal successors, (1918), 1365 states have internal predecessors, (1918), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:34,976 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1366 states to 1366 states and 1918 transitions. [2021-10-28 23:01:34,977 INFO L704 BuchiCegarLoop]: Abstraction has 1366 states and 1918 transitions. [2021-10-28 23:01:34,977 INFO L587 BuchiCegarLoop]: Abstraction has 1366 states and 1918 transitions. [2021-10-28 23:01:34,977 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-10-28 23:01:34,977 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1366 states and 1918 transitions. [2021-10-28 23:01:34,986 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1323 [2021-10-28 23:01:34,986 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:34,986 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:34,987 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:34,987 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:34,988 INFO L791 eck$LassoCheckResult]: Stem: 9093#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 8980#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 8981#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 8970#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 8971#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 9025#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 9075#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 9088#L109 assume !(1 == ~P_1_pc~0); 9089#L109-2 is_P_1_triggered_~__retres1~0 := 0; 8995#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 8963#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 8919#L469 assume !(0 != activate_threads_~tmp~1); 8920#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 8973#L177 assume !(1 == ~P_2_pc~0); 9011#L177-2 is_P_2_triggered_~__retres1~1 := 0; 8944#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 8945#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 8964#L477 assume !(0 != activate_threads_~tmp___0~1); 8965#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 9021#L259 assume !(1 == ~C_1_pc~0); 9022#L259-2 assume !(2 == ~C_1_pc~0); 9076#L269-1 is_C_1_triggered_~__retres1~2 := 0; 9067#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 8931#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 8932#L485 assume !(0 != activate_threads_~tmp___1~1); 9068#L539-1 [2021-10-28 23:01:34,994 INFO L793 eck$LassoCheckResult]: Loop: 9068#L539-1 assume !false; 10143#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 10141#L388 assume !false; 9053#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9054#L319 assume !(0 == ~P_1_st~0); 8895#L323 assume !(0 == ~P_2_st~0); 8897#L327 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~3 := 0; 8947#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 9039#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 10126#L353 assume !(0 != eval_~tmp___2~0); 9090#L404 start_simulation_~kernel_st~0 := 2; 8891#L289-1 start_simulation_~kernel_st~0 := 3; 8892#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 9087#L109-6 assume !(1 == ~P_1_pc~0); 9028#L109-8 is_P_1_triggered_~__retres1~0 := 0; 8969#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 8909#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 8910#L469-6 assume !(0 != activate_threads_~tmp~1); 10248#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 10247#L177-6 assume !(1 == ~P_2_pc~0); 10246#L177-8 is_P_2_triggered_~__retres1~1 := 0; 10245#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 10244#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 10243#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 10242#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 10241#L259-6 assume !(1 == ~C_1_pc~0); 9002#L259-8 assume !(2 == ~C_1_pc~0); 9003#L269-5 is_C_1_triggered_~__retres1~2 := 0; 10240#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 10239#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 10238#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 9095#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9078#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 9059#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 10172#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 10167#L558 assume !(0 == start_simulation_~tmp~3); 10162#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 10159#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 10157#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 10155#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 10153#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 10151#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 10147#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 10145#L571 assume !(0 != start_simulation_~tmp___0~2); 9068#L539-1 [2021-10-28 23:01:34,994 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:34,994 INFO L85 PathProgramCache]: Analyzing trace with hash -1713364885, now seen corresponding path program 2 times [2021-10-28 23:01:34,994 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:34,995 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [416153478] [2021-10-28 23:01:34,995 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:34,995 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,015 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:35,022 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,042 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:35,042 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:35,043 INFO L85 PathProgramCache]: Analyzing trace with hash -2074835667, now seen corresponding path program 1 times [2021-10-28 23:01:35,043 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:35,043 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1660114543] [2021-10-28 23:01:35,043 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:35,043 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,052 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:35,084 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:35,084 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:35,084 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1660114543] [2021-10-28 23:01:35,084 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1660114543] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:35,084 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:35,085 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 23:01:35,085 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [742692040] [2021-10-28 23:01:35,086 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:35,086 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:35,086 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:35,087 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:35,087 INFO L87 Difference]: Start difference. First operand 1366 states and 1918 transitions. cyclomatic complexity: 556 Second operand has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:35,136 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:35,136 INFO L93 Difference]: Finished difference Result 2413 states and 3309 transitions. [2021-10-28 23:01:35,136 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:35,136 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2413 states and 3309 transitions. [2021-10-28 23:01:35,164 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2352 [2021-10-28 23:01:35,184 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2413 states to 2413 states and 3309 transitions. [2021-10-28 23:01:35,184 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2413 [2021-10-28 23:01:35,187 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2413 [2021-10-28 23:01:35,187 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2413 states and 3309 transitions. [2021-10-28 23:01:35,191 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:35,192 INFO L681 BuchiCegarLoop]: Abstraction has 2413 states and 3309 transitions. [2021-10-28 23:01:35,194 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2413 states and 3309 transitions. [2021-10-28 23:01:35,261 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2413 to 2413. [2021-10-28 23:01:35,267 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2413 states, 2413 states have (on average 1.3713220058019064) internal successors, (3309), 2412 states have internal predecessors, (3309), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:35,276 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2413 states to 2413 states and 3309 transitions. [2021-10-28 23:01:35,276 INFO L704 BuchiCegarLoop]: Abstraction has 2413 states and 3309 transitions. [2021-10-28 23:01:35,277 INFO L587 BuchiCegarLoop]: Abstraction has 2413 states and 3309 transitions. [2021-10-28 23:01:35,277 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-10-28 23:01:35,277 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2413 states and 3309 transitions. [2021-10-28 23:01:35,294 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2352 [2021-10-28 23:01:35,294 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:35,294 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:35,295 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:35,295 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:35,296 INFO L791 eck$LassoCheckResult]: Stem: 12881#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 12768#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 12769#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 12757#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 12758#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 12814#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 12863#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 12875#L109 assume !(1 == ~P_1_pc~0); 12876#L109-2 is_P_1_triggered_~__retres1~0 := 0; 12783#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 12750#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 12704#L469 assume !(0 != activate_threads_~tmp~1); 12705#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 12761#L177 assume !(1 == ~P_2_pc~0); 12799#L177-2 is_P_2_triggered_~__retres1~1 := 0; 12728#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 12729#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 12751#L477 assume !(0 != activate_threads_~tmp___0~1); 12752#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 12810#L259 assume !(1 == ~C_1_pc~0); 12811#L259-2 assume !(2 == ~C_1_pc~0); 12864#L269-1 is_C_1_triggered_~__retres1~2 := 0; 12855#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 12715#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 12716#L485 assume !(0 != activate_threads_~tmp___1~1); 12856#L539-1 [2021-10-28 23:01:35,296 INFO L793 eck$LassoCheckResult]: Loop: 12856#L539-1 assume !false; 14553#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 14551#L388 assume !false; 14550#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 14534#L319 assume !(0 == ~P_1_st~0); 14535#L323 assume !(0 == ~P_2_st~0); 14764#L327 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~3 := 0; 14761#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 14759#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 14756#L353 assume !(0 != eval_~tmp___2~0); 14754#L404 start_simulation_~kernel_st~0 := 2; 14752#L289-1 start_simulation_~kernel_st~0 := 3; 14750#L415 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 14749#L109-6 assume !(1 == ~P_1_pc~0); 14748#L109-8 is_P_1_triggered_~__retres1~0 := 0; 14746#L120-2 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 14744#L121-2 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 14741#L469-6 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 14739#L469-8 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 14735#L177-6 assume !(1 == ~P_2_pc~0); 14733#L177-8 is_P_2_triggered_~__retres1~1 := 0; 14731#L188-2 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 14729#L189-2 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 14727#L477-6 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 14725#L477-8 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 14723#L259-6 assume !(1 == ~C_1_pc~0); 14721#L259-8 assume !(2 == ~C_1_pc~0); 14719#L269-5 is_C_1_triggered_~__retres1~2 := 0; 14717#L280-2 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 14715#L281-2 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 14713#L485-6 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 14711#L485-8 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 14708#L319-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 14706#L336-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 14704#L337-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 14702#L558 assume !(0 == start_simulation_~tmp~3); 14700#L558-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 14698#L319-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 14697#L336-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 14694#L337-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 14693#L513 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 14692#L520 stop_simulation_#res := stop_simulation_~__retres2~0; 14691#L521 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 14690#L571 assume !(0 != start_simulation_~tmp___0~2); 12856#L539-1 [2021-10-28 23:01:35,296 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:35,297 INFO L85 PathProgramCache]: Analyzing trace with hash -1713364885, now seen corresponding path program 3 times [2021-10-28 23:01:35,297 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:35,297 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1828769717] [2021-10-28 23:01:35,297 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:35,298 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,310 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,310 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:35,321 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,345 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:35,346 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:35,346 INFO L85 PathProgramCache]: Analyzing trace with hash 296903595, now seen corresponding path program 1 times [2021-10-28 23:01:35,346 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:35,347 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1625780197] [2021-10-28 23:01:35,347 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:35,347 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,358 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:35,436 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:35,436 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:35,437 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1625780197] [2021-10-28 23:01:35,437 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1625780197] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:35,437 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:35,437 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:01:35,437 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1118808424] [2021-10-28 23:01:35,438 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:01:35,438 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:35,438 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 23:01:35,439 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 23:01:35,439 INFO L87 Difference]: Start difference. First operand 2413 states and 3309 transitions. cyclomatic complexity: 900 Second operand has 5 states, 5 states have (on average 8.8) internal successors, (44), 5 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:35,578 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:35,579 INFO L93 Difference]: Finished difference Result 3940 states and 5434 transitions. [2021-10-28 23:01:35,579 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-28 23:01:35,579 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3940 states and 5434 transitions. [2021-10-28 23:01:35,616 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3853 [2021-10-28 23:01:35,648 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3940 states to 3940 states and 5434 transitions. [2021-10-28 23:01:35,649 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3940 [2021-10-28 23:01:35,653 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3940 [2021-10-28 23:01:35,653 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3940 states and 5434 transitions. [2021-10-28 23:01:35,661 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:35,661 INFO L681 BuchiCegarLoop]: Abstraction has 3940 states and 5434 transitions. [2021-10-28 23:01:35,665 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3940 states and 5434 transitions. [2021-10-28 23:01:35,714 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3940 to 2199. [2021-10-28 23:01:35,719 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2199 states, 2199 states have (on average 1.360618462937699) internal successors, (2992), 2198 states have internal predecessors, (2992), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:35,727 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2199 states to 2199 states and 2992 transitions. [2021-10-28 23:01:35,727 INFO L704 BuchiCegarLoop]: Abstraction has 2199 states and 2992 transitions. [2021-10-28 23:01:35,727 INFO L587 BuchiCegarLoop]: Abstraction has 2199 states and 2992 transitions. [2021-10-28 23:01:35,727 INFO L425 BuchiCegarLoop]: ======== Iteration 9============ [2021-10-28 23:01:35,729 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2199 states and 2992 transitions. [2021-10-28 23:01:35,741 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2112 [2021-10-28 23:01:35,741 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:35,741 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:35,742 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:35,742 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:35,742 INFO L791 eck$LassoCheckResult]: Stem: 19241#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 19131#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 19132#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 19121#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 19122#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 19174#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 19218#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 19233#L109 assume !(1 == ~P_1_pc~0); 19234#L109-2 is_P_1_triggered_~__retres1~0 := 0; 19147#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 19113#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 19071#L469 assume !(0 != activate_threads_~tmp~1); 19072#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 19126#L177 assume !(1 == ~P_2_pc~0); 19159#L177-2 is_P_2_triggered_~__retres1~1 := 0; 19093#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 19094#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 19114#L477 assume !(0 != activate_threads_~tmp___0~1); 19115#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 19172#L259 assume !(1 == ~C_1_pc~0); 19173#L259-2 assume !(2 == ~C_1_pc~0); 19219#L269-1 is_C_1_triggered_~__retres1~2 := 0; 19213#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 19081#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 19082#L485 assume !(0 != activate_threads_~tmp___1~1); 19214#L539-1 assume !false; 19589#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 19477#L388 [2021-10-28 23:01:35,742 INFO L793 eck$LassoCheckResult]: Loop: 19477#L388 assume !false; 19588#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 19586#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 19585#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 19584#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 19583#L353 assume 0 != eval_~tmp___2~0; 19580#L353-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 19578#L362 assume !(0 != eval_~tmp~0); 19493#L358 assume !(0 == ~P_2_st~0); 19486#L373 assume !(0 == ~C_1_st~0); 19477#L388 [2021-10-28 23:01:35,743 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:35,743 INFO L85 PathProgramCache]: Analyzing trace with hash -1571176403, now seen corresponding path program 1 times [2021-10-28 23:01:35,745 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:35,745 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [318944933] [2021-10-28 23:01:35,745 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:35,745 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,756 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,756 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:35,793 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,806 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:35,806 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:35,806 INFO L85 PathProgramCache]: Analyzing trace with hash 1012946901, now seen corresponding path program 1 times [2021-10-28 23:01:35,807 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:35,807 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1500360958] [2021-10-28 23:01:35,807 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:35,807 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,811 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,811 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:35,813 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:35,816 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:35,817 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:35,817 INFO L85 PathProgramCache]: Analyzing trace with hash -1596403455, now seen corresponding path program 1 times [2021-10-28 23:01:35,817 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:35,822 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1962082132] [2021-10-28 23:01:35,822 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:35,822 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:35,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:35,856 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:35,857 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:35,857 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1962082132] [2021-10-28 23:01:35,857 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1962082132] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:35,857 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:35,857 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 23:01:35,857 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1594395350] [2021-10-28 23:01:35,925 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:35,926 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:35,926 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:35,926 INFO L87 Difference]: Start difference. First operand 2199 states and 2992 transitions. cyclomatic complexity: 800 Second operand has 3 states, 3 states have (on average 12.333333333333334) internal successors, (37), 3 states have internal predecessors, (37), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:35,977 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:35,978 INFO L93 Difference]: Finished difference Result 3650 states and 4893 transitions. [2021-10-28 23:01:35,978 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:35,978 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3650 states and 4893 transitions. [2021-10-28 23:01:36,002 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3517 [2021-10-28 23:01:36,033 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3650 states to 3650 states and 4893 transitions. [2021-10-28 23:01:36,033 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3650 [2021-10-28 23:01:36,037 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3650 [2021-10-28 23:01:36,038 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3650 states and 4893 transitions. [2021-10-28 23:01:36,043 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:36,043 INFO L681 BuchiCegarLoop]: Abstraction has 3650 states and 4893 transitions. [2021-10-28 23:01:36,047 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3650 states and 4893 transitions. [2021-10-28 23:01:36,105 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3650 to 3574. [2021-10-28 23:01:36,113 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3574 states, 3574 states have (on average 1.342753217683268) internal successors, (4799), 3573 states have internal predecessors, (4799), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:36,126 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3574 states to 3574 states and 4799 transitions. [2021-10-28 23:01:36,126 INFO L704 BuchiCegarLoop]: Abstraction has 3574 states and 4799 transitions. [2021-10-28 23:01:36,126 INFO L587 BuchiCegarLoop]: Abstraction has 3574 states and 4799 transitions. [2021-10-28 23:01:36,127 INFO L425 BuchiCegarLoop]: ======== Iteration 10============ [2021-10-28 23:01:36,127 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3574 states and 4799 transitions. [2021-10-28 23:01:36,144 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3441 [2021-10-28 23:01:36,144 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:36,144 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:36,145 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:36,145 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:36,145 INFO L791 eck$LassoCheckResult]: Stem: 25119#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 24993#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 24994#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 24981#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 24982#L296-1 assume !(1 == ~P_2_i~0);~P_2_st~0 := 2; 25037#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 25113#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 25114#L109 assume !(1 == ~P_1_pc~0); 25125#L109-2 is_P_1_triggered_~__retres1~0 := 0; 25126#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 24973#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 24974#L469 assume !(0 != activate_threads_~tmp~1); 24985#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 24986#L177 assume !(1 == ~P_2_pc~0); 25120#L177-2 is_P_2_triggered_~__retres1~1 := 0; 25121#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 25069#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 25070#L477 assume 0 != activate_threads_~tmp___0~1;~P_2_st~0 := 0; 24976#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 25033#L259 assume !(1 == ~C_1_pc~0); 25034#L259-2 assume !(2 == ~C_1_pc~0); 25089#L269-1 is_C_1_triggered_~__retres1~2 := 0; 25090#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 24938#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 24939#L485 assume !(0 != activate_threads_~tmp___1~1); 27623#L539-1 assume !false; 27621#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 27617#L388 [2021-10-28 23:01:36,145 INFO L793 eck$LassoCheckResult]: Loop: 27617#L388 assume !false; 27614#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 27611#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 27607#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 27604#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 27601#L353 assume 0 != eval_~tmp___2~0; 27593#L353-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 27589#L362 assume !(0 != eval_~tmp~0); 26849#L358 assume 0 == ~P_2_st~0;eval_~tmp___0~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 26831#L377 assume !(0 != eval_~tmp___0~0); 27585#L373 assume !(0 == ~C_1_st~0); 27617#L388 [2021-10-28 23:01:36,145 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:36,146 INFO L85 PathProgramCache]: Analyzing trace with hash 1311379569, now seen corresponding path program 1 times [2021-10-28 23:01:36,146 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:36,146 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [789908638] [2021-10-28 23:01:36,146 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:36,146 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:36,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:36,165 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:36,165 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:36,165 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [789908638] [2021-10-28 23:01:36,165 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [789908638] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:36,165 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:36,165 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 23:01:36,166 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1430167645] [2021-10-28 23:01:36,166 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 23:01:36,166 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:36,166 INFO L85 PathProgramCache]: Analyzing trace with hash 1336445219, now seen corresponding path program 1 times [2021-10-28 23:01:36,166 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:36,167 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [774970767] [2021-10-28 23:01:36,167 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:36,167 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:36,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,170 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:36,172 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,174 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:36,256 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:36,256 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:36,257 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:36,257 INFO L87 Difference]: Start difference. First operand 3574 states and 4799 transitions. cyclomatic complexity: 1232 Second operand has 3 states, 3 states have (on average 9.0) internal successors, (27), 3 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:36,307 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:36,307 INFO L93 Difference]: Finished difference Result 3552 states and 4774 transitions. [2021-10-28 23:01:36,309 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:36,309 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3552 states and 4774 transitions. [2021-10-28 23:01:36,327 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3441 [2021-10-28 23:01:36,352 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3552 states to 3552 states and 4774 transitions. [2021-10-28 23:01:36,352 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3552 [2021-10-28 23:01:36,356 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3552 [2021-10-28 23:01:36,356 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3552 states and 4774 transitions. [2021-10-28 23:01:36,361 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:36,362 INFO L681 BuchiCegarLoop]: Abstraction has 3552 states and 4774 transitions. [2021-10-28 23:01:36,365 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3552 states and 4774 transitions. [2021-10-28 23:01:36,419 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3552 to 3552. [2021-10-28 23:01:36,427 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3552 states, 3552 states have (on average 1.3440315315315314) internal successors, (4774), 3551 states have internal predecessors, (4774), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:36,437 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3552 states to 3552 states and 4774 transitions. [2021-10-28 23:01:36,437 INFO L704 BuchiCegarLoop]: Abstraction has 3552 states and 4774 transitions. [2021-10-28 23:01:36,437 INFO L587 BuchiCegarLoop]: Abstraction has 3552 states and 4774 transitions. [2021-10-28 23:01:36,437 INFO L425 BuchiCegarLoop]: ======== Iteration 11============ [2021-10-28 23:01:36,437 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3552 states and 4774 transitions. [2021-10-28 23:01:36,453 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3441 [2021-10-28 23:01:36,453 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:36,453 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:36,454 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:36,454 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:36,455 INFO L791 eck$LassoCheckResult]: Stem: 32240#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 32124#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 32125#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 32113#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 32114#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 32169#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 32219#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 32234#L109 assume !(1 == ~P_1_pc~0); 32235#L109-2 is_P_1_triggered_~__retres1~0 := 0; 32137#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 32106#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 32058#L469 assume !(0 != activate_threads_~tmp~1); 32059#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 32117#L177 assume !(1 == ~P_2_pc~0); 32153#L177-2 is_P_2_triggered_~__retres1~1 := 0; 32082#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 32083#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 32107#L477 assume !(0 != activate_threads_~tmp___0~1); 32108#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 32165#L259 assume !(1 == ~C_1_pc~0); 32166#L259-2 assume !(2 == ~C_1_pc~0); 32220#L269-1 is_C_1_triggered_~__retres1~2 := 0; 32212#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 32069#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 32070#L485 assume !(0 != activate_threads_~tmp___1~1); 32213#L539-1 assume !false; 34874#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 33335#L388 [2021-10-28 23:01:36,455 INFO L793 eck$LassoCheckResult]: Loop: 33335#L388 assume !false; 34871#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 34869#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 34867#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 34865#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 34863#L353 assume 0 != eval_~tmp___2~0; 34861#L353-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 32244#L362 assume !(0 != eval_~tmp~0); 32246#L358 assume 0 == ~P_2_st~0;eval_~tmp___0~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 33407#L377 assume !(0 != eval_~tmp___0~0); 33401#L373 assume !(0 == ~C_1_st~0); 33335#L388 [2021-10-28 23:01:36,455 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:36,455 INFO L85 PathProgramCache]: Analyzing trace with hash -1571176403, now seen corresponding path program 2 times [2021-10-28 23:01:36,456 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:36,456 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [650585301] [2021-10-28 23:01:36,456 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:36,456 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:36,463 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,463 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:36,469 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,476 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:36,476 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:36,477 INFO L85 PathProgramCache]: Analyzing trace with hash 1336445219, now seen corresponding path program 2 times [2021-10-28 23:01:36,477 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:36,477 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [475069445] [2021-10-28 23:01:36,477 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:36,478 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:36,481 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,481 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:36,483 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,485 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:36,486 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:36,486 INFO L85 PathProgramCache]: Analyzing trace with hash 2050962807, now seen corresponding path program 1 times [2021-10-28 23:01:36,487 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:36,487 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1653812658] [2021-10-28 23:01:36,487 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:36,487 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:36,494 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:01:36,510 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 23:01:36,510 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:01:36,510 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1653812658] [2021-10-28 23:01:36,511 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1653812658] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:01:36,511 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:01:36,511 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-28 23:01:36,511 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [158150614] [2021-10-28 23:01:36,594 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:01:36,594 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 23:01:36,595 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 23:01:36,595 INFO L87 Difference]: Start difference. First operand 3552 states and 4774 transitions. cyclomatic complexity: 1229 Second operand has 3 states, 2 states have (on average 19.0) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:36,657 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:01:36,657 INFO L93 Difference]: Finished difference Result 6198 states and 8252 transitions. [2021-10-28 23:01:36,658 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 23:01:36,658 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 6198 states and 8252 transitions. [2021-10-28 23:01:36,727 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 6003 [2021-10-28 23:01:36,765 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 6198 states to 6198 states and 8252 transitions. [2021-10-28 23:01:36,765 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6198 [2021-10-28 23:01:36,772 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 6198 [2021-10-28 23:01:36,773 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6198 states and 8252 transitions. [2021-10-28 23:01:36,783 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:01:36,783 INFO L681 BuchiCegarLoop]: Abstraction has 6198 states and 8252 transitions. [2021-10-28 23:01:36,789 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 6198 states and 8252 transitions. [2021-10-28 23:01:36,878 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 6198 to 6198. [2021-10-28 23:01:36,892 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 6198 states, 6198 states have (on average 1.3313972249112618) internal successors, (8252), 6197 states have internal predecessors, (8252), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:01:36,909 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6198 states to 6198 states and 8252 transitions. [2021-10-28 23:01:36,909 INFO L704 BuchiCegarLoop]: Abstraction has 6198 states and 8252 transitions. [2021-10-28 23:01:36,909 INFO L587 BuchiCegarLoop]: Abstraction has 6198 states and 8252 transitions. [2021-10-28 23:01:36,909 INFO L425 BuchiCegarLoop]: ======== Iteration 12============ [2021-10-28 23:01:36,910 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 6198 states and 8252 transitions. [2021-10-28 23:01:36,938 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 6003 [2021-10-28 23:01:36,938 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:01:36,939 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:01:36,939 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:36,939 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:01:36,939 INFO L791 eck$LassoCheckResult]: Stem: 42002#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;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 41881#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;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0 := 0;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 41882#L591 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 41870#L289 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 41871#L296-1 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 41928#L301-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 41975#L306-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 41994#L109 assume !(1 == ~P_1_pc~0); 41995#L109-2 is_P_1_triggered_~__retres1~0 := 0; 41895#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 41863#L121 activate_threads_#t~ret12 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 41816#L469 assume !(0 != activate_threads_~tmp~1); 41817#L469-2 havoc is_P_2_triggered_#res;havoc is_P_2_triggered_~__retres1~1;havoc is_P_2_triggered_~__retres1~1; 41874#L177 assume !(1 == ~P_2_pc~0); 41912#L177-2 is_P_2_triggered_~__retres1~1 := 0; 41840#L188 is_P_2_triggered_#res := is_P_2_triggered_~__retres1~1; 41841#L189 activate_threads_#t~ret13 := is_P_2_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 41864#L477 assume !(0 != activate_threads_~tmp___0~1); 41865#L477-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~2;havoc is_C_1_triggered_~__retres1~2; 41924#L259 assume !(1 == ~C_1_pc~0); 41925#L259-2 assume !(2 == ~C_1_pc~0); 41976#L269-1 is_C_1_triggered_~__retres1~2 := 0; 41970#L280 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~2; 41827#L281 activate_threads_#t~ret14 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 41828#L485 assume !(0 != activate_threads_~tmp___1~1); 41971#L539-1 assume !false; 43539#L540 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_#t~nondet11, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 43537#L388 [2021-10-28 23:01:36,940 INFO L793 eck$LassoCheckResult]: Loop: 43537#L388 assume !false; 43535#L349 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 43532#L319 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3 := 1; 43529#L336 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 43527#L337 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 43525#L353 assume 0 != eval_~tmp___2~0; 43523#L353-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 43520#L362 assume !(0 != eval_~tmp~0); 42684#L358 assume 0 == ~P_2_st~0;eval_~tmp___0~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 42685#L377 assume !(0 != eval_~tmp___0~0); 43236#L373 assume 0 == ~C_1_st~0;eval_~tmp___1~0 := eval_#t~nondet11;havoc eval_#t~nondet11; 43237#L392 assume !(0 != eval_~tmp___1~0); 43537#L388 [2021-10-28 23:01:36,940 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:36,940 INFO L85 PathProgramCache]: Analyzing trace with hash -1571176403, now seen corresponding path program 3 times [2021-10-28 23:01:36,941 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:36,941 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1120664596] [2021-10-28 23:01:36,941 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:36,941 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:36,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:36,949 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:36,955 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:37,009 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:37,010 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:37,010 INFO L85 PathProgramCache]: Analyzing trace with hash -1519873096, now seen corresponding path program 1 times [2021-10-28 23:01:37,010 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:37,010 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2044227752] [2021-10-28 23:01:37,011 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:37,011 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:37,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:37,015 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:37,017 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:37,019 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:37,020 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:01:37,020 INFO L85 PathProgramCache]: Analyzing trace with hash -844664348, now seen corresponding path program 1 times [2021-10-28 23:01:37,020 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:01:37,021 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [758151129] [2021-10-28 23:01:37,021 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:01:37,021 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:01:37,029 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:37,030 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:01:37,038 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:01:37,046 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:01:38,482 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.10 11:01:38 BoogieIcfgContainer [2021-10-28 23:01:38,482 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-28 23:01:38,483 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-28 23:01:38,483 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-28 23:01:38,483 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-28 23:01:38,484 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:01:32" (3/4) ... [2021-10-28 23:01:38,486 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-28 23:01:38,543 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/witness.graphml [2021-10-28 23:01:38,544 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-28 23:01:38,545 INFO L168 Benchmark]: Toolchain (without parser) took 7244.22 ms. Allocated memory was 98.6 MB in the beginning and 234.9 MB in the end (delta: 136.3 MB). Free memory was 55.8 MB in the beginning and 141.0 MB in the end (delta: -85.3 MB). Peak memory consumption was 51.1 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,546 INFO L168 Benchmark]: CDTParser took 0.33 ms. Allocated memory is still 98.6 MB. Free memory is still 72.8 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-28 23:01:38,546 INFO L168 Benchmark]: CACSL2BoogieTranslator took 407.15 ms. Allocated memory is still 98.6 MB. Free memory was 55.6 MB in the beginning and 72.0 MB in the end (delta: -16.4 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,546 INFO L168 Benchmark]: Boogie Procedure Inliner took 72.59 ms. Allocated memory is still 98.6 MB. Free memory was 72.0 MB in the beginning and 69.0 MB in the end (delta: 3.0 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,547 INFO L168 Benchmark]: Boogie Preprocessor took 53.12 ms. Allocated memory is still 98.6 MB. Free memory was 69.0 MB in the beginning and 66.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,547 INFO L168 Benchmark]: RCFGBuilder took 721.09 ms. Allocated memory is still 98.6 MB. Free memory was 66.9 MB in the beginning and 45.7 MB in the end (delta: 21.2 MB). Peak memory consumption was 21.0 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,548 INFO L168 Benchmark]: BuchiAutomizer took 5923.51 ms. Allocated memory was 98.6 MB in the beginning and 234.9 MB in the end (delta: 136.3 MB). Free memory was 45.5 MB in the beginning and 144.2 MB in the end (delta: -98.7 MB). Peak memory consumption was 103.6 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,548 INFO L168 Benchmark]: Witness Printer took 60.84 ms. Allocated memory is still 234.9 MB. Free memory was 144.2 MB in the beginning and 141.0 MB in the end (delta: 3.1 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-28 23:01:38,551 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.33 ms. Allocated memory is still 98.6 MB. Free memory is still 72.8 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 407.15 ms. Allocated memory is still 98.6 MB. Free memory was 55.6 MB in the beginning and 72.0 MB in the end (delta: -16.4 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 72.59 ms. Allocated memory is still 98.6 MB. Free memory was 72.0 MB in the beginning and 69.0 MB in the end (delta: 3.0 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 53.12 ms. Allocated memory is still 98.6 MB. Free memory was 69.0 MB in the beginning and 66.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 721.09 ms. Allocated memory is still 98.6 MB. Free memory was 66.9 MB in the beginning and 45.7 MB in the end (delta: 21.2 MB). Peak memory consumption was 21.0 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 5923.51 ms. Allocated memory was 98.6 MB in the beginning and 234.9 MB in the end (delta: 136.3 MB). Free memory was 45.5 MB in the beginning and 144.2 MB in the end (delta: -98.7 MB). Peak memory consumption was 103.6 MB. Max. memory is 16.1 GB. * Witness Printer took 60.84 ms. Allocated memory is still 234.9 MB. Free memory was 144.2 MB in the beginning and 141.0 MB in the end (delta: 3.1 MB). Peak memory consumption was 4.2 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 11 terminating modules (11 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.11 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 6198 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 5.8s and 12 iterations. TraceHistogramMax:1. Analysis of lassos took 3.3s. Construction of modules took 0.3s. Büchi inclusion checks took 0.5s. Highest rank in rank-based complementation 0. Minimization of det autom 11. Minimization of nondet autom 0. Automata minimization 0.6s AutomataMinimizationTime, 11 MinimizatonAttempts, 2929 StatesRemovedByMinimization, 6 NontrivialMinimizations. Non-live state removal took 0.4s Buchi closure took 0.0s. Biggest automaton had 6198 states and ocurred in iteration 11. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 2695 SDtfs, 3753 SDslu, 3201 SDs, 0 SdLazy, 277 SolverSat, 114 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc2 concLT0 SILN1 SILU0 SILI5 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 348]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=12692} State at position 1 is {count=0, NULL=0, \result=0, P_1_pc=0, NULL=12692, 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@27949147=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7c00ae5b=0, NULL=0, NULL=0, \result=0, i=0, P_1_i=1, e=0, P_2_pc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7b63bde1=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4767e49b=0, tmp___0=0, num=0, NULL=0, P_1_ev=0, tmp=0, C_1_pc=0, P_2_st=0, P_2_i=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3a982c5d=0, NULL=12693, \result=0, __retres1=0, tmp___0=0, __retres1=0, tmp___1=0, data_1=0, __retres1=1, \result=0, max_loop=2, NULL=12695, NULL=0, tmp=0, NULL=12694, C_1_pr=0, P_1_st=0, P_2_ev=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@38248884=0, C_1_ev=0, tmp___1=0, timer=0, __retres2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5c63d7e5=0, \result=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@60639441=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2e6ef801=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 348]: 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 P_2_pc ; [L125] int P_2_st ; [L126] int P_2_i ; [L127] int P_2_ev ; [L192] int C_1_pc ; [L193] int C_1_st ; [L194] int C_1_i ; [L195] int C_1_ev ; [L196] int C_1_pr ; [L595] int count ; [L596] int __retres2 ; [L600] num = 0 [L601] i = 0 [L602] max_loop = 2 [L604] timer = 0 [L605] P_1_pc = 0 [L606] P_2_pc = 0 [L607] C_1_pc = 0 [L609] count = 0 [L587] P_1_i = 1 [L588] P_2_i = 1 [L589] C_1_i = 1 [L525] int kernel_st ; [L526] int tmp ; [L527] int tmp___0 ; [L531] kernel_st = 0 [L296] COND TRUE (int )P_1_i == 1 [L297] P_1_st = 0 [L301] COND TRUE (int )P_2_i == 1 [L302] P_2_st = 0 [L306] COND TRUE (int )C_1_i == 1 [L307] C_1_st = 0 [L461] int tmp ; [L462] int tmp___0 ; [L463] int tmp___1 ; [L106] int __retres1 ; [L109] COND FALSE !((int )P_1_pc == 1) [L119] __retres1 = 0 [L121] return (__retres1); [L467] tmp = is_P_1_triggered() [L469] COND FALSE !(\read(tmp)) [L174] int __retres1 ; [L177] COND FALSE !((int )P_2_pc == 1) [L187] __retres1 = 0 [L189] return (__retres1); [L475] tmp___0 = is_P_2_triggered() [L477] COND FALSE !(\read(tmp___0)) [L256] int __retres1 ; [L259] COND FALSE !((int )C_1_pc == 1) [L269] COND FALSE !((int )C_1_pc == 2) [L279] __retres1 = 0 [L281] return (__retres1); [L483] tmp___1 = is_C_1_triggered() [L485] COND FALSE !(\read(tmp___1)) [L539] COND TRUE 1 [L542] kernel_st = 1 [L341] int tmp ; [L342] int tmp___0 ; [L343] int tmp___1 ; [L344] int tmp___2 ; Loop: [L348] COND TRUE 1 [L316] int __retres1 ; [L319] COND TRUE (int )P_1_st == 0 [L320] __retres1 = 1 [L337] return (__retres1); [L351] tmp___2 = exists_runnable_thread() [L353] COND TRUE \read(tmp___2) [L358] COND TRUE (int )P_1_st == 0 [L360] tmp = __VERIFIER_nondet_int() [L362] COND FALSE !(\read(tmp)) [L373] COND TRUE (int )P_2_st == 0 [L375] tmp___0 = __VERIFIER_nondet_int() [L377] COND FALSE !(\read(tmp___0)) [L388] COND TRUE (int )C_1_st == 0 [L390] tmp___1 = __VERIFIER_nondet_int() [L392] COND FALSE !(\read(tmp___1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-10-28 23:01:38,638 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_39218ac9-0c56-4978-9a04-08f1e3fc4f01/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request...