./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 4e77c044 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash e6d225bacde2ff4b43f974edb4824451ea41bcc5 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.1-dev-4e77c04 [2021-10-12 23:59:05,511 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-12 23:59:05,512 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-12 23:59:05,551 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-12 23:59:05,552 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-12 23:59:05,553 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-12 23:59:05,555 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-12 23:59:05,558 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-12 23:59:05,560 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-12 23:59:05,562 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-12 23:59:05,563 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-12 23:59:05,565 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-12 23:59:05,565 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-12 23:59:05,567 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-12 23:59:05,569 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-12 23:59:05,570 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-12 23:59:05,572 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-12 23:59:05,573 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-12 23:59:05,575 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-12 23:59:05,578 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-12 23:59:05,583 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-12 23:59:05,586 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-12 23:59:05,588 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-12 23:59:05,590 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-12 23:59:05,594 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-12 23:59:05,598 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-12 23:59:05,599 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-12 23:59:05,600 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-12 23:59:05,600 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-12 23:59:05,601 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-12 23:59:05,602 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-12 23:59:05,603 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-12 23:59:05,604 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-12 23:59:05,605 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-12 23:59:05,606 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-12 23:59:05,606 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-12 23:59:05,607 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-12 23:59:05,608 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-12 23:59:05,608 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-12 23:59:05,613 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-12 23:59:05,614 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-12 23:59:05,615 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-12 23:59:05,644 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-12 23:59:05,644 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-12 23:59:05,644 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-12 23:59:05,644 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-12 23:59:05,646 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-12 23:59:05,646 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-12 23:59:05,646 INFO L138 SettingsManager]: * Use SBE=true [2021-10-12 23:59:05,646 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-12 23:59:05,646 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-12 23:59:05,647 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-12 23:59:05,647 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-12 23:59:05,647 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-12 23:59:05,647 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-12 23:59:05,647 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-12 23:59:05,648 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-12 23:59:05,648 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-12 23:59:05,648 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-12 23:59:05,648 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-12 23:59:05,648 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-12 23:59:05,648 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-12 23:59:05,649 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-12 23:59:05,649 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-12 23:59:05,649 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-12 23:59:05,649 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-12 23:59:05,649 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-12 23:59:05,650 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-12 23:59:05,650 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-12 23:59:05,650 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-12 23:59:05,650 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-12 23:59:05,650 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-12 23:59:05,651 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-12 23:59:05,651 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-12 23:59:05,652 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-12 23:59:05,652 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_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/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_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> e6d225bacde2ff4b43f974edb4824451ea41bcc5 [2021-10-12 23:59:05,941 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-12 23:59:05,964 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-12 23:59:05,966 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-12 23:59:05,968 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-12 23:59:05,969 INFO L275 PluginConnector]: CDTParser initialized [2021-10-12 23:59:05,970 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/../../sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c [2021-10-12 23:59:06,046 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/data/f34a5ebc3/422bfdf30ff847079c0201ee81f43b98/FLAG09a2a9591 [2021-10-12 23:59:06,504 INFO L306 CDTParser]: Found 1 translation units. [2021-10-12 23:59:06,505 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c [2021-10-12 23:59:06,523 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/data/f34a5ebc3/422bfdf30ff847079c0201ee81f43b98/FLAG09a2a9591 [2021-10-12 23:59:06,872 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/data/f34a5ebc3/422bfdf30ff847079c0201ee81f43b98 [2021-10-12 23:59:06,874 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-12 23:59:06,876 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-12 23:59:06,877 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-12 23:59:06,878 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-12 23:59:06,881 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-12 23:59:06,882 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.10 11:59:06" (1/1) ... [2021-10-12 23:59:06,883 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@c6cb02 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:06, skipping insertion in model container [2021-10-12 23:59:06,883 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.10 11:59:06" (1/1) ... [2021-10-12 23:59:06,904 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-12 23:59:06,935 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-12 23:59:07,080 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_8b56adf0-403a-4331-a478-6a485c5639eb/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c[338,351] [2021-10-12 23:59:07,139 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-12 23:59:07,148 INFO L203 MainTranslator]: Completed pre-run [2021-10-12 23:59:07,160 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_8b56adf0-403a-4331-a478-6a485c5639eb/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c[338,351] [2021-10-12 23:59:07,193 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-12 23:59:07,214 INFO L208 MainTranslator]: Completed translation [2021-10-12 23:59:07,214 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07 WrapperNode [2021-10-12 23:59:07,214 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-12 23:59:07,215 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-12 23:59:07,215 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-12 23:59:07,216 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-12 23:59:07,223 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,231 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,261 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-12 23:59:07,262 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-12 23:59:07,262 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-12 23:59:07,262 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-12 23:59:07,271 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,271 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,274 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,275 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,281 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,289 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,291 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,295 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-12 23:59:07,296 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-12 23:59:07,297 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-12 23:59:07,297 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-12 23:59:07,298 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (1/1) ... [2021-10-12 23:59:07,306 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-12 23:59:07,319 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/z3 [2021-10-12 23:59:07,341 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-12 23:59:07,359 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-12 23:59:07,394 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-12 23:59:07,394 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-12 23:59:07,395 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-12 23:59:07,395 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-12 23:59:07,880 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-12 23:59:07,880 INFO L299 CfgBuilder]: Removed 58 assume(true) statements. [2021-10-12 23:59:07,882 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 11:59:07 BoogieIcfgContainer [2021-10-12 23:59:07,882 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-12 23:59:07,883 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-12 23:59:07,884 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-12 23:59:07,896 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-12 23:59:07,897 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-12 23:59:07,897 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 12.10 11:59:06" (1/3) ... [2021-10-12 23:59:07,900 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1f462848 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 12.10 11:59:07, skipping insertion in model container [2021-10-12 23:59:07,900 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-12 23:59:07,900 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 11:59:07" (2/3) ... [2021-10-12 23:59:07,901 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1f462848 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 12.10 11:59:07, skipping insertion in model container [2021-10-12 23:59:07,901 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-12 23:59:07,901 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 11:59:07" (3/3) ... [2021-10-12 23:59:07,902 INFO L389 chiAutomizerObserver]: Analyzing ICFG pc_sfifo_2.cil-1.c [2021-10-12 23:59:07,967 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-12 23:59:07,967 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-12 23:59:07,967 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-12 23:59:07,968 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-12 23:59:07,968 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-12 23:59:07,968 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-12 23:59:07,968 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-12 23:59:07,968 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-12 23:59:07,988 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 92 states, 91 states have (on average 1.6043956043956045) internal successors, (146), 91 states have internal predecessors, (146), 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-12 23:59:08,013 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 61 [2021-10-12 23:59:08,014 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:08,014 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:08,023 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] [2021-10-12 23:59:08,023 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] [2021-10-12 23:59:08,023 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-12 23:59:08,024 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 92 states, 91 states have (on average 1.6043956043956045) internal successors, (146), 91 states have internal predecessors, (146), 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-12 23:59:08,031 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 61 [2021-10-12 23:59:08,032 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:08,032 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:08,034 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] [2021-10-12 23:59:08,034 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] [2021-10-12 23:59:08,042 INFO L791 eck$LassoCheckResult]: Stem: 70#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 59#L-1true havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 6#L454true havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 81#L214true assume !(1 == ~q_req_up~0); 23#L214-1true assume !(1 == ~p_dw_i~0);~p_dw_st~0 := 2; 87#L229-1true assume !(1 == ~c_dr_i~0);~c_dr_st~0 := 2; 73#L234-1true assume !(0 == ~q_read_ev~0); 55#L267-1true assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 5#L272-1true havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 91#L57true assume 1 == ~p_dw_pc~0; 56#L58true assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 80#L68true is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 27#L69true activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 12#L307true assume !(0 != activate_threads_~tmp~1); 28#L307-2true havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 93#L76true assume !(1 == ~c_dr_pc~0); 72#L76-2true is_do_read_c_triggered_~__retres1~1 := 0; 75#L87true is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 45#L88true activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 63#L315true assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 24#L315-2true assume !(1 == ~q_read_ev~0); 74#L285-1true assume !(1 == ~q_write_ev~0); 52#L411-1true [2021-10-12 23:59:08,043 INFO L793 eck$LassoCheckResult]: Loop: 52#L411-1true assume !false; 82#L412true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 41#L356true assume false; 51#L372true start_simulation_~kernel_st~0 := 2; 16#L214-2true assume !(1 == ~q_req_up~0); 29#L214-3true start_simulation_~kernel_st~0 := 3; 38#L267-2true assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 85#L267-4true assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 13#L272-3true havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 76#L57-3true assume 1 == ~p_dw_pc~0; 14#L58-1true assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 44#L68-1true is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 86#L69-1true activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 69#L307-3true assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 32#L307-5true havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 8#L76-3true assume 1 == ~c_dr_pc~0; 40#L77-1true assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 11#L87-1true is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 67#L88-1true activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 68#L315-3true assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 58#L315-5true assume !(1 == ~q_read_ev~0); 39#L285-3true assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 60#L290-3true havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 66#L247-1true assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 83#L259-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 22#L260-1true stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 18#L386true assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 35#L393true stop_simulation_#res := stop_simulation_~__retres2~0; 26#L394true start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 62#L428true assume !(0 != start_simulation_~tmp~4); 52#L411-1true [2021-10-12 23:59:08,049 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,049 INFO L82 PathProgramCache]: Analyzing trace with hash 1146955365, now seen corresponding path program 1 times [2021-10-12 23:59:08,059 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,060 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1980268905] [2021-10-12 23:59:08,060 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,061 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,157 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:08,229 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-12 23:59:08,230 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:08,230 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1980268905] [2021-10-12 23:59:08,231 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1980268905] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:08,231 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:08,232 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:08,233 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [958531153] [2021-10-12 23:59:08,238 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-12 23:59:08,239 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,239 INFO L82 PathProgramCache]: Analyzing trace with hash -518202494, now seen corresponding path program 1 times [2021-10-12 23:59:08,240 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,240 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [16306017] [2021-10-12 23:59:08,240 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,240 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,247 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:08,258 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-12 23:59:08,258 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:08,258 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [16306017] [2021-10-12 23:59:08,259 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [16306017] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:08,259 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:08,259 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-12 23:59:08,259 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1227818945] [2021-10-12 23:59:08,260 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:08,261 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:08,276 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-12 23:59:08,276 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-12 23:59:08,279 INFO L87 Difference]: Start difference. First operand has 92 states, 91 states have (on average 1.6043956043956045) internal successors, (146), 91 states have internal predecessors, (146), 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 7.333333333333333) internal successors, (22), 3 states have internal predecessors, (22), 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-12 23:59:08,303 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:08,303 INFO L93 Difference]: Finished difference Result 92 states and 135 transitions. [2021-10-12 23:59:08,307 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-12 23:59:08,309 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 92 states and 135 transitions. [2021-10-12 23:59:08,315 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-12 23:59:08,349 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 92 states to 86 states and 129 transitions. [2021-10-12 23:59:08,350 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 86 [2021-10-12 23:59:08,351 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 86 [2021-10-12 23:59:08,352 INFO L73 IsDeterministic]: Start isDeterministic. Operand 86 states and 129 transitions. [2021-10-12 23:59:08,353 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:08,353 INFO L681 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2021-10-12 23:59:08,374 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 86 states and 129 transitions. [2021-10-12 23:59:08,395 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 86 to 86. [2021-10-12 23:59:08,397 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 86 states, 86 states have (on average 1.5) internal successors, (129), 85 states have internal predecessors, (129), 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-12 23:59:08,405 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 86 states to 86 states and 129 transitions. [2021-10-12 23:59:08,407 INFO L704 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2021-10-12 23:59:08,407 INFO L587 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2021-10-12 23:59:08,408 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-12 23:59:08,408 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 86 states and 129 transitions. [2021-10-12 23:59:08,417 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-12 23:59:08,418 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:08,418 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:08,422 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] [2021-10-12 23:59:08,423 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] [2021-10-12 23:59:08,423 INFO L791 eck$LassoCheckResult]: Stem: 277#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 272#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 197#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 198#L214 assume !(1 == ~q_req_up~0); 234#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 235#L229-1 assume !(1 == ~c_dr_i~0);~c_dr_st~0 := 2; 278#L234-1 assume !(0 == ~q_read_ev~0); 267#L267-1 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 195#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 196#L57 assume 1 == ~p_dw_pc~0; 268#L58 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 269#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 241#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 214#L307 assume !(0 != activate_threads_~tmp~1); 215#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 242#L76 assume !(1 == ~c_dr_pc~0); 211#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 210#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 258#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 259#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 236#L315-2 assume !(1 == ~q_read_ev~0); 237#L285-1 assume !(1 == ~q_write_ev~0); 265#L411-1 [2021-10-12 23:59:08,425 INFO L793 eck$LassoCheckResult]: Loop: 265#L411-1 assume !false; 266#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 248#L356 assume !false; 253#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 260#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 193#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 194#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 221#L336 assume !(0 != eval_~tmp___1~0); 222#L372 start_simulation_~kernel_st~0 := 2; 223#L214-2 assume !(1 == ~q_req_up~0); 225#L214-3 start_simulation_~kernel_st~0 := 3; 243#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 249#L267-4 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 212#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 213#L57-3 assume 1 == ~p_dw_pc~0; 218#L58-1 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 219#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 257#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 276#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 246#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 202#L76-3 assume 1 == ~c_dr_pc~0; 203#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 207#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 208#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 275#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 271#L315-5 assume !(1 == ~q_read_ev~0); 250#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 251#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 273#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 264#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 233#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 226#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 227#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 239#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 240#L428 assume !(0 != start_simulation_~tmp~4); 265#L411-1 [2021-10-12 23:59:08,427 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,427 INFO L82 PathProgramCache]: Analyzing trace with hash -1153867225, now seen corresponding path program 1 times [2021-10-12 23:59:08,428 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,429 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [552670784] [2021-10-12 23:59:08,429 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,430 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:08,534 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-12 23:59:08,534 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:08,535 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [552670784] [2021-10-12 23:59:08,535 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [552670784] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:08,535 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:08,535 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:08,536 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [819199065] [2021-10-12 23:59:08,536 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-12 23:59:08,537 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,537 INFO L82 PathProgramCache]: Analyzing trace with hash -1782372499, now seen corresponding path program 1 times [2021-10-12 23:59:08,537 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,537 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [458273016] [2021-10-12 23:59:08,538 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,538 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,560 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:08,589 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-12 23:59:08,589 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:08,589 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [458273016] [2021-10-12 23:59:08,590 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [458273016] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:08,590 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:08,590 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:08,590 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [745685537] [2021-10-12 23:59:08,591 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:08,591 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:08,592 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-12 23:59:08,592 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-12 23:59:08,592 INFO L87 Difference]: Start difference. First operand 86 states and 129 transitions. cyclomatic complexity: 44 Second operand has 3 states, 3 states have (on average 7.333333333333333) internal successors, (22), 3 states have internal predecessors, (22), 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-12 23:59:08,606 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:08,606 INFO L93 Difference]: Finished difference Result 86 states and 128 transitions. [2021-10-12 23:59:08,606 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-12 23:59:08,607 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 86 states and 128 transitions. [2021-10-12 23:59:08,609 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-12 23:59:08,611 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 86 states to 86 states and 128 transitions. [2021-10-12 23:59:08,611 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 86 [2021-10-12 23:59:08,611 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 86 [2021-10-12 23:59:08,612 INFO L73 IsDeterministic]: Start isDeterministic. Operand 86 states and 128 transitions. [2021-10-12 23:59:08,612 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:08,612 INFO L681 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2021-10-12 23:59:08,613 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 86 states and 128 transitions. [2021-10-12 23:59:08,618 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 86 to 86. [2021-10-12 23:59:08,618 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 86 states, 86 states have (on average 1.4883720930232558) internal successors, (128), 85 states have internal predecessors, (128), 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-12 23:59:08,619 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 86 states to 86 states and 128 transitions. [2021-10-12 23:59:08,620 INFO L704 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2021-10-12 23:59:08,620 INFO L587 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2021-10-12 23:59:08,620 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-12 23:59:08,620 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 86 states and 128 transitions. [2021-10-12 23:59:08,622 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-12 23:59:08,622 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:08,622 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:08,623 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] [2021-10-12 23:59:08,623 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] [2021-10-12 23:59:08,623 INFO L791 eck$LassoCheckResult]: Stem: 456#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 451#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 376#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 377#L214 assume !(1 == ~q_req_up~0); 413#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 414#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 457#L234-1 assume !(0 == ~q_read_ev~0); 446#L267-1 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 374#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 375#L57 assume 1 == ~p_dw_pc~0; 447#L58 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 448#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 420#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 391#L307 assume !(0 != activate_threads_~tmp~1); 392#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 421#L76 assume !(1 == ~c_dr_pc~0); 388#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 387#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 437#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 438#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 415#L315-2 assume !(1 == ~q_read_ev~0); 416#L285-1 assume !(1 == ~q_write_ev~0); 444#L411-1 [2021-10-12 23:59:08,624 INFO L793 eck$LassoCheckResult]: Loop: 444#L411-1 assume !false; 445#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 427#L356 assume !false; 432#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 439#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 372#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 373#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 400#L336 assume !(0 != eval_~tmp___1~0); 401#L372 start_simulation_~kernel_st~0 := 2; 402#L214-2 assume !(1 == ~q_req_up~0); 404#L214-3 start_simulation_~kernel_st~0 := 3; 422#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 429#L267-4 assume 0 == ~q_write_ev~0;~q_write_ev~0 := 1; 393#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 394#L57-3 assume 1 == ~p_dw_pc~0; 397#L58-1 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 398#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 436#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 455#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 425#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 381#L76-3 assume 1 == ~c_dr_pc~0; 382#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 389#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 390#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 454#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 450#L315-5 assume !(1 == ~q_read_ev~0); 430#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 431#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 452#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 443#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 412#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 405#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 406#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 418#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 419#L428 assume !(0 != start_simulation_~tmp~4); 444#L411-1 [2021-10-12 23:59:08,624 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,624 INFO L82 PathProgramCache]: Analyzing trace with hash 434480677, now seen corresponding path program 1 times [2021-10-12 23:59:08,625 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,625 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [437438386] [2021-10-12 23:59:08,625 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,625 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,649 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:08,725 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-12 23:59:08,725 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:08,725 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [437438386] [2021-10-12 23:59:08,726 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [437438386] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:08,726 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:08,726 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-12 23:59:08,726 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1459204535] [2021-10-12 23:59:08,727 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-12 23:59:08,727 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,727 INFO L82 PathProgramCache]: Analyzing trace with hash -1782372499, now seen corresponding path program 2 times [2021-10-12 23:59:08,728 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,728 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [538660418] [2021-10-12 23:59:08,728 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,728 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,753 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:08,804 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-12 23:59:08,805 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:08,805 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [538660418] [2021-10-12 23:59:08,805 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [538660418] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:08,806 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:08,806 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:08,806 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [554114477] [2021-10-12 23:59:08,806 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:08,807 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:08,807 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-12 23:59:08,808 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-12 23:59:08,808 INFO L87 Difference]: Start difference. First operand 86 states and 128 transitions. cyclomatic complexity: 43 Second operand has 4 states, 4 states have (on average 5.5) internal successors, (22), 4 states have internal predecessors, (22), 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-12 23:59:08,952 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:08,952 INFO L93 Difference]: Finished difference Result 177 states and 258 transitions. [2021-10-12 23:59:08,952 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-12 23:59:08,952 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 177 states and 258 transitions. [2021-10-12 23:59:08,955 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 123 [2021-10-12 23:59:08,957 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 177 states to 177 states and 258 transitions. [2021-10-12 23:59:08,958 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 177 [2021-10-12 23:59:08,958 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 177 [2021-10-12 23:59:08,958 INFO L73 IsDeterministic]: Start isDeterministic. Operand 177 states and 258 transitions. [2021-10-12 23:59:08,960 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:08,960 INFO L681 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2021-10-12 23:59:08,960 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 177 states and 258 transitions. [2021-10-12 23:59:08,973 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 177 to 177. [2021-10-12 23:59:08,974 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 177 states, 177 states have (on average 1.4576271186440677) internal successors, (258), 176 states have internal predecessors, (258), 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-12 23:59:08,976 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 258 transitions. [2021-10-12 23:59:08,976 INFO L704 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2021-10-12 23:59:08,976 INFO L587 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2021-10-12 23:59:08,976 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-12 23:59:08,976 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 258 transitions. [2021-10-12 23:59:08,978 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 123 [2021-10-12 23:59:08,978 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:08,979 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:08,980 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] [2021-10-12 23:59:08,980 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] [2021-10-12 23:59:08,980 INFO L791 eck$LassoCheckResult]: Stem: 734#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 729#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 649#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 650#L214 assume !(1 == ~q_req_up~0); 689#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 690#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 735#L234-1 assume !(0 == ~q_read_ev~0); 736#L267-1 assume !(0 == ~q_write_ev~0); 797#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 796#L57 assume 1 == ~p_dw_pc~0; 795#L58 assume 1 == ~q_read_ev~0;is_do_write_p_triggered_~__retres1~0 := 1; 793#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 792#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 791#L307 assume !(0 != activate_threads_~tmp~1); 790#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 789#L76 assume !(1 == ~c_dr_pc~0); 788#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 786#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 785#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 784#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 783#L315-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 688#L285-1 assume !(1 == ~q_write_ev~0); 721#L411-1 [2021-10-12 23:59:08,981 INFO L793 eck$LassoCheckResult]: Loop: 721#L411-1 assume !false; 722#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 702#L356 assume !false; 709#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 716#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 645#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 646#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 674#L336 assume !(0 != eval_~tmp___1~0); 675#L372 start_simulation_~kernel_st~0 := 2; 676#L214-2 assume !(1 == ~q_req_up~0); 678#L214-3 start_simulation_~kernel_st~0 := 3; 696#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 737#L267-4 assume !(0 == ~q_write_ev~0); 665#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 666#L57-3 assume !(1 == ~p_dw_pc~0); 673#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 672#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 713#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 733#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 700#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 654#L76-3 assume !(1 == ~c_dr_pc~0); 656#L76-5 is_do_read_c_triggered_~__retres1~1 := 0; 663#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 664#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 732#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 728#L315-5 assume !(1 == ~q_read_ev~0); 705#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 706#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 730#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 720#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 686#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 679#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 680#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 692#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 693#L428 assume !(0 != start_simulation_~tmp~4); 721#L411-1 [2021-10-12 23:59:08,981 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:08,981 INFO L82 PathProgramCache]: Analyzing trace with hash -845383063, now seen corresponding path program 1 times [2021-10-12 23:59:08,982 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:08,982 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1325205070] [2021-10-12 23:59:08,982 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:08,982 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:08,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,026 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-12 23:59:09,026 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,027 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1325205070] [2021-10-12 23:59:09,027 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1325205070] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,027 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,027 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-12 23:59:09,028 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [892737777] [2021-10-12 23:59:09,028 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-12 23:59:09,028 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,029 INFO L82 PathProgramCache]: Analyzing trace with hash -1336756175, now seen corresponding path program 1 times [2021-10-12 23:59:09,029 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,034 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [949949813] [2021-10-12 23:59:09,034 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,035 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,057 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,095 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-12 23:59:09,095 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,095 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [949949813] [2021-10-12 23:59:09,095 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [949949813] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,096 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,096 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:09,096 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2033707336] [2021-10-12 23:59:09,096 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:09,097 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:09,097 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-12 23:59:09,097 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-12 23:59:09,098 INFO L87 Difference]: Start difference. First operand 177 states and 258 transitions. cyclomatic complexity: 83 Second operand has 5 states, 5 states have (on average 4.4) internal successors, (22), 4 states have internal predecessors, (22), 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-12 23:59:09,238 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:09,238 INFO L93 Difference]: Finished difference Result 582 states and 830 transitions. [2021-10-12 23:59:09,239 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-12 23:59:09,239 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 582 states and 830 transitions. [2021-10-12 23:59:09,246 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 552 [2021-10-12 23:59:09,255 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 582 states to 582 states and 830 transitions. [2021-10-12 23:59:09,256 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 582 [2021-10-12 23:59:09,258 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 582 [2021-10-12 23:59:09,258 INFO L73 IsDeterministic]: Start isDeterministic. Operand 582 states and 830 transitions. [2021-10-12 23:59:09,266 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:09,266 INFO L681 BuchiCegarLoop]: Abstraction has 582 states and 830 transitions. [2021-10-12 23:59:09,267 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 582 states and 830 transitions. [2021-10-12 23:59:09,319 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 582 to 554. [2021-10-12 23:59:09,321 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 554 states, 554 states have (on average 1.44043321299639) internal successors, (798), 553 states have internal predecessors, (798), 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-12 23:59:09,327 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 554 states to 554 states and 798 transitions. [2021-10-12 23:59:09,330 INFO L704 BuchiCegarLoop]: Abstraction has 554 states and 798 transitions. [2021-10-12 23:59:09,331 INFO L587 BuchiCegarLoop]: Abstraction has 554 states and 798 transitions. [2021-10-12 23:59:09,331 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-10-12 23:59:09,331 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 554 states and 798 transitions. [2021-10-12 23:59:09,336 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 528 [2021-10-12 23:59:09,336 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:09,337 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:09,339 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] [2021-10-12 23:59:09,340 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] [2021-10-12 23:59:09,340 INFO L791 eck$LassoCheckResult]: Stem: 1501#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 1493#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 1421#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 1422#L214 assume !(1 == ~q_req_up~0); 1456#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 1457#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 1502#L234-1 assume !(0 == ~q_read_ev~0); 1491#L267-1 assume !(0 == ~q_write_ev~0); 1419#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 1420#L57 assume !(1 == ~p_dw_pc~0); 1503#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 1504#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 1464#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 1436#L307 assume !(0 != activate_threads_~tmp~1); 1437#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 1465#L76 assume !(1 == ~c_dr_pc~0); 1433#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 1432#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 1480#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1481#L315 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 1458#L315-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 1459#L285-1 assume !(1 == ~q_write_ev~0); 1489#L411-1 [2021-10-12 23:59:09,341 INFO L793 eck$LassoCheckResult]: Loop: 1489#L411-1 assume !false; 1490#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 1471#L356 assume !false; 1475#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1482#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 1417#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1418#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 1443#L336 assume !(0 != eval_~tmp___1~0); 1444#L372 start_simulation_~kernel_st~0 := 2; 1445#L214-2 assume !(1 == ~q_req_up~0); 1446#L214-3 start_simulation_~kernel_st~0 := 3; 1466#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 1472#L267-4 assume !(0 == ~q_write_ev~0); 1434#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 1435#L57-3 assume !(1 == ~p_dw_pc~0); 1497#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 1478#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 1479#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 1500#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 1469#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 1426#L76-3 assume 1 == ~c_dr_pc~0; 1427#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 1429#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 1430#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1499#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 1492#L315-5 assume !(1 == ~q_read_ev~0); 1473#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 1474#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1494#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 1488#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1455#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 1447#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 1448#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 1462#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 1463#L428 assume !(0 != start_simulation_~tmp~4); 1489#L411-1 [2021-10-12 23:59:09,341 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,341 INFO L82 PathProgramCache]: Analyzing trace with hash -2124707798, now seen corresponding path program 1 times [2021-10-12 23:59:09,342 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,342 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [221341434] [2021-10-12 23:59:09,342 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,342 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,367 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,416 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-12 23:59:09,416 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,417 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [221341434] [2021-10-12 23:59:09,417 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [221341434] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,417 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,417 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-12 23:59:09,417 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1905583816] [2021-10-12 23:59:09,418 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-12 23:59:09,418 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,418 INFO L82 PathProgramCache]: Analyzing trace with hash -266332496, now seen corresponding path program 1 times [2021-10-12 23:59:09,419 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,419 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1434031599] [2021-10-12 23:59:09,419 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,419 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,437 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,472 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-12 23:59:09,473 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,474 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1434031599] [2021-10-12 23:59:09,474 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1434031599] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,474 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,474 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:09,494 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1817746517] [2021-10-12 23:59:09,496 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:09,496 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:09,500 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-12 23:59:09,500 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-12 23:59:09,500 INFO L87 Difference]: Start difference. First operand 554 states and 798 transitions. cyclomatic complexity: 248 Second operand has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 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-12 23:59:09,555 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:09,555 INFO L93 Difference]: Finished difference Result 1469 states and 2115 transitions. [2021-10-12 23:59:09,556 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-12 23:59:09,556 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1469 states and 2115 transitions. [2021-10-12 23:59:09,571 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1430 [2021-10-12 23:59:09,586 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1469 states to 1469 states and 2115 transitions. [2021-10-12 23:59:09,587 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1469 [2021-10-12 23:59:09,588 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1469 [2021-10-12 23:59:09,590 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1469 states and 2115 transitions. [2021-10-12 23:59:09,592 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:09,593 INFO L681 BuchiCegarLoop]: Abstraction has 1469 states and 2115 transitions. [2021-10-12 23:59:09,594 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1469 states and 2115 transitions. [2021-10-12 23:59:09,610 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1469 to 587. [2021-10-12 23:59:09,612 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 587 states, 587 states have (on average 1.415672913117547) internal successors, (831), 586 states have internal predecessors, (831), 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-12 23:59:09,614 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 587 states to 587 states and 831 transitions. [2021-10-12 23:59:09,615 INFO L704 BuchiCegarLoop]: Abstraction has 587 states and 831 transitions. [2021-10-12 23:59:09,615 INFO L587 BuchiCegarLoop]: Abstraction has 587 states and 831 transitions. [2021-10-12 23:59:09,615 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-10-12 23:59:09,615 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 587 states and 831 transitions. [2021-10-12 23:59:09,619 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 558 [2021-10-12 23:59:09,620 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:09,620 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:09,622 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] [2021-10-12 23:59:09,623 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] [2021-10-12 23:59:09,624 INFO L791 eck$LassoCheckResult]: Stem: 3554#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 3541#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 3457#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 3458#L214 assume !(1 == ~q_req_up~0); 3493#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 3494#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 3557#L234-1 assume !(0 == ~q_read_ev~0); 3538#L267-1 assume !(0 == ~q_write_ev~0); 3455#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 3456#L57 assume !(1 == ~p_dw_pc~0); 3561#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 3562#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 3501#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 3472#L307 assume !(0 != activate_threads_~tmp~1); 3473#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 3502#L76 assume !(1 == ~c_dr_pc~0); 3469#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 3556#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 3560#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3548#L315 assume !(0 != activate_threads_~tmp___0~1); 3495#L315-2 assume 1 == ~q_read_ev~0;~q_read_ev~0 := 2; 3496#L285-1 assume !(1 == ~q_write_ev~0); 3558#L411-1 [2021-10-12 23:59:09,625 INFO L793 eck$LassoCheckResult]: Loop: 3558#L411-1 assume !false; 3953#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 3510#L356 assume !false; 3947#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3944#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 3941#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3939#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 3936#L336 assume !(0 != eval_~tmp___1~0); 3937#L372 start_simulation_~kernel_st~0 := 2; 4033#L214-2 assume !(1 == ~q_req_up~0); 3503#L214-3 start_simulation_~kernel_st~0 := 3; 3504#L267-2 assume 0 == ~q_read_ev~0;~q_read_ev~0 := 1; 3516#L267-4 assume !(0 == ~q_write_ev~0); 3567#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 4016#L57-3 assume !(1 == ~p_dw_pc~0); 4015#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 4014#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 3568#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 3553#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 3505#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 3506#L76-3 assume !(1 == ~c_dr_pc~0); 3520#L76-5 is_do_read_c_triggered_~__retres1~1 := 0; 3559#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 4035#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3551#L315-3 assume !(0 != activate_threads_~tmp___0~1); 3552#L315-5 assume !(1 == ~q_read_ev~0); 3976#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 3973#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3972#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 3968#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3966#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 3964#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 3962#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 3960#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 3958#L428 assume !(0 != start_simulation_~tmp~4); 3558#L411-1 [2021-10-12 23:59:09,625 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,625 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705876, now seen corresponding path program 1 times [2021-10-12 23:59:09,625 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,626 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1783558628] [2021-10-12 23:59:09,626 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,626 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,645 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,683 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-12 23:59:09,683 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,684 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1783558628] [2021-10-12 23:59:09,684 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1783558628] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,684 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,684 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:09,697 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1431388825] [2021-10-12 23:59:09,697 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-12 23:59:09,698 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,698 INFO L82 PathProgramCache]: Analyzing trace with hash -635691597, now seen corresponding path program 1 times [2021-10-12 23:59:09,698 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,698 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [339754003] [2021-10-12 23:59:09,698 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,699 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,703 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,732 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-12 23:59:09,732 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,732 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [339754003] [2021-10-12 23:59:09,732 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [339754003] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,732 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,733 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:09,733 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [450186813] [2021-10-12 23:59:09,733 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:09,733 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:09,734 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-12 23:59:09,734 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-12 23:59:09,734 INFO L87 Difference]: Start difference. First operand 587 states and 831 transitions. cyclomatic complexity: 248 Second operand has 3 states, 3 states have (on average 7.333333333333333) internal successors, (22), 3 states have internal predecessors, (22), 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-12 23:59:09,772 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:09,772 INFO L93 Difference]: Finished difference Result 821 states and 1146 transitions. [2021-10-12 23:59:09,773 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-12 23:59:09,773 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 821 states and 1146 transitions. [2021-10-12 23:59:09,780 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 793 [2021-10-12 23:59:09,811 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 821 states to 821 states and 1146 transitions. [2021-10-12 23:59:09,812 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 821 [2021-10-12 23:59:09,813 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 821 [2021-10-12 23:59:09,813 INFO L73 IsDeterministic]: Start isDeterministic. Operand 821 states and 1146 transitions. [2021-10-12 23:59:09,814 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:09,814 INFO L681 BuchiCegarLoop]: Abstraction has 821 states and 1146 transitions. [2021-10-12 23:59:09,815 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 821 states and 1146 transitions. [2021-10-12 23:59:09,824 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 821 to 546. [2021-10-12 23:59:09,842 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 546 states, 546 states have (on average 1.401098901098901) internal successors, (765), 545 states have internal predecessors, (765), 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-12 23:59:09,844 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 546 states to 546 states and 765 transitions. [2021-10-12 23:59:09,844 INFO L704 BuchiCegarLoop]: Abstraction has 546 states and 765 transitions. [2021-10-12 23:59:09,844 INFO L587 BuchiCegarLoop]: Abstraction has 546 states and 765 transitions. [2021-10-12 23:59:09,844 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-10-12 23:59:09,844 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 546 states and 765 transitions. [2021-10-12 23:59:09,848 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 519 [2021-10-12 23:59:09,848 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:09,848 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:09,849 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] [2021-10-12 23:59:09,849 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] [2021-10-12 23:59:09,850 INFO L791 eck$LassoCheckResult]: Stem: 4953#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 4945#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 4872#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 4873#L214 assume !(1 == ~q_req_up~0); 4906#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 4907#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 4958#L234-1 assume !(0 == ~q_read_ev~0); 4943#L267-1 assume !(0 == ~q_write_ev~0); 4870#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 4871#L57 assume !(1 == ~p_dw_pc~0); 4962#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 4963#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 4914#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 4887#L307 assume !(0 != activate_threads_~tmp~1); 4888#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 4915#L76 assume !(1 == ~c_dr_pc~0); 4884#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 4957#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 4933#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 4934#L315 assume !(0 != activate_threads_~tmp___0~1); 4908#L315-2 assume !(1 == ~q_read_ev~0); 4909#L285-1 assume !(1 == ~q_write_ev~0); 4959#L411-1 [2021-10-12 23:59:09,850 INFO L793 eck$LassoCheckResult]: Loop: 4959#L411-1 assume !false; 4991#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 4986#L356 assume !false; 4985#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 4983#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 4982#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4981#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 4979#L336 assume !(0 != eval_~tmp___1~0); 4980#L372 start_simulation_~kernel_st~0 := 2; 5025#L214-2 assume !(1 == ~q_req_up~0); 5024#L214-3 start_simulation_~kernel_st~0 := 3; 5023#L267-2 assume !(0 == ~q_read_ev~0); 5022#L267-4 assume !(0 == ~q_write_ev~0); 5021#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 5020#L57-3 assume !(1 == ~p_dw_pc~0); 5019#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 5018#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 5017#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 5016#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 5015#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 5014#L76-3 assume 1 == ~c_dr_pc~0; 5012#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 5010#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 5008#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 5006#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 5005#L315-5 assume !(1 == ~q_read_ev~0); 5004#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 5003#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 5002#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 5000#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4999#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 4998#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 4997#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 4996#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 4995#L428 assume !(0 != start_simulation_~tmp~4); 4959#L411-1 [2021-10-12 23:59:09,850 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,850 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 1 times [2021-10-12 23:59:09,851 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,851 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [862453538] [2021-10-12 23:59:09,851 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,851 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,860 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:09,860 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:09,883 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:09,934 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:09,935 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:09,935 INFO L82 PathProgramCache]: Analyzing trace with hash -400346002, now seen corresponding path program 1 times [2021-10-12 23:59:09,936 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:09,936 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [738285890] [2021-10-12 23:59:09,936 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:09,936 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:09,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:09,990 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-12 23:59:09,990 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:09,990 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [738285890] [2021-10-12 23:59:09,990 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [738285890] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:09,991 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:09,991 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-12 23:59:09,991 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [502355617] [2021-10-12 23:59:09,997 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:09,997 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:09,998 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-12 23:59:09,998 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-12 23:59:09,998 INFO L87 Difference]: Start difference. First operand 546 states and 765 transitions. cyclomatic complexity: 221 Second operand has 5 states, 5 states have (on average 7.0) internal successors, (35), 5 states have internal predecessors, (35), 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-12 23:59:10,065 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:10,066 INFO L93 Difference]: Finished difference Result 850 states and 1175 transitions. [2021-10-12 23:59:10,066 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-12 23:59:10,066 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 850 states and 1175 transitions. [2021-10-12 23:59:10,075 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 822 [2021-10-12 23:59:10,082 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 850 states to 850 states and 1175 transitions. [2021-10-12 23:59:10,083 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 850 [2021-10-12 23:59:10,085 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 850 [2021-10-12 23:59:10,085 INFO L73 IsDeterministic]: Start isDeterministic. Operand 850 states and 1175 transitions. [2021-10-12 23:59:10,086 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:10,086 INFO L681 BuchiCegarLoop]: Abstraction has 850 states and 1175 transitions. [2021-10-12 23:59:10,087 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 850 states and 1175 transitions. [2021-10-12 23:59:10,097 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 850 to 573. [2021-10-12 23:59:10,100 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 573 states, 573 states have (on average 1.382198952879581) internal successors, (792), 572 states have internal predecessors, (792), 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-12 23:59:10,102 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 573 states to 573 states and 792 transitions. [2021-10-12 23:59:10,102 INFO L704 BuchiCegarLoop]: Abstraction has 573 states and 792 transitions. [2021-10-12 23:59:10,102 INFO L587 BuchiCegarLoop]: Abstraction has 573 states and 792 transitions. [2021-10-12 23:59:10,102 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-10-12 23:59:10,102 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 573 states and 792 transitions. [2021-10-12 23:59:10,106 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 546 [2021-10-12 23:59:10,106 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:10,106 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:10,108 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] [2021-10-12 23:59:10,108 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-12 23:59:10,108 INFO L791 eck$LassoCheckResult]: Stem: 6369#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 6359#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 6284#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 6285#L214 assume !(1 == ~q_req_up~0); 6318#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 6319#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 6372#L234-1 assume !(0 == ~q_read_ev~0); 6357#L267-1 assume !(0 == ~q_write_ev~0); 6282#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 6283#L57 assume !(1 == ~p_dw_pc~0); 6376#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 6377#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 6326#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 6299#L307 assume !(0 != activate_threads_~tmp~1); 6300#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 6327#L76 assume !(1 == ~c_dr_pc~0); 6296#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 6371#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 6345#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 6346#L315 assume !(0 != activate_threads_~tmp___0~1); 6320#L315-2 assume !(1 == ~q_read_ev~0); 6321#L285-1 assume !(1 == ~q_write_ev~0); 6373#L411-1 [2021-10-12 23:59:10,108 INFO L793 eck$LassoCheckResult]: Loop: 6373#L411-1 assume !false; 6844#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 6334#L356 assume !false; 6347#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 6348#L247 assume !(0 == ~p_dw_st~0); 6322#L251 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 6280#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 6281#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 6387#L336 assume !(0 != eval_~tmp___1~0); 6353#L372 start_simulation_~kernel_st~0 := 2; 6354#L214-2 assume !(1 == ~q_req_up~0); 6842#L214-3 start_simulation_~kernel_st~0 := 3; 6839#L267-2 assume !(0 == ~q_read_ev~0); 6838#L267-4 assume !(0 == ~q_write_ev~0); 6297#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 6298#L57-3 assume !(1 == ~p_dw_pc~0); 6834#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 6833#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 6831#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 6368#L307-3 assume 0 != activate_threads_~tmp~1;~p_dw_st~0 := 0; 6332#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 6289#L76-3 assume 1 == ~c_dr_pc~0; 6290#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 6338#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 6365#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 6366#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 6358#L315-5 assume !(1 == ~q_read_ev~0); 6336#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 6337#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 6360#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 6352#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 6316#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 6317#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 6847#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 6846#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 6845#L428 assume !(0 != start_simulation_~tmp~4); 6373#L411-1 [2021-10-12 23:59:10,109 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,109 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 2 times [2021-10-12 23:59:10,109 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,109 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [587850103] [2021-10-12 23:59:10,109 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,109 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,150 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,150 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,157 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,165 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:10,166 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,166 INFO L82 PathProgramCache]: Analyzing trace with hash 805032405, now seen corresponding path program 1 times [2021-10-12 23:59:10,166 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,166 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [997841266] [2021-10-12 23:59:10,166 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,167 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,173 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:10,220 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-12 23:59:10,220 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:10,220 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [997841266] [2021-10-12 23:59:10,221 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [997841266] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:10,221 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:10,221 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-12 23:59:10,221 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1453806866] [2021-10-12 23:59:10,222 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:10,222 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:10,222 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-12 23:59:10,222 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-12 23:59:10,223 INFO L87 Difference]: Start difference. First operand 573 states and 792 transitions. cyclomatic complexity: 221 Second operand has 5 states, 5 states have (on average 7.2) internal successors, (36), 5 states have internal predecessors, (36), 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-12 23:59:10,285 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:10,285 INFO L93 Difference]: Finished difference Result 995 states and 1384 transitions. [2021-10-12 23:59:10,286 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-12 23:59:10,286 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 995 states and 1384 transitions. [2021-10-12 23:59:10,295 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 968 [2021-10-12 23:59:10,303 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 995 states to 995 states and 1384 transitions. [2021-10-12 23:59:10,303 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 995 [2021-10-12 23:59:10,305 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 995 [2021-10-12 23:59:10,305 INFO L73 IsDeterministic]: Start isDeterministic. Operand 995 states and 1384 transitions. [2021-10-12 23:59:10,306 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:10,307 INFO L681 BuchiCegarLoop]: Abstraction has 995 states and 1384 transitions. [2021-10-12 23:59:10,308 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 995 states and 1384 transitions. [2021-10-12 23:59:10,318 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 995 to 579. [2021-10-12 23:59:10,319 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 579 states, 579 states have (on average 1.3644214162348878) internal successors, (790), 578 states have internal predecessors, (790), 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-12 23:59:10,322 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 579 states to 579 states and 790 transitions. [2021-10-12 23:59:10,324 INFO L704 BuchiCegarLoop]: Abstraction has 579 states and 790 transitions. [2021-10-12 23:59:10,324 INFO L587 BuchiCegarLoop]: Abstraction has 579 states and 790 transitions. [2021-10-12 23:59:10,325 INFO L425 BuchiCegarLoop]: ======== Iteration 9============ [2021-10-12 23:59:10,325 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 579 states and 790 transitions. [2021-10-12 23:59:10,329 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 552 [2021-10-12 23:59:10,329 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:10,330 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:10,333 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] [2021-10-12 23:59:10,333 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-12 23:59:10,339 INFO L791 eck$LassoCheckResult]: Stem: 7949#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 7938#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 7865#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 7866#L214 assume !(1 == ~q_req_up~0); 7899#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 7900#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 7952#L234-1 assume !(0 == ~q_read_ev~0); 7936#L267-1 assume !(0 == ~q_write_ev~0); 7863#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 7864#L57 assume !(1 == ~p_dw_pc~0); 7956#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 7957#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 7907#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 7878#L307 assume !(0 != activate_threads_~tmp~1); 7879#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 7908#L76 assume !(1 == ~c_dr_pc~0); 7875#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 7951#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 7926#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 7927#L315 assume !(0 != activate_threads_~tmp___0~1); 7901#L315-2 assume !(1 == ~q_read_ev~0); 7902#L285-1 assume !(1 == ~q_write_ev~0); 7953#L411-1 [2021-10-12 23:59:10,340 INFO L793 eck$LassoCheckResult]: Loop: 7953#L411-1 assume !false; 8243#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 8110#L356 assume !false; 8242#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 8241#L247 assume !(0 == ~p_dw_st~0); 8240#L251 assume !(0 == ~c_dr_st~0);exists_runnable_thread_~__retres1~2 := 0; 8238#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 8188#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 8189#L336 assume !(0 != eval_~tmp___1~0); 8236#L372 start_simulation_~kernel_st~0 := 2; 8235#L214-2 assume !(1 == ~q_req_up~0); 8234#L214-3 start_simulation_~kernel_st~0 := 3; 8233#L267-2 assume !(0 == ~q_read_ev~0); 8231#L267-4 assume !(0 == ~q_write_ev~0); 7880#L272-3 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 7881#L57-3 assume !(1 == ~p_dw_pc~0); 7955#L57-5 is_do_write_p_triggered_~__retres1~0 := 0; 8267#L68-1 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 8266#L69-1 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 8265#L307-3 assume !(0 != activate_threads_~tmp~1); 8264#L307-5 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 8263#L76-3 assume 1 == ~c_dr_pc~0; 8261#L77-1 assume 1 == ~q_write_ev~0;is_do_read_c_triggered_~__retres1~1 := 1; 8259#L87-1 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 8257#L88-1 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 8255#L315-3 assume 0 != activate_threads_~tmp___0~1;~c_dr_st~0 := 0; 8254#L315-5 assume !(1 == ~q_read_ev~0); 8253#L285-3 assume 1 == ~q_write_ev~0;~q_write_ev~0 := 2; 8252#L290-3 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~3, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~3;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 8251#L247-1 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 8249#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 8248#L260-1 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~3 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 8247#L386 assume 0 != stop_simulation_~tmp~3;stop_simulation_~__retres2~0 := 0; 8246#L393 stop_simulation_#res := stop_simulation_~__retres2~0; 8245#L394 start_simulation_#t~ret16 := stop_simulation_#res;start_simulation_~tmp~4 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 8244#L428 assume !(0 != start_simulation_~tmp~4); 7953#L411-1 [2021-10-12 23:59:10,340 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,340 INFO L82 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 3 times [2021-10-12 23:59:10,341 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,341 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1024801149] [2021-10-12 23:59:10,341 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,341 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,357 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,358 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,367 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,385 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:10,387 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,388 INFO L82 PathProgramCache]: Analyzing trace with hash -783315497, now seen corresponding path program 1 times [2021-10-12 23:59:10,388 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,390 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [588940820] [2021-10-12 23:59:10,397 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,397 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,402 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:10,422 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-12 23:59:10,422 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:10,422 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [588940820] [2021-10-12 23:59:10,422 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [588940820] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:10,422 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:10,423 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-12 23:59:10,423 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [730894431] [2021-10-12 23:59:10,423 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-12 23:59:10,423 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:10,424 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-12 23:59:10,426 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-12 23:59:10,426 INFO L87 Difference]: Start difference. First operand 579 states and 790 transitions. cyclomatic complexity: 213 Second operand has 3 states, 3 states have (on average 12.0) internal successors, (36), 3 states have internal predecessors, (36), 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-12 23:59:10,449 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:10,449 INFO L93 Difference]: Finished difference Result 728 states and 968 transitions. [2021-10-12 23:59:10,449 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-12 23:59:10,449 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 728 states and 968 transitions. [2021-10-12 23:59:10,455 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 697 [2021-10-12 23:59:10,461 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 728 states to 728 states and 968 transitions. [2021-10-12 23:59:10,461 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 728 [2021-10-12 23:59:10,462 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 728 [2021-10-12 23:59:10,462 INFO L73 IsDeterministic]: Start isDeterministic. Operand 728 states and 968 transitions. [2021-10-12 23:59:10,463 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:10,463 INFO L681 BuchiCegarLoop]: Abstraction has 728 states and 968 transitions. [2021-10-12 23:59:10,464 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 728 states and 968 transitions. [2021-10-12 23:59:10,474 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 728 to 677. [2021-10-12 23:59:10,475 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 677 states, 677 states have (on average 1.3353028064992614) internal successors, (904), 676 states have internal predecessors, (904), 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-12 23:59:10,478 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 677 states to 677 states and 904 transitions. [2021-10-12 23:59:10,478 INFO L704 BuchiCegarLoop]: Abstraction has 677 states and 904 transitions. [2021-10-12 23:59:10,478 INFO L587 BuchiCegarLoop]: Abstraction has 677 states and 904 transitions. [2021-10-12 23:59:10,478 INFO L425 BuchiCegarLoop]: ======== Iteration 10============ [2021-10-12 23:59:10,478 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 677 states and 904 transitions. [2021-10-12 23:59:10,482 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 646 [2021-10-12 23:59:10,483 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:10,483 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:10,483 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-12 23:59:10,483 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-12 23:59:10,485 INFO L791 eck$LassoCheckResult]: Stem: 9260#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 9252#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 9178#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 9179#L214 assume !(1 == ~q_req_up~0); 9211#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 9212#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 9265#L234-1 assume !(0 == ~q_read_ev~0); 9250#L267-1 assume !(0 == ~q_write_ev~0); 9176#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 9177#L57 assume !(1 == ~p_dw_pc~0); 9268#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 9269#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 9219#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 9190#L307 assume !(0 != activate_threads_~tmp~1); 9191#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 9220#L76 assume !(1 == ~c_dr_pc~0); 9187#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 9264#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 9238#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 9239#L315 assume !(0 != activate_threads_~tmp___0~1); 9213#L315-2 assume !(1 == ~q_read_ev~0); 9214#L285-1 assume !(1 == ~q_write_ev~0); 9266#L411-1 assume !false; 9317#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 9304#L356 [2021-10-12 23:59:10,491 INFO L793 eck$LassoCheckResult]: Loop: 9304#L356 assume !false; 9316#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 9315#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 9314#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 9313#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 9312#L336 assume 0 != eval_~tmp___1~0; 9311#L336-1 assume 0 == ~p_dw_st~0;eval_~tmp~2 := eval_#t~nondet13;havoc eval_#t~nondet13; 9310#L345 assume !(0 != eval_~tmp~2); 9309#L341 assume !(0 == ~c_dr_st~0); 9304#L356 [2021-10-12 23:59:10,492 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,492 INFO L82 PathProgramCache]: Analyzing trace with hash -1732817812, now seen corresponding path program 1 times [2021-10-12 23:59:10,492 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,492 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1016531517] [2021-10-12 23:59:10,492 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,493 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,506 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,507 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,530 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:10,531 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,531 INFO L82 PathProgramCache]: Analyzing trace with hash -446247985, now seen corresponding path program 1 times [2021-10-12 23:59:10,531 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,531 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1300709623] [2021-10-12 23:59:10,532 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,532 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,536 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,536 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,540 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:10,541 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,541 INFO L82 PathProgramCache]: Analyzing trace with hash 316098500, now seen corresponding path program 1 times [2021-10-12 23:59:10,541 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,541 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1911806765] [2021-10-12 23:59:10,542 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,542 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-12 23:59:10,581 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-12 23:59:10,582 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-12 23:59:10,582 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1911806765] [2021-10-12 23:59:10,582 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1911806765] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-12 23:59:10,582 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-12 23:59:10,582 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-12 23:59:10,583 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1545574642] [2021-10-12 23:59:10,681 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-12 23:59:10,682 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-12 23:59:10,682 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-12 23:59:10,682 INFO L87 Difference]: Start difference. First operand 677 states and 904 transitions. cyclomatic complexity: 231 Second operand has 3 states, 2 states have (on average 16.5) internal successors, (33), 3 states have internal predecessors, (33), 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-12 23:59:10,712 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-12 23:59:10,712 INFO L93 Difference]: Finished difference Result 950 states and 1242 transitions. [2021-10-12 23:59:10,713 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-12 23:59:10,713 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 950 states and 1242 transitions. [2021-10-12 23:59:10,721 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 916 [2021-10-12 23:59:10,743 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 950 states to 950 states and 1242 transitions. [2021-10-12 23:59:10,743 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 950 [2021-10-12 23:59:10,745 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 950 [2021-10-12 23:59:10,745 INFO L73 IsDeterministic]: Start isDeterministic. Operand 950 states and 1242 transitions. [2021-10-12 23:59:10,748 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-12 23:59:10,748 INFO L681 BuchiCegarLoop]: Abstraction has 950 states and 1242 transitions. [2021-10-12 23:59:10,749 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 950 states and 1242 transitions. [2021-10-12 23:59:10,762 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 950 to 950. [2021-10-12 23:59:10,764 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 950 states, 950 states have (on average 1.3073684210526315) internal successors, (1242), 949 states have internal predecessors, (1242), 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-12 23:59:10,767 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 950 states to 950 states and 1242 transitions. [2021-10-12 23:59:10,767 INFO L704 BuchiCegarLoop]: Abstraction has 950 states and 1242 transitions. [2021-10-12 23:59:10,767 INFO L587 BuchiCegarLoop]: Abstraction has 950 states and 1242 transitions. [2021-10-12 23:59:10,767 INFO L425 BuchiCegarLoop]: ======== Iteration 11============ [2021-10-12 23:59:10,768 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 950 states and 1242 transitions. [2021-10-12 23:59:10,773 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 916 [2021-10-12 23:59:10,774 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-12 23:59:10,774 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-12 23:59:10,776 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-12 23:59:10,779 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-12 23:59:10,779 INFO L791 eck$LassoCheckResult]: Stem: 10896#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(19);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~q_buf_0~0 := 0;~q_free~0 := 0;~q_read_ev~0 := 0;~q_write_ev~0 := 0;~q_req_up~0 := 0;~q_ev~0 := 0;~p_num_write~0 := 0;~p_last_write~0 := 0;~p_dw_st~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 0;~c_num_read~0 := 0;~c_last_read~0 := 0;~c_dr_st~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 0;~a_t~0 := 0; 10888#L-1 havoc main_#res;havoc main_~__retres1~3;havoc main_~__retres1~3;~q_free~0 := 1;~q_write_ev~0 := 2;~q_read_ev~0 := ~q_write_ev~0;~p_num_write~0 := 0;~p_dw_pc~0 := 0;~p_dw_i~0 := 1;~c_num_read~0 := 0;~c_dr_pc~0 := 0;~c_dr_i~0 := 1; 10813#L454 havoc start_simulation_#t~ret16, start_simulation_~kernel_st~0, start_simulation_~tmp~4;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~4;start_simulation_~kernel_st~0 := 0; 10814#L214 assume !(1 == ~q_req_up~0); 10846#L214-1 assume 1 == ~p_dw_i~0;~p_dw_st~0 := 0; 10847#L229-1 assume 1 == ~c_dr_i~0;~c_dr_st~0 := 0; 10901#L234-1 assume !(0 == ~q_read_ev~0); 10885#L267-1 assume !(0 == ~q_write_ev~0); 10811#L272-1 havoc activate_threads_#t~ret10, activate_threads_#t~ret11, activate_threads_~tmp~1, activate_threads_~tmp___0~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc is_do_write_p_triggered_#res;havoc is_do_write_p_triggered_~__retres1~0;havoc is_do_write_p_triggered_~__retres1~0; 10812#L57 assume !(1 == ~p_dw_pc~0); 10908#L57-2 is_do_write_p_triggered_~__retres1~0 := 0; 10909#L68 is_do_write_p_triggered_#res := is_do_write_p_triggered_~__retres1~0; 10854#L69 activate_threads_#t~ret10 := is_do_write_p_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret10;havoc activate_threads_#t~ret10; 10827#L307 assume !(0 != activate_threads_~tmp~1); 10828#L307-2 havoc is_do_read_c_triggered_#res;havoc is_do_read_c_triggered_~__retres1~1;havoc is_do_read_c_triggered_~__retres1~1; 10855#L76 assume !(1 == ~c_dr_pc~0); 10824#L76-2 is_do_read_c_triggered_~__retres1~1 := 0; 10900#L87 is_do_read_c_triggered_#res := is_do_read_c_triggered_~__retres1~1; 10873#L88 activate_threads_#t~ret11 := is_do_read_c_triggered_#res;activate_threads_~tmp___0~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 10874#L315 assume !(0 != activate_threads_~tmp___0~1); 10848#L315-2 assume !(1 == ~q_read_ev~0); 10849#L285-1 assume !(1 == ~q_write_ev~0); 10902#L411-1 assume !false; 11488#L412 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret12, eval_#t~nondet13, eval_#t~nondet14, eval_~tmp~2, eval_~tmp___0~2, eval_~tmp___1~0;havoc eval_~tmp~2;havoc eval_~tmp___0~2;havoc eval_~tmp___1~0; 11468#L356 [2021-10-12 23:59:10,780 INFO L793 eck$LassoCheckResult]: Loop: 11468#L356 assume !false; 11483#L332 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 11481#L247 assume 0 == ~p_dw_st~0;exists_runnable_thread_~__retres1~2 := 1; 11478#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 11476#L260 eval_#t~ret12 := exists_runnable_thread_#res;eval_~tmp___1~0 := eval_#t~ret12;havoc eval_#t~ret12; 11474#L336 assume 0 != eval_~tmp___1~0; 11472#L336-1 assume 0 == ~p_dw_st~0;eval_~tmp~2 := eval_#t~nondet13;havoc eval_#t~nondet13; 11470#L345 assume !(0 != eval_~tmp~2); 11469#L341 assume 0 == ~c_dr_st~0;eval_~tmp___0~2 := eval_#t~nondet14;havoc eval_#t~nondet14; 11459#L360 assume !(0 != eval_~tmp___0~2); 11468#L356 [2021-10-12 23:59:10,780 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,780 INFO L82 PathProgramCache]: Analyzing trace with hash -1732817812, now seen corresponding path program 2 times [2021-10-12 23:59:10,780 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,780 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [794619868] [2021-10-12 23:59:10,781 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,781 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,790 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,790 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,799 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,810 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:10,811 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,811 INFO L82 PathProgramCache]: Analyzing trace with hash -948787220, now seen corresponding path program 1 times [2021-10-12 23:59:10,811 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,812 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1884506184] [2021-10-12 23:59:10,812 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,812 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,819 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,822 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,826 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:10,826 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-12 23:59:10,827 INFO L82 PathProgramCache]: Analyzing trace with hash 1209117335, now seen corresponding path program 1 times [2021-10-12 23:59:10,827 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-12 23:59:10,827 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [141385934] [2021-10-12 23:59:10,827 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-12 23:59:10,827 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-12 23:59:10,836 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,836 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-12 23:59:10,845 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-12 23:59:10,852 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-12 23:59:11,995 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 12.10 11:59:11 BoogieIcfgContainer [2021-10-12 23:59:11,996 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-12 23:59:11,996 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-12 23:59:11,996 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-12 23:59:11,997 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-12 23:59:11,997 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 11:59:07" (3/4) ... [2021-10-12 23:59:12,000 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-12 23:59:12,043 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/witness.graphml [2021-10-12 23:59:12,044 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-12 23:59:12,045 INFO L168 Benchmark]: Toolchain (without parser) took 5168.49 ms. Allocated memory was 96.5 MB in the beginning and 163.6 MB in the end (delta: 67.1 MB). Free memory was 55.6 MB in the beginning and 102.5 MB in the end (delta: -46.9 MB). Peak memory consumption was 20.7 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,046 INFO L168 Benchmark]: CDTParser took 0.31 ms. Allocated memory is still 96.5 MB. Free memory is still 72.2 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-12 23:59:12,046 INFO L168 Benchmark]: CACSL2BoogieTranslator took 337.21 ms. Allocated memory is still 96.5 MB. Free memory was 55.4 MB in the beginning and 71.0 MB in the end (delta: -15.6 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,047 INFO L168 Benchmark]: Boogie Procedure Inliner took 45.76 ms. Allocated memory is still 96.5 MB. Free memory was 71.0 MB in the beginning and 68.8 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,047 INFO L168 Benchmark]: Boogie Preprocessor took 33.81 ms. Allocated memory is still 96.5 MB. Free memory was 68.8 MB in the beginning and 67.2 MB in the end (delta: 1.7 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,048 INFO L168 Benchmark]: RCFGBuilder took 586.07 ms. Allocated memory is still 96.5 MB. Free memory was 67.2 MB in the beginning and 51.4 MB in the end (delta: 15.8 MB). Peak memory consumption was 14.7 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,048 INFO L168 Benchmark]: BuchiAutomizer took 4112.46 ms. Allocated memory was 96.5 MB in the beginning and 163.6 MB in the end (delta: 67.1 MB). Free memory was 51.4 MB in the beginning and 105.6 MB in the end (delta: -54.3 MB). Peak memory consumption was 46.2 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,049 INFO L168 Benchmark]: Witness Printer took 47.44 ms. Allocated memory is still 163.6 MB. Free memory was 105.6 MB in the beginning and 102.5 MB in the end (delta: 3.1 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-12 23:59:12,051 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.31 ms. Allocated memory is still 96.5 MB. Free memory is still 72.2 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 337.21 ms. Allocated memory is still 96.5 MB. Free memory was 55.4 MB in the beginning and 71.0 MB in the end (delta: -15.6 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 45.76 ms. Allocated memory is still 96.5 MB. Free memory was 71.0 MB in the beginning and 68.8 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 33.81 ms. Allocated memory is still 96.5 MB. Free memory was 68.8 MB in the beginning and 67.2 MB in the end (delta: 1.7 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 586.07 ms. Allocated memory is still 96.5 MB. Free memory was 67.2 MB in the beginning and 51.4 MB in the end (delta: 15.8 MB). Peak memory consumption was 14.7 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 4112.46 ms. Allocated memory was 96.5 MB in the beginning and 163.6 MB in the end (delta: 67.1 MB). Free memory was 51.4 MB in the beginning and 105.6 MB in the end (delta: -54.3 MB). Peak memory consumption was 46.2 MB. Max. memory is 16.1 GB. * Witness Printer took 47.44 ms. Allocated memory is still 163.6 MB. Free memory was 105.6 MB in the beginning and 102.5 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 10 terminating modules (10 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.10 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 950 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.0s and 11 iterations. TraceHistogramMax:1. Analysis of lassos took 2.6s. Construction of modules took 0.2s. Büchi inclusion checks took 0.3s. Highest rank in rank-based complementation 0. Minimization of det autom 10. Minimization of nondet autom 0. Automata minimization 240.1ms AutomataMinimizationTime, 10 MinimizatonAttempts, 1929 StatesRemovedByMinimization, 6 NontrivialMinimizations. Non-live state removal took 0.2s Buchi closure took 0.0s. Biggest automaton had 950 states and ocurred in iteration 10. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 1299 SDtfs, 1952 SDslu, 1876 SDs, 0 SdLazy, 228 SolverSat, 63 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 274.6ms Time LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc1 concLT0 SILN0 SILU0 SILI6 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 331]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=28966} State at position 1 is {p_last_write=0, c_dr_i=1, c_dr_pc=0, NULL=28968, a_t=0, NULL=0, \result=0, NULL=28966, \result=0, c_num_read=0, tmp=0, c_dr_st=0, kernel_st=1, q_read_ev=2, p_dw_i=1, tmp___1=1, q_req_up=0, tmp___0=0, q_write_ev=2, __retres1=1, NULL=28969, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@726b5ccf=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@13e1d551=0, p_dw_pc=0, NULL=0, NULL=0, NULL=0, q_free=1, NULL=28967, __retres1=0, p_dw_st=0, \result=0, q_ev=0, c_last_read=0, tmp___0=0, NULL=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@184f0d64=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@79112224=0, p_num_write=0, q_buf_0=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2d39ac6e=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1d9e5ee4=0, \result=1} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 331]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L17] int q_buf_0 ; [L18] int q_free ; [L19] int q_read_ev ; [L20] int q_write_ev ; [L21] int q_req_up ; [L22] int q_ev ; [L43] int p_num_write ; [L44] int p_last_write ; [L45] int p_dw_st ; [L46] int p_dw_pc ; [L47] int p_dw_i ; [L48] int c_num_read ; [L49] int c_last_read ; [L50] int c_dr_st ; [L51] int c_dr_pc ; [L52] int c_dr_i ; [L156] static int a_t ; [L458] int __retres1 ; [L444] q_free = 1 [L445] q_write_ev = 2 [L446] q_read_ev = q_write_ev [L447] p_num_write = 0 [L448] p_dw_pc = 0 [L449] p_dw_i = 1 [L450] c_num_read = 0 [L451] c_dr_pc = 0 [L452] c_dr_i = 1 [L398] int kernel_st ; [L399] int tmp ; [L403] kernel_st = 0 [L214] COND FALSE !((int )q_req_up == 1) [L229] COND TRUE (int )p_dw_i == 1 [L230] p_dw_st = 0 [L234] COND TRUE (int )c_dr_i == 1 [L235] c_dr_st = 0 [L267] COND FALSE !((int )q_read_ev == 0) [L272] COND FALSE !((int )q_write_ev == 0) [L300] int tmp ; [L301] int tmp___0 ; [L54] int __retres1 ; [L57] COND FALSE !((int )p_dw_pc == 1) [L67] __retres1 = 0 [L69] return (__retres1); [L305] tmp = is_do_write_p_triggered() [L307] COND FALSE !(\read(tmp)) [L73] int __retres1 ; [L76] COND FALSE !((int )c_dr_pc == 1) [L86] __retres1 = 0 [L88] return (__retres1); [L313] tmp___0 = is_do_read_c_triggered() [L315] COND FALSE !(\read(tmp___0)) [L285] COND FALSE !((int )q_read_ev == 1) [L290] COND FALSE !((int )q_write_ev == 1) [L411] COND TRUE 1 [L414] kernel_st = 1 [L325] int tmp ; [L326] int tmp___0 ; [L327] int tmp___1 ; Loop: [L331] COND TRUE 1 [L244] int __retres1 ; [L247] COND TRUE (int )p_dw_st == 0 [L248] __retres1 = 1 [L260] return (__retres1); [L334] tmp___1 = exists_runnable_thread() [L336] COND TRUE \read(tmp___1) [L341] COND TRUE (int )p_dw_st == 0 [L343] tmp = __VERIFIER_nondet_int() [L345] COND FALSE !(\read(tmp)) [L356] COND TRUE (int )c_dr_st == 0 [L358] tmp___0 = __VERIFIER_nondet_int() [L360] COND FALSE !(\read(tmp___0)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-10-12 23:59:12,112 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_8b56adf0-403a-4331-a478-6a485c5639eb/bin/uautomizer-WNIpwEf4Nt/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...