./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 b2eff8ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/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_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 85d7ea3d2182aa17a738320c0246a5e7547613d1bb6a9595c98b2de6cf449e5f ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.1-dev-b2eff8b [2021-10-28 22:55:01,239 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-28 22:55:01,244 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-28 22:55:01,312 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-28 22:55:01,313 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-28 22:55:01,318 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-28 22:55:01,321 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-28 22:55:01,326 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-28 22:55:01,329 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-28 22:55:01,336 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-28 22:55:01,338 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-28 22:55:01,340 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-28 22:55:01,341 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-28 22:55:01,344 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-28 22:55:01,347 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-28 22:55:01,352 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-28 22:55:01,355 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-28 22:55:01,356 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-28 22:55:01,359 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-28 22:55:01,369 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-28 22:55:01,372 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-28 22:55:01,374 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-28 22:55:01,378 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-28 22:55:01,380 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-28 22:55:01,391 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-28 22:55:01,392 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-28 22:55:01,392 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-28 22:55:01,395 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-28 22:55:01,396 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-28 22:55:01,398 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-28 22:55:01,398 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-28 22:55:01,400 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-28 22:55:01,402 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-28 22:55:01,404 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-28 22:55:01,406 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-28 22:55:01,407 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-28 22:55:01,408 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-28 22:55:01,408 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-28 22:55:01,409 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-28 22:55:01,410 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-28 22:55:01,411 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-28 22:55:01,412 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-28 22:55:01,472 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-28 22:55:01,473 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-28 22:55:01,474 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-28 22:55:01,474 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-28 22:55:01,476 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-28 22:55:01,477 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-28 22:55:01,477 INFO L138 SettingsManager]: * Use SBE=true [2021-10-28 22:55:01,477 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-28 22:55:01,478 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-28 22:55:01,478 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-28 22:55:01,480 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-28 22:55:01,480 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-28 22:55:01,480 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-28 22:55:01,481 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-28 22:55:01,481 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-28 22:55:01,482 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-28 22:55:01,482 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-28 22:55:01,482 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-28 22:55:01,483 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-28 22:55:01,483 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-28 22:55:01,483 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-28 22:55:01,484 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-28 22:55:01,484 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-28 22:55:01,484 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-28 22:55:01,485 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-28 22:55:01,485 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-28 22:55:01,487 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-28 22:55:01,487 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-28 22:55:01,488 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-28 22:55:01,488 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-28 22:55:01,489 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-28 22:55:01,489 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-28 22:55:01,490 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-28 22:55:01,491 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_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 85d7ea3d2182aa17a738320c0246a5e7547613d1bb6a9595c98b2de6cf449e5f [2021-10-28 22:55:01,818 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-28 22:55:01,842 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-28 22:55:01,845 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-28 22:55:01,846 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-28 22:55:01,847 INFO L275 PluginConnector]: CDTParser initialized [2021-10-28 22:55:01,848 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/../../sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c [2021-10-28 22:55:01,959 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/data/d7e8e5779/497fec760fb1470fa099370b37120515/FLAG8eb19683a [2021-10-28 22:55:02,506 INFO L306 CDTParser]: Found 1 translation units. [2021-10-28 22:55:02,508 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c [2021-10-28 22:55:02,520 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/data/d7e8e5779/497fec760fb1470fa099370b37120515/FLAG8eb19683a [2021-10-28 22:55:02,866 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/data/d7e8e5779/497fec760fb1470fa099370b37120515 [2021-10-28 22:55:02,872 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-28 22:55:02,875 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-28 22:55:02,879 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-28 22:55:02,880 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-28 22:55:02,884 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-28 22:55:02,885 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 10:55:02" (1/1) ... [2021-10-28 22:55:02,886 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@188746d5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:02, skipping insertion in model container [2021-10-28 22:55:02,886 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 10:55:02" (1/1) ... [2021-10-28 22:55:02,895 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-28 22:55:02,952 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-28 22:55:03,202 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_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c[338,351] [2021-10-28 22:55:03,270 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 22:55:03,289 INFO L203 MainTranslator]: Completed pre-run [2021-10-28 22:55:03,309 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_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/sv-benchmarks/c/systemc/pc_sfifo_2.cil-1.c[338,351] [2021-10-28 22:55:03,353 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 22:55:03,371 INFO L208 MainTranslator]: Completed translation [2021-10-28 22:55:03,371 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03 WrapperNode [2021-10-28 22:55:03,372 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-28 22:55:03,373 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-28 22:55:03,373 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-28 22:55:03,374 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-28 22:55:03,382 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,392 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,426 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-28 22:55:03,427 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-28 22:55:03,427 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-28 22:55:03,427 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-28 22:55:03,436 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,437 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,441 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,441 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,449 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,457 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,459 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,464 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-28 22:55:03,465 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-28 22:55:03,465 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-28 22:55:03,466 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-28 22:55:03,469 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (1/1) ... [2021-10-28 22:55:03,488 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-28 22:55:03,502 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/z3 [2021-10-28 22:55:03,514 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-28 22:55:03,518 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-28 22:55:03,570 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-28 22:55:03,570 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-28 22:55:03,570 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-28 22:55:03,571 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-28 22:55:04,153 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-28 22:55:04,154 INFO L299 CfgBuilder]: Removed 58 assume(true) statements. [2021-10-28 22:55:04,156 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 10:55:04 BoogieIcfgContainer [2021-10-28 22:55:04,156 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-28 22:55:04,157 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-28 22:55:04,158 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-28 22:55:04,161 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-28 22:55:04,162 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 22:55:04,163 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.10 10:55:02" (1/3) ... [2021-10-28 22:55:04,164 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@38f0d7bc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 10:55:04, skipping insertion in model container [2021-10-28 22:55:04,164 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 22:55:04,164 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 10:55:03" (2/3) ... [2021-10-28 22:55:04,165 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@38f0d7bc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 10:55:04, skipping insertion in model container [2021-10-28 22:55:04,165 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 22:55:04,165 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 10:55:04" (3/3) ... [2021-10-28 22:55:04,167 INFO L389 chiAutomizerObserver]: Analyzing ICFG pc_sfifo_2.cil-1.c [2021-10-28 22:55:04,218 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-28 22:55:04,219 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-28 22:55:04,219 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-28 22:55:04,219 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-28 22:55:04,219 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-28 22:55:04,219 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-28 22:55:04,220 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-28 22:55:04,220 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-28 22:55:04,241 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-28 22:55:04,270 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 61 [2021-10-28 22:55:04,271 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:04,271 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:04,283 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-28 22:55:04,283 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-28 22:55:04,283 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-28 22:55:04,286 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-28 22:55:04,306 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 61 [2021-10-28 22:55:04,306 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:04,306 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:04,308 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-28 22:55:04,308 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-28 22:55:04,321 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-28 22:55:04,323 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-28 22:55:04,332 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:04,333 INFO L85 PathProgramCache]: Analyzing trace with hash 1146955365, now seen corresponding path program 1 times [2021-10-28 22:55:04,345 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:04,346 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1893698370] [2021-10-28 22:55:04,346 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:04,347 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:04,549 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:04,658 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:04,658 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:04,659 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1893698370] [2021-10-28 22:55:04,660 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1893698370] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:04,660 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:04,660 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:04,662 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [862807134] [2021-10-28 22:55:04,668 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 22:55:04,669 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:04,670 INFO L85 PathProgramCache]: Analyzing trace with hash -518202494, now seen corresponding path program 1 times [2021-10-28 22:55:04,670 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:04,670 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [959292133] [2021-10-28 22:55:04,671 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:04,671 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:04,680 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:04,692 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:04,692 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:04,692 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [959292133] [2021-10-28 22:55:04,693 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [959292133] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:04,693 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:04,693 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-28 22:55:04,694 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1812024605] [2021-10-28 22:55:04,696 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:04,697 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:04,714 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 22:55:04,715 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 22:55:04,718 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-28 22:55:04,755 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:04,755 INFO L93 Difference]: Finished difference Result 92 states and 135 transitions. [2021-10-28 22:55:04,756 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 22:55:04,758 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 92 states and 135 transitions. [2021-10-28 22:55:04,763 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-28 22:55:04,769 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 92 states to 86 states and 129 transitions. [2021-10-28 22:55:04,770 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 86 [2021-10-28 22:55:04,771 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 86 [2021-10-28 22:55:04,772 INFO L73 IsDeterministic]: Start isDeterministic. Operand 86 states and 129 transitions. [2021-10-28 22:55:04,773 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:04,773 INFO L681 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2021-10-28 22:55:04,793 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 86 states and 129 transitions. [2021-10-28 22:55:04,809 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 86 to 86. [2021-10-28 22:55:04,810 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-28 22:55:04,812 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 86 states to 86 states and 129 transitions. [2021-10-28 22:55:04,813 INFO L704 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2021-10-28 22:55:04,813 INFO L587 BuchiCegarLoop]: Abstraction has 86 states and 129 transitions. [2021-10-28 22:55:04,813 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-28 22:55:04,814 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 86 states and 129 transitions. [2021-10-28 22:55:04,816 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-28 22:55:04,817 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:04,817 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:04,818 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-28 22:55:04,819 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-28 22:55:04,819 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-28 22:55:04,819 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-28 22:55:04,820 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:04,820 INFO L85 PathProgramCache]: Analyzing trace with hash -1153867225, now seen corresponding path program 1 times [2021-10-28 22:55:04,821 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:04,821 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1609634576] [2021-10-28 22:55:04,821 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:04,822 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:04,842 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:04,886 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:04,886 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:04,886 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1609634576] [2021-10-28 22:55:04,887 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1609634576] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:04,887 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:04,887 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:04,888 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1984974120] [2021-10-28 22:55:04,888 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 22:55:04,889 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:04,889 INFO L85 PathProgramCache]: Analyzing trace with hash -1782372499, now seen corresponding path program 1 times [2021-10-28 22:55:04,889 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:04,890 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [923775358] [2021-10-28 22:55:04,890 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:04,890 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:04,924 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:04,994 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:04,994 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:04,998 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [923775358] [2021-10-28 22:55:04,999 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [923775358] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:04,999 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:04,999 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:05,000 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1204487384] [2021-10-28 22:55:05,001 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:05,001 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:05,002 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 22:55:05,002 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 22:55:05,003 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-28 22:55:05,025 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:05,025 INFO L93 Difference]: Finished difference Result 86 states and 128 transitions. [2021-10-28 22:55:05,026 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 22:55:05,026 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 86 states and 128 transitions. [2021-10-28 22:55:05,029 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-28 22:55:05,031 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 86 states to 86 states and 128 transitions. [2021-10-28 22:55:05,031 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 86 [2021-10-28 22:55:05,032 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 86 [2021-10-28 22:55:05,032 INFO L73 IsDeterministic]: Start isDeterministic. Operand 86 states and 128 transitions. [2021-10-28 22:55:05,033 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:05,033 INFO L681 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2021-10-28 22:55:05,033 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 86 states and 128 transitions. [2021-10-28 22:55:05,039 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 86 to 86. [2021-10-28 22:55:05,040 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-28 22:55:05,041 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 86 states to 86 states and 128 transitions. [2021-10-28 22:55:05,041 INFO L704 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2021-10-28 22:55:05,042 INFO L587 BuchiCegarLoop]: Abstraction has 86 states and 128 transitions. [2021-10-28 22:55:05,042 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-28 22:55:05,042 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 86 states and 128 transitions. [2021-10-28 22:55:05,044 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 59 [2021-10-28 22:55:05,044 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:05,044 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:05,046 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-28 22:55:05,046 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-28 22:55:05,046 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-28 22:55:05,046 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-28 22:55:05,047 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:05,047 INFO L85 PathProgramCache]: Analyzing trace with hash 434480677, now seen corresponding path program 1 times [2021-10-28 22:55:05,048 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:05,048 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1482909038] [2021-10-28 22:55:05,052 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:05,053 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:05,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:05,152 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:05,152 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:05,153 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1482909038] [2021-10-28 22:55:05,153 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1482909038] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:05,154 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:05,154 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-28 22:55:05,154 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1362061151] [2021-10-28 22:55:05,155 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 22:55:05,156 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:05,156 INFO L85 PathProgramCache]: Analyzing trace with hash -1782372499, now seen corresponding path program 2 times [2021-10-28 22:55:05,156 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:05,157 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [534223319] [2021-10-28 22:55:05,157 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:05,157 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:05,171 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:05,234 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:05,235 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:05,236 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [534223319] [2021-10-28 22:55:05,236 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [534223319] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:05,237 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:05,237 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:05,238 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1012231700] [2021-10-28 22:55:05,240 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:05,241 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:05,242 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-28 22:55:05,242 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-28 22:55:05,242 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-28 22:55:05,420 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:05,420 INFO L93 Difference]: Finished difference Result 177 states and 258 transitions. [2021-10-28 22:55:05,421 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-28 22:55:05,421 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 177 states and 258 transitions. [2021-10-28 22:55:05,426 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 123 [2021-10-28 22:55:05,431 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 177 states to 177 states and 258 transitions. [2021-10-28 22:55:05,431 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 177 [2021-10-28 22:55:05,433 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 177 [2021-10-28 22:55:05,434 INFO L73 IsDeterministic]: Start isDeterministic. Operand 177 states and 258 transitions. [2021-10-28 22:55:05,441 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:05,442 INFO L681 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2021-10-28 22:55:05,443 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 177 states and 258 transitions. [2021-10-28 22:55:05,468 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 177 to 177. [2021-10-28 22:55:05,469 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-28 22:55:05,472 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 258 transitions. [2021-10-28 22:55:05,472 INFO L704 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2021-10-28 22:55:05,472 INFO L587 BuchiCegarLoop]: Abstraction has 177 states and 258 transitions. [2021-10-28 22:55:05,477 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-28 22:55:05,477 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 258 transitions. [2021-10-28 22:55:05,480 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 123 [2021-10-28 22:55:05,481 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:05,481 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:05,486 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-28 22:55:05,486 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-28 22:55:05,487 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-28 22:55:05,487 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-28 22:55:05,489 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:05,489 INFO L85 PathProgramCache]: Analyzing trace with hash -845383063, now seen corresponding path program 1 times [2021-10-28 22:55:05,490 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:05,491 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1785239388] [2021-10-28 22:55:05,491 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:05,492 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:05,523 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:05,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-28 22:55:05,590 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:05,590 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1785239388] [2021-10-28 22:55:05,590 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1785239388] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:05,590 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:05,591 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-28 22:55:05,591 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [458464214] [2021-10-28 22:55:05,592 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 22:55:05,592 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:05,593 INFO L85 PathProgramCache]: Analyzing trace with hash -1336756175, now seen corresponding path program 1 times [2021-10-28 22:55:05,593 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:05,595 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1953140670] [2021-10-28 22:55:05,595 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:05,595 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:05,614 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:05,646 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:05,650 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:05,655 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1953140670] [2021-10-28 22:55:05,655 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1953140670] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:05,655 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:05,655 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:05,656 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [190130634] [2021-10-28 22:55:05,657 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:05,657 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:05,658 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 22:55:05,660 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 22:55:05,660 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-28 22:55:05,810 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:05,810 INFO L93 Difference]: Finished difference Result 582 states and 830 transitions. [2021-10-28 22:55:05,811 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-28 22:55:05,812 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 582 states and 830 transitions. [2021-10-28 22:55:05,821 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 552 [2021-10-28 22:55:05,828 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 582 states to 582 states and 830 transitions. [2021-10-28 22:55:05,828 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 582 [2021-10-28 22:55:05,829 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 582 [2021-10-28 22:55:05,829 INFO L73 IsDeterministic]: Start isDeterministic. Operand 582 states and 830 transitions. [2021-10-28 22:55:05,832 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:05,832 INFO L681 BuchiCegarLoop]: Abstraction has 582 states and 830 transitions. [2021-10-28 22:55:05,833 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 582 states and 830 transitions. [2021-10-28 22:55:05,867 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 582 to 554. [2021-10-28 22:55:05,869 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-28 22:55:05,882 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 554 states to 554 states and 798 transitions. [2021-10-28 22:55:05,882 INFO L704 BuchiCegarLoop]: Abstraction has 554 states and 798 transitions. [2021-10-28 22:55:05,882 INFO L587 BuchiCegarLoop]: Abstraction has 554 states and 798 transitions. [2021-10-28 22:55:05,882 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-10-28 22:55:05,882 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 554 states and 798 transitions. [2021-10-28 22:55:05,888 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 528 [2021-10-28 22:55:05,888 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:05,888 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:05,893 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-28 22:55:05,893 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-28 22:55:05,893 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-28 22:55:05,894 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-28 22:55:05,894 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:05,895 INFO L85 PathProgramCache]: Analyzing trace with hash -2124707798, now seen corresponding path program 1 times [2021-10-28 22:55:05,895 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:05,895 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [16368439] [2021-10-28 22:55:05,896 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:05,896 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:05,920 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:05,971 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:05,971 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:05,971 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [16368439] [2021-10-28 22:55:05,971 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [16368439] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:05,972 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:05,972 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 22:55:05,972 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [39022677] [2021-10-28 22:55:05,972 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 22:55:05,973 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:05,973 INFO L85 PathProgramCache]: Analyzing trace with hash -266332496, now seen corresponding path program 1 times [2021-10-28 22:55:05,973 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:05,973 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [984148886] [2021-10-28 22:55:05,974 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:05,974 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:05,989 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:06,027 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:06,027 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:06,028 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [984148886] [2021-10-28 22:55:06,028 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [984148886] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:06,028 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:06,028 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:06,028 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1427479888] [2021-10-28 22:55:06,029 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:06,029 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:06,029 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 22:55:06,030 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 22:55:06,030 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-28 22:55:06,096 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:06,096 INFO L93 Difference]: Finished difference Result 1469 states and 2115 transitions. [2021-10-28 22:55:06,097 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-28 22:55:06,097 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1469 states and 2115 transitions. [2021-10-28 22:55:06,117 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1430 [2021-10-28 22:55:06,136 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1469 states to 1469 states and 2115 transitions. [2021-10-28 22:55:06,136 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1469 [2021-10-28 22:55:06,141 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1469 [2021-10-28 22:55:06,141 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1469 states and 2115 transitions. [2021-10-28 22:55:06,144 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:06,144 INFO L681 BuchiCegarLoop]: Abstraction has 1469 states and 2115 transitions. [2021-10-28 22:55:06,146 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1469 states and 2115 transitions. [2021-10-28 22:55:06,165 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1469 to 587. [2021-10-28 22:55:06,167 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-28 22:55:06,170 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 587 states to 587 states and 831 transitions. [2021-10-28 22:55:06,170 INFO L704 BuchiCegarLoop]: Abstraction has 587 states and 831 transitions. [2021-10-28 22:55:06,170 INFO L587 BuchiCegarLoop]: Abstraction has 587 states and 831 transitions. [2021-10-28 22:55:06,170 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-10-28 22:55:06,171 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 587 states and 831 transitions. [2021-10-28 22:55:06,176 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 558 [2021-10-28 22:55:06,176 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:06,177 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:06,177 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-28 22:55:06,178 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-28 22:55:06,180 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-28 22:55:06,180 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-28 22:55:06,180 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,181 INFO L85 PathProgramCache]: Analyzing trace with hash -2124705876, now seen corresponding path program 1 times [2021-10-28 22:55:06,181 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,182 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1189033396] [2021-10-28 22:55:06,182 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,182 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,200 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:06,231 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:06,232 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:06,232 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1189033396] [2021-10-28 22:55:06,232 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1189033396] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:06,232 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:06,232 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:06,233 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1496967123] [2021-10-28 22:55:06,233 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-28 22:55:06,234 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,234 INFO L85 PathProgramCache]: Analyzing trace with hash -635691597, now seen corresponding path program 1 times [2021-10-28 22:55:06,234 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,234 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2104587132] [2021-10-28 22:55:06,235 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,235 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,246 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:06,280 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:06,281 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:06,284 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2104587132] [2021-10-28 22:55:06,285 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2104587132] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:06,285 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:06,285 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:06,285 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1048494021] [2021-10-28 22:55:06,286 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:06,286 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:06,286 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 22:55:06,287 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 22:55:06,287 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-28 22:55:06,323 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:06,323 INFO L93 Difference]: Finished difference Result 821 states and 1146 transitions. [2021-10-28 22:55:06,324 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 22:55:06,324 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 821 states and 1146 transitions. [2021-10-28 22:55:06,334 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 793 [2021-10-28 22:55:06,344 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 821 states to 821 states and 1146 transitions. [2021-10-28 22:55:06,344 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 821 [2021-10-28 22:55:06,345 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 821 [2021-10-28 22:55:06,346 INFO L73 IsDeterministic]: Start isDeterministic. Operand 821 states and 1146 transitions. [2021-10-28 22:55:06,347 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:06,347 INFO L681 BuchiCegarLoop]: Abstraction has 821 states and 1146 transitions. [2021-10-28 22:55:06,348 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 821 states and 1146 transitions. [2021-10-28 22:55:06,358 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 821 to 546. [2021-10-28 22:55:06,360 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-28 22:55:06,366 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 546 states to 546 states and 765 transitions. [2021-10-28 22:55:06,367 INFO L704 BuchiCegarLoop]: Abstraction has 546 states and 765 transitions. [2021-10-28 22:55:06,367 INFO L587 BuchiCegarLoop]: Abstraction has 546 states and 765 transitions. [2021-10-28 22:55:06,367 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-10-28 22:55:06,367 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 546 states and 765 transitions. [2021-10-28 22:55:06,372 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 519 [2021-10-28 22:55:06,372 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:06,372 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:06,374 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-28 22:55:06,374 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-28 22:55:06,374 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-28 22:55:06,376 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-28 22:55:06,376 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,376 INFO L85 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 1 times [2021-10-28 22:55:06,377 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,377 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [944961072] [2021-10-28 22:55:06,377 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,377 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:06,396 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:06,407 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:06,449 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:06,450 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,450 INFO L85 PathProgramCache]: Analyzing trace with hash -400346002, now seen corresponding path program 1 times [2021-10-28 22:55:06,450 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,450 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [746361758] [2021-10-28 22:55:06,450 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,451 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,464 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:06,502 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:06,502 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:06,503 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [746361758] [2021-10-28 22:55:06,503 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [746361758] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:06,503 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:06,503 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 22:55:06,503 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [311857730] [2021-10-28 22:55:06,504 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:06,504 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:06,504 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 22:55:06,504 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 22:55:06,505 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-28 22:55:06,602 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:06,602 INFO L93 Difference]: Finished difference Result 850 states and 1175 transitions. [2021-10-28 22:55:06,603 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-28 22:55:06,603 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 850 states and 1175 transitions. [2021-10-28 22:55:06,612 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 822 [2021-10-28 22:55:06,621 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 850 states to 850 states and 1175 transitions. [2021-10-28 22:55:06,621 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 850 [2021-10-28 22:55:06,623 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 850 [2021-10-28 22:55:06,623 INFO L73 IsDeterministic]: Start isDeterministic. Operand 850 states and 1175 transitions. [2021-10-28 22:55:06,625 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:06,625 INFO L681 BuchiCegarLoop]: Abstraction has 850 states and 1175 transitions. [2021-10-28 22:55:06,626 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 850 states and 1175 transitions. [2021-10-28 22:55:06,636 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 850 to 573. [2021-10-28 22:55:06,638 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-28 22:55:06,641 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 573 states to 573 states and 792 transitions. [2021-10-28 22:55:06,641 INFO L704 BuchiCegarLoop]: Abstraction has 573 states and 792 transitions. [2021-10-28 22:55:06,641 INFO L587 BuchiCegarLoop]: Abstraction has 573 states and 792 transitions. [2021-10-28 22:55:06,642 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-10-28 22:55:06,642 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 573 states and 792 transitions. [2021-10-28 22:55:06,646 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 546 [2021-10-28 22:55:06,646 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:06,646 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:06,647 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-28 22:55:06,647 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 22:55:06,648 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-28 22:55:06,648 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-28 22:55:06,648 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,649 INFO L85 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 2 times [2021-10-28 22:55:06,649 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,649 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [187739352] [2021-10-28 22:55:06,649 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,650 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,659 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:06,659 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:06,666 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:06,674 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:06,675 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,675 INFO L85 PathProgramCache]: Analyzing trace with hash 805032405, now seen corresponding path program 1 times [2021-10-28 22:55:06,676 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,676 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1602879267] [2021-10-28 22:55:06,676 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,676 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,684 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:06,764 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:06,764 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:06,764 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1602879267] [2021-10-28 22:55:06,764 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1602879267] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:06,765 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:06,765 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 22:55:06,767 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1814969924] [2021-10-28 22:55:06,769 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:06,769 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:06,770 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 22:55:06,770 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 22:55:06,770 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-28 22:55:06,846 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:06,847 INFO L93 Difference]: Finished difference Result 995 states and 1384 transitions. [2021-10-28 22:55:06,847 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-28 22:55:06,847 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 995 states and 1384 transitions. [2021-10-28 22:55:06,857 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 968 [2021-10-28 22:55:06,867 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 995 states to 995 states and 1384 transitions. [2021-10-28 22:55:06,868 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 995 [2021-10-28 22:55:06,869 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 995 [2021-10-28 22:55:06,869 INFO L73 IsDeterministic]: Start isDeterministic. Operand 995 states and 1384 transitions. [2021-10-28 22:55:06,871 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:06,871 INFO L681 BuchiCegarLoop]: Abstraction has 995 states and 1384 transitions. [2021-10-28 22:55:06,872 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 995 states and 1384 transitions. [2021-10-28 22:55:06,884 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 995 to 579. [2021-10-28 22:55:06,886 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-28 22:55:06,889 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 579 states to 579 states and 790 transitions. [2021-10-28 22:55:06,889 INFO L704 BuchiCegarLoop]: Abstraction has 579 states and 790 transitions. [2021-10-28 22:55:06,889 INFO L587 BuchiCegarLoop]: Abstraction has 579 states and 790 transitions. [2021-10-28 22:55:06,889 INFO L425 BuchiCegarLoop]: ======== Iteration 9============ [2021-10-28 22:55:06,889 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 579 states and 790 transitions. [2021-10-28 22:55:06,893 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 552 [2021-10-28 22:55:06,894 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:06,894 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:06,894 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-28 22:55:06,894 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 22:55:06,895 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-28 22:55:06,895 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-28 22:55:06,895 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,895 INFO L85 PathProgramCache]: Analyzing trace with hash -2124705814, now seen corresponding path program 3 times [2021-10-28 22:55:06,896 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,896 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1847483917] [2021-10-28 22:55:06,896 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,896 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,915 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:06,915 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:06,926 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:06,944 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:06,945 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:06,945 INFO L85 PathProgramCache]: Analyzing trace with hash -783315497, now seen corresponding path program 1 times [2021-10-28 22:55:06,945 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:06,946 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [547225692] [2021-10-28 22:55:06,946 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:06,946 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:06,951 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:06,971 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:06,971 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:06,972 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [547225692] [2021-10-28 22:55:06,972 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [547225692] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:06,972 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:06,974 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-28 22:55:06,975 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2005046956] [2021-10-28 22:55:06,975 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 22:55:06,978 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:06,979 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 22:55:06,979 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 22:55:06,979 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-28 22:55:07,007 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:07,007 INFO L93 Difference]: Finished difference Result 728 states and 968 transitions. [2021-10-28 22:55:07,008 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 22:55:07,008 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 728 states and 968 transitions. [2021-10-28 22:55:07,015 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 697 [2021-10-28 22:55:07,022 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 728 states to 728 states and 968 transitions. [2021-10-28 22:55:07,023 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 728 [2021-10-28 22:55:07,024 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 728 [2021-10-28 22:55:07,024 INFO L73 IsDeterministic]: Start isDeterministic. Operand 728 states and 968 transitions. [2021-10-28 22:55:07,025 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:07,025 INFO L681 BuchiCegarLoop]: Abstraction has 728 states and 968 transitions. [2021-10-28 22:55:07,026 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 728 states and 968 transitions. [2021-10-28 22:55:07,037 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 728 to 677. [2021-10-28 22:55:07,039 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-28 22:55:07,042 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 677 states to 677 states and 904 transitions. [2021-10-28 22:55:07,042 INFO L704 BuchiCegarLoop]: Abstraction has 677 states and 904 transitions. [2021-10-28 22:55:07,042 INFO L587 BuchiCegarLoop]: Abstraction has 677 states and 904 transitions. [2021-10-28 22:55:07,043 INFO L425 BuchiCegarLoop]: ======== Iteration 10============ [2021-10-28 22:55:07,043 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 677 states and 904 transitions. [2021-10-28 22:55:07,047 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 646 [2021-10-28 22:55:07,047 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:07,048 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:07,048 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 22:55:07,048 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 22:55:07,048 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-28 22:55:07,049 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-28 22:55:07,049 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:07,049 INFO L85 PathProgramCache]: Analyzing trace with hash -1732817812, now seen corresponding path program 1 times [2021-10-28 22:55:07,049 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:07,049 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2022236671] [2021-10-28 22:55:07,050 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:07,050 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:07,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,058 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:07,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,073 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:07,073 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:07,073 INFO L85 PathProgramCache]: Analyzing trace with hash -446247985, now seen corresponding path program 1 times [2021-10-28 22:55:07,073 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:07,074 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [195009760] [2021-10-28 22:55:07,074 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:07,074 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:07,077 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,078 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:07,080 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,082 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:07,083 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:07,083 INFO L85 PathProgramCache]: Analyzing trace with hash 316098500, now seen corresponding path program 1 times [2021-10-28 22:55:07,083 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:07,083 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [106191307] [2021-10-28 22:55:07,084 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:07,084 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:07,091 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 22:55:07,109 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-28 22:55:07,109 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 22:55:07,110 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [106191307] [2021-10-28 22:55:07,110 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [106191307] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 22:55:07,110 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 22:55:07,110 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-28 22:55:07,110 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1260983501] [2021-10-28 22:55:07,182 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 22:55:07,183 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-28 22:55:07,183 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-28 22:55:07,183 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-28 22:55:07,212 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 22:55:07,212 INFO L93 Difference]: Finished difference Result 950 states and 1242 transitions. [2021-10-28 22:55:07,212 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-28 22:55:07,212 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 950 states and 1242 transitions. [2021-10-28 22:55:07,221 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 916 [2021-10-28 22:55:07,230 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 950 states to 950 states and 1242 transitions. [2021-10-28 22:55:07,230 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 950 [2021-10-28 22:55:07,232 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 950 [2021-10-28 22:55:07,232 INFO L73 IsDeterministic]: Start isDeterministic. Operand 950 states and 1242 transitions. [2021-10-28 22:55:07,233 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 22:55:07,234 INFO L681 BuchiCegarLoop]: Abstraction has 950 states and 1242 transitions. [2021-10-28 22:55:07,235 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 950 states and 1242 transitions. [2021-10-28 22:55:07,249 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 950 to 950. [2021-10-28 22:55:07,252 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-28 22:55:07,256 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 950 states to 950 states and 1242 transitions. [2021-10-28 22:55:07,283 INFO L704 BuchiCegarLoop]: Abstraction has 950 states and 1242 transitions. [2021-10-28 22:55:07,283 INFO L587 BuchiCegarLoop]: Abstraction has 950 states and 1242 transitions. [2021-10-28 22:55:07,283 INFO L425 BuchiCegarLoop]: ======== Iteration 11============ [2021-10-28 22:55:07,283 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 950 states and 1242 transitions. [2021-10-28 22:55:07,288 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 916 [2021-10-28 22:55:07,288 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 22:55:07,288 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 22:55:07,289 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 22:55:07,289 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 22:55:07,289 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-28 22:55:07,289 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-28 22:55:07,290 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:07,290 INFO L85 PathProgramCache]: Analyzing trace with hash -1732817812, now seen corresponding path program 2 times [2021-10-28 22:55:07,290 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:07,290 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1002173448] [2021-10-28 22:55:07,290 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:07,290 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:07,297 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,297 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:07,304 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,311 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:07,312 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:07,312 INFO L85 PathProgramCache]: Analyzing trace with hash -948787220, now seen corresponding path program 1 times [2021-10-28 22:55:07,312 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:07,312 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1369642293] [2021-10-28 22:55:07,313 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:07,313 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:07,316 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,316 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:07,319 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,321 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:07,322 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 22:55:07,322 INFO L85 PathProgramCache]: Analyzing trace with hash 1209117335, now seen corresponding path program 1 times [2021-10-28 22:55:07,322 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 22:55:07,322 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1639438975] [2021-10-28 22:55:07,322 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 22:55:07,323 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 22:55:07,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,331 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 22:55:07,338 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 22:55:07,346 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 22:55:08,717 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.10 10:55:08 BoogieIcfgContainer [2021-10-28 22:55:08,717 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-28 22:55:08,718 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-28 22:55:08,718 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-28 22:55:08,718 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-28 22:55:08,718 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 10:55:04" (3/4) ... [2021-10-28 22:55:08,721 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-28 22:55:08,770 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/witness.graphml [2021-10-28 22:55:08,770 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-28 22:55:08,771 INFO L168 Benchmark]: Toolchain (without parser) took 5895.83 ms. Allocated memory was 104.9 MB in the beginning and 178.3 MB in the end (delta: 73.4 MB). Free memory was 72.0 MB in the beginning and 135.7 MB in the end (delta: -63.7 MB). Peak memory consumption was 8.2 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,772 INFO L168 Benchmark]: CDTParser took 0.30 ms. Allocated memory is still 104.9 MB. Free memory is still 59.8 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-28 22:55:08,772 INFO L168 Benchmark]: CACSL2BoogieTranslator took 492.74 ms. Allocated memory is still 104.9 MB. Free memory was 71.7 MB in the beginning and 78.6 MB in the end (delta: -6.8 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,773 INFO L168 Benchmark]: Boogie Procedure Inliner took 53.05 ms. Allocated memory is still 104.9 MB. Free memory was 78.6 MB in the beginning and 76.4 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,773 INFO L168 Benchmark]: Boogie Preprocessor took 37.37 ms. Allocated memory is still 104.9 MB. Free memory was 76.4 MB in the beginning and 74.8 MB in the end (delta: 1.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,774 INFO L168 Benchmark]: RCFGBuilder took 691.25 ms. Allocated memory is still 104.9 MB. Free memory was 74.8 MB in the beginning and 59.3 MB in the end (delta: 15.5 MB). Peak memory consumption was 14.7 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,774 INFO L168 Benchmark]: BuchiAutomizer took 4559.68 ms. Allocated memory was 104.9 MB in the beginning and 178.3 MB in the end (delta: 73.4 MB). Free memory was 59.3 MB in the beginning and 138.7 MB in the end (delta: -79.4 MB). Peak memory consumption was 63.6 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,775 INFO L168 Benchmark]: Witness Printer took 52.34 ms. Allocated memory is still 178.3 MB. Free memory was 138.7 MB in the beginning and 135.7 MB in the end (delta: 3.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 22:55:08,777 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.30 ms. Allocated memory is still 104.9 MB. Free memory is still 59.8 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 492.74 ms. Allocated memory is still 104.9 MB. Free memory was 71.7 MB in the beginning and 78.6 MB in the end (delta: -6.8 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 53.05 ms. Allocated memory is still 104.9 MB. Free memory was 78.6 MB in the beginning and 76.4 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 37.37 ms. Allocated memory is still 104.9 MB. Free memory was 76.4 MB in the beginning and 74.8 MB in the end (delta: 1.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 691.25 ms. Allocated memory is still 104.9 MB. Free memory was 74.8 MB in the beginning and 59.3 MB in the end (delta: 15.5 MB). Peak memory consumption was 14.7 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 4559.68 ms. Allocated memory was 104.9 MB in the beginning and 178.3 MB in the end (delta: 73.4 MB). Free memory was 59.3 MB in the beginning and 138.7 MB in the end (delta: -79.4 MB). Peak memory consumption was 63.6 MB. Max. memory is 16.1 GB. * Witness Printer took 52.34 ms. Allocated memory is still 178.3 MB. Free memory was 138.7 MB in the beginning and 135.7 MB in the end (delta: 3.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 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.4s and 11 iterations. TraceHistogramMax:1. Analysis of lassos took 3.0s. Construction of modules took 0.3s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 0. Minimization of det autom 10. Minimization of nondet autom 0. Automata minimization 0.2s AutomataMinimizationTime, 10 MinimizatonAttempts, 1929 StatesRemovedByMinimization, 6 NontrivialMinimizations. Non-live state removal took 0.1s 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, 0.3s 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@3c4aea92=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@729fa5f9=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@3d7bd215=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2e81fcd8=0, p_num_write=0, q_buf_0=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@63583170=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2a202bce=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-28 22:55:08,846 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16fae1b8-58e4-425a-a7c0-dea3bc084d3d/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...