./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/token_ring.02.cil-1.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 20ed64ec Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/systemc/token_ring.02.cil-1.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4b4145914802a18ceef375a77d9a4f2f13e6c70b .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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-20ed64e [2021-08-27 16:30:26,442 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-27 16:30:26,443 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-27 16:30:26,463 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-27 16:30:26,463 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-27 16:30:26,464 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-27 16:30:26,465 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-27 16:30:26,467 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-27 16:30:26,468 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-27 16:30:26,468 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-27 16:30:26,469 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-27 16:30:26,470 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-27 16:30:26,470 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-27 16:30:26,471 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-27 16:30:26,472 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-27 16:30:26,472 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-27 16:30:26,473 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-27 16:30:26,474 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-27 16:30:26,475 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-27 16:30:26,476 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-27 16:30:26,477 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-27 16:30:26,478 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-27 16:30:26,478 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-27 16:30:26,479 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-27 16:30:26,481 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-27 16:30:26,481 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-27 16:30:26,481 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-27 16:30:26,486 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-27 16:30:26,487 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-27 16:30:26,487 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-27 16:30:26,488 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-27 16:30:26,488 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-27 16:30:26,489 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-27 16:30:26,489 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-27 16:30:26,490 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-27 16:30:26,490 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-27 16:30:26,491 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-27 16:30:26,491 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-27 16:30:26,491 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-27 16:30:26,492 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-27 16:30:26,492 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-27 16:30:26,498 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-08-27 16:30:26,517 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-27 16:30:26,517 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-27 16:30:26,517 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-27 16:30:26,518 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-27 16:30:26,519 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-27 16:30:26,519 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-27 16:30:26,519 INFO L138 SettingsManager]: * Use SBE=true [2021-08-27 16:30:26,519 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-08-27 16:30:26,519 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-08-27 16:30:26,519 INFO L138 SettingsManager]: * Use old map elimination=false [2021-08-27 16:30:26,520 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-08-27 16:30:26,520 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-08-27 16:30:26,520 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-08-27 16:30:26,520 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-27 16:30:26,520 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-27 16:30:26,520 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-08-27 16:30:26,521 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-27 16:30:26,522 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-08-27 16:30:26,522 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-08-27 16:30:26,522 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-27 16:30:26,522 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-08-27 16:30:26,522 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-27 16:30:26,522 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-27 16:30:26,523 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-27 16:30:26,523 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-27 16:30:26,523 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-27 16:30:26,523 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-08-27 16:30:26,524 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 4b4145914802a18ceef375a77d9a4f2f13e6c70b [2021-08-27 16:30:26,768 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-27 16:30:26,782 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-27 16:30:26,783 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-27 16:30:26,784 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-27 16:30:26,785 INFO L275 PluginConnector]: CDTParser initialized [2021-08-27 16:30:26,785 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/token_ring.02.cil-1.c [2021-08-27 16:30:26,837 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e8e89df32/f6e79304b65b416d8c80501a284a6515/FLAG063179805 [2021-08-27 16:30:27,229 INFO L306 CDTParser]: Found 1 translation units. [2021-08-27 16:30:27,234 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/token_ring.02.cil-1.c [2021-08-27 16:30:27,242 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e8e89df32/f6e79304b65b416d8c80501a284a6515/FLAG063179805 [2021-08-27 16:30:27,254 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e8e89df32/f6e79304b65b416d8c80501a284a6515 [2021-08-27 16:30:27,256 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-27 16:30:27,258 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-08-27 16:30:27,260 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-27 16:30:27,260 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-27 16:30:27,263 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-27 16:30:27,263 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,264 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7545af07 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27, skipping insertion in model container [2021-08-27 16:30:27,264 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,269 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-27 16:30:27,299 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-27 16:30:27,395 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/token_ring.02.cil-1.c[366,379] [2021-08-27 16:30:27,428 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 16:30:27,463 INFO L203 MainTranslator]: Completed pre-run [2021-08-27 16:30:27,472 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/token_ring.02.cil-1.c[366,379] [2021-08-27 16:30:27,500 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 16:30:27,512 INFO L208 MainTranslator]: Completed translation [2021-08-27 16:30:27,512 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27 WrapperNode [2021-08-27 16:30:27,513 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-27 16:30:27,513 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-08-27 16:30:27,514 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-08-27 16:30:27,514 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-08-27 16:30:27,518 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,524 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,545 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-08-27 16:30:27,545 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-27 16:30:27,546 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-27 16:30:27,546 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-27 16:30:27,551 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,551 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,554 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,554 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,559 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,567 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,575 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,579 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-27 16:30:27,580 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-27 16:30:27,580 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-27 16:30:27,580 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-27 16:30:27,581 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (1/1) ... [2021-08-27 16:30:27,590 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 16:30:27,603 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 16:30:27,631 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 16:30:27,635 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-08-27 16:30:27,664 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-08-27 16:30:27,664 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-08-27 16:30:27,664 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-27 16:30:27,664 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-27 16:30:28,207 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-27 16:30:28,207 INFO L299 CfgBuilder]: Removed 103 assume(true) statements. [2021-08-27 16:30:28,209 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 04:30:28 BoogieIcfgContainer [2021-08-27 16:30:28,209 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-27 16:30:28,211 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-08-27 16:30:28,211 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-08-27 16:30:28,214 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-08-27 16:30:28,214 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 16:30:28,215 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 27.08 04:30:27" (1/3) ... [2021-08-27 16:30:28,216 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4fd0b10b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 27.08 04:30:28, skipping insertion in model container [2021-08-27 16:30:28,216 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 16:30:28,216 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 04:30:27" (2/3) ... [2021-08-27 16:30:28,216 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4fd0b10b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 27.08 04:30:28, skipping insertion in model container [2021-08-27 16:30:28,216 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 16:30:28,216 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 04:30:28" (3/3) ... [2021-08-27 16:30:28,217 INFO L389 chiAutomizerObserver]: Analyzing ICFG token_ring.02.cil-1.c [2021-08-27 16:30:28,255 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-08-27 16:30:28,255 INFO L360 BuchiCegarLoop]: Hoare is false [2021-08-27 16:30:28,256 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-08-27 16:30:28,256 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-08-27 16:30:28,256 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-08-27 16:30:28,256 INFO L364 BuchiCegarLoop]: Difference is false [2021-08-27 16:30:28,256 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-08-27 16:30:28,256 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-08-27 16:30:28,275 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 217 states, 216 states have (on average 1.5694444444444444) internal successors, (339), 216 states have internal predecessors, (339), 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-08-27 16:30:28,312 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 174 [2021-08-27 16:30:28,312 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:28,312 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:28,322 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,322 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,322 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-08-27 16:30:28,324 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 217 states, 216 states have (on average 1.5694444444444444) internal successors, (339), 216 states have internal predecessors, (339), 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-08-27 16:30:28,335 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 174 [2021-08-27 16:30:28,335 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:28,335 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:28,338 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,338 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,344 INFO L791 eck$LassoCheckResult]: Stem: 206#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 125#L-1true havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 26#L508true havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 186#L216true assume !(1 == ~m_i~0);~m_st~0 := 2; 100#L223-1true assume 1 == ~t1_i~0;~t1_st~0 := 0; 44#L228-1true assume !(1 == ~t2_i~0);~t2_st~0 := 2; 53#L233-1true assume !(0 == ~M_E~0); 101#L336-1true assume !(0 == ~T1_E~0); 95#L341-1true assume !(0 == ~T2_E~0); 19#L346-1true assume !(0 == ~E_M~0); 120#L351-1true assume !(0 == ~E_1~0); 22#L356-1true assume !(0 == ~E_2~0); 111#L361-1true havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 109#L158true assume 1 == ~m_pc~0; 156#L159true assume 1 == ~E_M~0;is_master_triggered_~__retres1~0 := 1; 140#L169true is_master_triggered_#res := is_master_triggered_~__retres1~0; 146#L170true activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 35#L417true assume !(0 != activate_threads_~tmp~1); 152#L417-2true havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 137#L177true assume 1 == ~t1_pc~0; 25#L178true assume 1 == ~E_1~0;is_transmit1_triggered_~__retres1~1 := 1; 14#L188true is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 73#L189true activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 188#L425true assume !(0 != activate_threads_~tmp___0~0); 210#L425-2true havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 50#L196true assume !(1 == ~t2_pc~0); 211#L196-2true is_transmit2_triggered_~__retres1~2 := 0; 57#L207true is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 190#L208true activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 54#L433true assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 135#L433-2true assume !(1 == ~M_E~0); 180#L374-1true assume !(1 == ~T1_E~0); 29#L379-1true assume !(1 == ~T2_E~0); 24#L384-1true assume !(1 == ~E_M~0); 142#L389-1true assume 1 == ~E_1~0;~E_1~0 := 2; 131#L394-1true assume !(1 == ~E_2~0); 214#L545-1true [2021-08-27 16:30:28,349 INFO L793 eck$LassoCheckResult]: Loop: 214#L545-1true assume !false; 31#L546true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 39#L311true assume false; 122#L326true start_simulation_~kernel_st~0 := 2; 48#L216-1true start_simulation_~kernel_st~0 := 3; 158#L336-2true assume 0 == ~M_E~0;~M_E~0 := 1; 201#L336-4true assume 0 == ~T1_E~0;~T1_E~0 := 1; 112#L341-3true assume !(0 == ~T2_E~0); 139#L346-3true assume 0 == ~E_M~0;~E_M~0 := 1; 61#L351-3true assume 0 == ~E_1~0;~E_1~0 := 1; 161#L356-3true assume 0 == ~E_2~0;~E_2~0 := 1; 102#L361-3true havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 124#L158-12true assume 1 == ~m_pc~0; 145#L159-4true assume 1 == ~E_M~0;is_master_triggered_~__retres1~0 := 1; 110#L169-4true is_master_triggered_#res := is_master_triggered_~__retres1~0; 81#L170-4true activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 21#L417-12true assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 72#L417-14true havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 4#L177-12true assume !(1 == ~t1_pc~0); 15#L177-14true is_transmit1_triggered_~__retres1~1 := 0; 114#L188-4true is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 90#L189-4true activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 47#L425-12true assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 88#L425-14true havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 203#L196-12true assume !(1 == ~t2_pc~0); 215#L196-14true is_transmit2_triggered_~__retres1~2 := 0; 157#L207-4true is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 41#L208-4true activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 171#L433-12true assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 103#L433-14true assume !(1 == ~M_E~0); 134#L374-3true assume 1 == ~T1_E~0;~T1_E~0 := 2; 56#L379-3true assume 1 == ~T2_E~0;~T2_E~0 := 2; 64#L384-3true assume 1 == ~E_M~0;~E_M~0 := 2; 117#L389-3true assume 1 == ~E_1~0;~E_1~0 := 2; 216#L394-3true assume 1 == ~E_2~0;~E_2~0 := 2; 16#L399-3true havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 17#L246-1true assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 217#L263-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 163#L264-1true start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 13#L564true assume !(0 == start_simulation_~tmp~3); 153#L564-1true havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 108#L246-2true assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 174#L263-2true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 209#L264-2true stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 165#L519true assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 175#L526true stop_simulation_#res := stop_simulation_~__retres2~0; 173#L527true start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 143#L577true assume !(0 != start_simulation_~tmp___0~1); 214#L545-1true [2021-08-27 16:30:28,353 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,353 INFO L82 PathProgramCache]: Analyzing trace with hash -1720133594, now seen corresponding path program 1 times [2021-08-27 16:30:28,359 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,359 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [592680786] [2021-08-27 16:30:28,359 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,360 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,428 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,497 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:28,498 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,499 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [592680786] [2021-08-27 16:30:28,499 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [592680786] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,500 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,500 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:28,501 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [232960374] [2021-08-27 16:30:28,507 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:28,508 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,509 INFO L82 PathProgramCache]: Analyzing trace with hash -1944420535, now seen corresponding path program 1 times [2021-08-27 16:30:28,509 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,509 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [602991438] [2021-08-27 16:30:28,509 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,510 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,534 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:28,534 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,535 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [602991438] [2021-08-27 16:30:28,535 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [602991438] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,535 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,535 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-27 16:30:28,535 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [110135314] [2021-08-27 16:30:28,538 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:28,539 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:28,548 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:28,548 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:28,551 INFO L87 Difference]: Start difference. First operand has 217 states, 216 states have (on average 1.5694444444444444) internal successors, (339), 216 states have internal predecessors, (339), 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 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-08-27 16:30:28,585 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:28,585 INFO L93 Difference]: Finished difference Result 217 states and 327 transitions. [2021-08-27 16:30:28,585 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:28,587 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 217 states and 327 transitions. [2021-08-27 16:30:28,589 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 173 [2021-08-27 16:30:28,595 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 217 states to 212 states and 322 transitions. [2021-08-27 16:30:28,596 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 212 [2021-08-27 16:30:28,596 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 212 [2021-08-27 16:30:28,597 INFO L73 IsDeterministic]: Start isDeterministic. Operand 212 states and 322 transitions. [2021-08-27 16:30:28,599 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:28,599 INFO L681 BuchiCegarLoop]: Abstraction has 212 states and 322 transitions. [2021-08-27 16:30:28,610 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 212 states and 322 transitions. [2021-08-27 16:30:28,629 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 212 to 212. [2021-08-27 16:30:28,631 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 212 states, 212 states have (on average 1.5188679245283019) internal successors, (322), 211 states have internal predecessors, (322), 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-08-27 16:30:28,631 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 212 states to 212 states and 322 transitions. [2021-08-27 16:30:28,632 INFO L704 BuchiCegarLoop]: Abstraction has 212 states and 322 transitions. [2021-08-27 16:30:28,633 INFO L587 BuchiCegarLoop]: Abstraction has 212 states and 322 transitions. [2021-08-27 16:30:28,633 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-08-27 16:30:28,633 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 212 states and 322 transitions. [2021-08-27 16:30:28,634 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 173 [2021-08-27 16:30:28,635 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:28,635 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:28,638 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,638 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,639 INFO L791 eck$LassoCheckResult]: Stem: 654#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 617#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 489#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 490#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 595#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 522#L228-1 assume !(1 == ~t2_i~0);~t2_st~0 := 2; 523#L233-1 assume !(0 == ~M_E~0); 539#L336-1 assume !(0 == ~T1_E~0); 589#L341-1 assume !(0 == ~T2_E~0); 475#L346-1 assume !(0 == ~E_M~0); 476#L351-1 assume !(0 == ~E_1~0); 481#L356-1 assume !(0 == ~E_2~0); 482#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 606#L158 assume 1 == ~m_pc~0; 607#L159 assume 1 == ~E_M~0;is_master_triggered_~__retres1~0 := 1; 604#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 628#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 505#L417 assume !(0 != activate_threads_~tmp~1); 506#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 627#L177 assume 1 == ~t1_pc~0; 487#L178 assume 1 == ~E_1~0;is_transmit1_triggered_~__retres1~1 := 1; 466#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 467#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 565#L425 assume !(0 != activate_threads_~tmp___0~0); 652#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 532#L196 assume !(1 == ~t2_pc~0); 533#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 546#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 547#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 540#L433 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 541#L433-2 assume !(1 == ~M_E~0); 626#L374-1 assume !(1 == ~T1_E~0); 496#L379-1 assume !(1 == ~T2_E~0); 485#L384-1 assume !(1 == ~E_M~0); 486#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 621#L394-1 assume !(1 == ~E_2~0); 622#L545-1 [2021-08-27 16:30:28,639 INFO L793 eck$LassoCheckResult]: Loop: 622#L545-1 assume !false; 498#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 494#L311 assume !false; 512#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 535#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 518#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 629#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 591#L278 assume !(0 != eval_~tmp~0); 592#L326 start_simulation_~kernel_st~0 := 2; 529#L216-1 start_simulation_~kernel_st~0 := 3; 530#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 638#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 609#L341-3 assume !(0 == ~T2_E~0); 610#L346-3 assume 0 == ~E_M~0;~E_M~0 := 1; 551#L351-3 assume 0 == ~E_1~0;~E_1~0 := 1; 552#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 596#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 597#L158-12 assume !(1 == ~m_pc~0); 615#L158-14 is_master_triggered_~__retres1~0 := 0; 608#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 570#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 479#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 480#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 446#L177-12 assume !(1 == ~t1_pc~0); 448#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 468#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 582#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 527#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 528#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 579#L196-12 assume 1 == ~t2_pc~0; 649#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 637#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 515#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 516#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 598#L433-14 assume !(1 == ~M_E~0); 599#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 544#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 545#L384-3 assume 1 == ~E_M~0;~E_M~0 := 2; 555#L389-3 assume 1 == ~E_1~0;~E_1~0 := 2; 613#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 469#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 470#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 455#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 640#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 464#L564 assume !(0 == start_simulation_~tmp~3); 465#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 605#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 484#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 648#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 642#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 643#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 647#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 630#L577 assume !(0 != start_simulation_~tmp___0~1); 622#L545-1 [2021-08-27 16:30:28,640 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,640 INFO L82 PathProgramCache]: Analyzing trace with hash -1647747036, now seen corresponding path program 1 times [2021-08-27 16:30:28,640 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,640 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [642325331] [2021-08-27 16:30:28,641 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,641 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,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-08-27 16:30:28,692 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,692 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [642325331] [2021-08-27 16:30:28,692 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [642325331] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,693 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,693 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:28,693 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [306172998] [2021-08-27 16:30:28,694 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:28,696 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,700 INFO L82 PathProgramCache]: Analyzing trace with hash -1069365080, now seen corresponding path program 1 times [2021-08-27 16:30:28,701 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,701 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1052045660] [2021-08-27 16:30:28,702 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,702 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,717 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,753 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:28,753 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,753 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1052045660] [2021-08-27 16:30:28,753 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1052045660] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,753 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,753 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:28,753 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [321197711] [2021-08-27 16:30:28,754 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:28,754 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:28,754 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:28,754 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:28,754 INFO L87 Difference]: Start difference. First operand 212 states and 322 transitions. cyclomatic complexity: 111 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-08-27 16:30:28,761 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:28,761 INFO L93 Difference]: Finished difference Result 212 states and 321 transitions. [2021-08-27 16:30:28,764 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:28,765 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 212 states and 321 transitions. [2021-08-27 16:30:28,766 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 173 [2021-08-27 16:30:28,768 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 212 states to 212 states and 321 transitions. [2021-08-27 16:30:28,768 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 212 [2021-08-27 16:30:28,768 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 212 [2021-08-27 16:30:28,768 INFO L73 IsDeterministic]: Start isDeterministic. Operand 212 states and 321 transitions. [2021-08-27 16:30:28,769 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:28,769 INFO L681 BuchiCegarLoop]: Abstraction has 212 states and 321 transitions. [2021-08-27 16:30:28,769 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 212 states and 321 transitions. [2021-08-27 16:30:28,773 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 212 to 212. [2021-08-27 16:30:28,773 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 212 states, 212 states have (on average 1.5141509433962264) internal successors, (321), 211 states have internal predecessors, (321), 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-08-27 16:30:28,774 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 212 states to 212 states and 321 transitions. [2021-08-27 16:30:28,774 INFO L704 BuchiCegarLoop]: Abstraction has 212 states and 321 transitions. [2021-08-27 16:30:28,774 INFO L587 BuchiCegarLoop]: Abstraction has 212 states and 321 transitions. [2021-08-27 16:30:28,774 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-08-27 16:30:28,774 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 212 states and 321 transitions. [2021-08-27 16:30:28,775 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 173 [2021-08-27 16:30:28,775 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:28,775 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:28,776 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,776 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,776 INFO L791 eck$LassoCheckResult]: Stem: 1085#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 1048#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 920#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 921#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 1026#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 953#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 954#L233-1 assume !(0 == ~M_E~0); 970#L336-1 assume !(0 == ~T1_E~0); 1020#L341-1 assume !(0 == ~T2_E~0); 906#L346-1 assume !(0 == ~E_M~0); 907#L351-1 assume !(0 == ~E_1~0); 912#L356-1 assume !(0 == ~E_2~0); 913#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 1037#L158 assume 1 == ~m_pc~0; 1038#L159 assume 1 == ~E_M~0;is_master_triggered_~__retres1~0 := 1; 1035#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 1059#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 936#L417 assume !(0 != activate_threads_~tmp~1); 937#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 1058#L177 assume 1 == ~t1_pc~0; 918#L178 assume 1 == ~E_1~0;is_transmit1_triggered_~__retres1~1 := 1; 897#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 898#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 996#L425 assume !(0 != activate_threads_~tmp___0~0); 1083#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 963#L196 assume !(1 == ~t2_pc~0); 964#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 977#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 978#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 971#L433 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 972#L433-2 assume !(1 == ~M_E~0); 1057#L374-1 assume !(1 == ~T1_E~0); 927#L379-1 assume !(1 == ~T2_E~0); 916#L384-1 assume !(1 == ~E_M~0); 917#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 1052#L394-1 assume !(1 == ~E_2~0); 1053#L545-1 [2021-08-27 16:30:28,776 INFO L793 eck$LassoCheckResult]: Loop: 1053#L545-1 assume !false; 929#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 925#L311 assume !false; 943#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 966#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 949#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1060#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 1022#L278 assume !(0 != eval_~tmp~0); 1023#L326 start_simulation_~kernel_st~0 := 2; 960#L216-1 start_simulation_~kernel_st~0 := 3; 961#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 1069#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 1040#L341-3 assume !(0 == ~T2_E~0); 1041#L346-3 assume 0 == ~E_M~0;~E_M~0 := 1; 982#L351-3 assume 0 == ~E_1~0;~E_1~0 := 1; 983#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 1027#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 1028#L158-12 assume !(1 == ~m_pc~0); 1046#L158-14 is_master_triggered_~__retres1~0 := 0; 1039#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 1001#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 910#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 911#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 877#L177-12 assume 1 == ~t1_pc~0; 878#L178-4 assume 1 == ~E_1~0;is_transmit1_triggered_~__retres1~1 := 1; 899#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 1013#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 958#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 959#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 1010#L196-12 assume 1 == ~t2_pc~0; 1080#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 1068#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 946#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 947#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 1029#L433-14 assume !(1 == ~M_E~0); 1030#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 975#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 976#L384-3 assume 1 == ~E_M~0;~E_M~0 := 2; 986#L389-3 assume 1 == ~E_1~0;~E_1~0 := 2; 1044#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 900#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 901#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 886#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1071#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 895#L564 assume !(0 == start_simulation_~tmp~3); 896#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1036#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 915#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1079#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 1073#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 1074#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 1078#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 1061#L577 assume !(0 != start_simulation_~tmp___0~1); 1053#L545-1 [2021-08-27 16:30:28,777 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,777 INFO L82 PathProgramCache]: Analyzing trace with hash 1945620386, now seen corresponding path program 1 times [2021-08-27 16:30:28,777 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,777 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [859340957] [2021-08-27 16:30:28,777 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,778 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,785 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,815 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:28,815 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,816 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [859340957] [2021-08-27 16:30:28,816 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [859340957] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,816 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,816 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-27 16:30:28,816 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [290053651] [2021-08-27 16:30:28,817 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:28,818 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,818 INFO L82 PathProgramCache]: Analyzing trace with hash -1012220855, now seen corresponding path program 1 times [2021-08-27 16:30:28,818 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,818 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [819054026] [2021-08-27 16:30:28,819 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,819 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,831 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,859 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:28,860 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,860 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [819054026] [2021-08-27 16:30:28,860 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [819054026] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,860 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,861 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:28,862 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [38653913] [2021-08-27 16:30:28,863 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:28,863 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:28,863 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:28,863 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:28,864 INFO L87 Difference]: Start difference. First operand 212 states and 321 transitions. cyclomatic complexity: 110 Second operand has 3 states, 3 states have (on average 12.0) internal successors, (36), 2 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-08-27 16:30:28,898 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:28,899 INFO L93 Difference]: Finished difference Result 377 states and 559 transitions. [2021-08-27 16:30:28,899 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:28,899 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 377 states and 559 transitions. [2021-08-27 16:30:28,901 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 338 [2021-08-27 16:30:28,903 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 377 states to 377 states and 559 transitions. [2021-08-27 16:30:28,903 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 377 [2021-08-27 16:30:28,904 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 377 [2021-08-27 16:30:28,904 INFO L73 IsDeterministic]: Start isDeterministic. Operand 377 states and 559 transitions. [2021-08-27 16:30:28,908 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:28,908 INFO L681 BuchiCegarLoop]: Abstraction has 377 states and 559 transitions. [2021-08-27 16:30:28,909 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 377 states and 559 transitions. [2021-08-27 16:30:28,925 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 377 to 358. [2021-08-27 16:30:28,925 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 358 states, 358 states have (on average 1.488826815642458) internal successors, (533), 357 states have internal predecessors, (533), 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-08-27 16:30:28,926 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 358 states to 358 states and 533 transitions. [2021-08-27 16:30:28,926 INFO L704 BuchiCegarLoop]: Abstraction has 358 states and 533 transitions. [2021-08-27 16:30:28,926 INFO L587 BuchiCegarLoop]: Abstraction has 358 states and 533 transitions. [2021-08-27 16:30:28,926 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-08-27 16:30:28,927 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 358 states and 533 transitions. [2021-08-27 16:30:28,928 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 319 [2021-08-27 16:30:28,928 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:28,928 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:28,929 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,929 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:28,929 INFO L791 eck$LassoCheckResult]: Stem: 1693#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 1650#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 1517#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 1518#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 1627#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 1552#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 1553#L233-1 assume !(0 == ~M_E~0); 1569#L336-1 assume !(0 == ~T1_E~0); 1621#L341-1 assume !(0 == ~T2_E~0); 1503#L346-1 assume !(0 == ~E_M~0); 1504#L351-1 assume !(0 == ~E_1~0); 1509#L356-1 assume !(0 == ~E_2~0); 1510#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 1639#L158 assume !(1 == ~m_pc~0); 1636#L158-2 is_master_triggered_~__retres1~0 := 0; 1637#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 1660#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1535#L417 assume !(0 != activate_threads_~tmp~1); 1536#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 1659#L177 assume 1 == ~t1_pc~0; 1515#L178 assume 1 == ~E_1~0;is_transmit1_triggered_~__retres1~1 := 1; 1494#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 1495#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 1595#L425 assume !(0 != activate_threads_~tmp___0~0); 1690#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 1562#L196 assume !(1 == ~t2_pc~0); 1563#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 1576#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 1577#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 1570#L433 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 1571#L433-2 assume !(1 == ~M_E~0); 1658#L374-1 assume !(1 == ~T1_E~0); 1524#L379-1 assume !(1 == ~T2_E~0); 1513#L384-1 assume !(1 == ~E_M~0); 1514#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 1653#L394-1 assume !(1 == ~E_2~0); 1654#L545-1 [2021-08-27 16:30:28,929 INFO L793 eck$LassoCheckResult]: Loop: 1654#L545-1 assume !false; 1526#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 1522#L311 assume !false; 1542#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1565#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 1548#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1661#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 1623#L278 assume !(0 != eval_~tmp~0); 1624#L326 start_simulation_~kernel_st~0 := 2; 1825#L216-1 start_simulation_~kernel_st~0 := 3; 1824#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 1823#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 1822#L341-3 assume !(0 == ~T2_E~0); 1821#L346-3 assume 0 == ~E_M~0;~E_M~0 := 1; 1820#L351-3 assume 0 == ~E_1~0;~E_1~0 := 1; 1674#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 1628#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 1629#L158-12 assume !(1 == ~m_pc~0); 1649#L158-14 is_master_triggered_~__retres1~0 := 0; 1640#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 1600#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1507#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 1508#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 1472#L177-12 assume 1 == ~t1_pc~0; 1473#L178-4 assume 1 == ~E_1~0;is_transmit1_triggered_~__retres1~1 := 1; 1496#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 1614#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 1557#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 1558#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 1611#L196-12 assume 1 == ~t2_pc~0; 1687#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 1672#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 1545#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 1546#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 1630#L433-14 assume !(1 == ~M_E~0); 1631#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 1574#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 1575#L384-3 assume 1 == ~E_M~0;~E_M~0 := 2; 1585#L389-3 assume 1 == ~E_1~0;~E_1~0 := 2; 1645#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 1497#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1498#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 1482#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1675#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 1491#L564 assume !(0 == start_simulation_~tmp~3); 1492#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 1638#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 1512#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 1686#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 1677#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 1678#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 1685#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 1662#L577 assume !(0 != start_simulation_~tmp___0~1); 1654#L545-1 [2021-08-27 16:30:28,930 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,930 INFO L82 PathProgramCache]: Analyzing trace with hash -1569365981, now seen corresponding path program 1 times [2021-08-27 16:30:28,930 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,930 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [177382656] [2021-08-27 16:30:28,930 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,942 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:28,979 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:28,980 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:28,980 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [177382656] [2021-08-27 16:30:28,980 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [177382656] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:28,980 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:28,980 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:28,981 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1560423923] [2021-08-27 16:30:28,981 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:28,981 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:28,981 INFO L82 PathProgramCache]: Analyzing trace with hash -1012220855, now seen corresponding path program 2 times [2021-08-27 16:30:28,981 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:28,984 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2069146075] [2021-08-27 16:30:28,984 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:28,984 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:28,990 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,021 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,021 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,021 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2069146075] [2021-08-27 16:30:29,022 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2069146075] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,022 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,022 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,022 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2076497320] [2021-08-27 16:30:29,022 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,023 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,023 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 16:30:29,026 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 16:30:29,026 INFO L87 Difference]: Start difference. First operand 358 states and 533 transitions. cyclomatic complexity: 177 Second operand has 4 states, 4 states have (on average 9.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-08-27 16:30:29,113 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,114 INFO L93 Difference]: Finished difference Result 792 states and 1155 transitions. [2021-08-27 16:30:29,114 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 16:30:29,114 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 792 states and 1155 transitions. [2021-08-27 16:30:29,119 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 727 [2021-08-27 16:30:29,122 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 792 states to 792 states and 1155 transitions. [2021-08-27 16:30:29,122 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 792 [2021-08-27 16:30:29,123 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 792 [2021-08-27 16:30:29,123 INFO L73 IsDeterministic]: Start isDeterministic. Operand 792 states and 1155 transitions. [2021-08-27 16:30:29,125 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,125 INFO L681 BuchiCegarLoop]: Abstraction has 792 states and 1155 transitions. [2021-08-27 16:30:29,125 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 792 states and 1155 transitions. [2021-08-27 16:30:29,139 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 792 to 623. [2021-08-27 16:30:29,141 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 623 states, 623 states have (on average 1.4751203852327448) internal successors, (919), 622 states have internal predecessors, (919), 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-08-27 16:30:29,142 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 623 states to 623 states and 919 transitions. [2021-08-27 16:30:29,142 INFO L704 BuchiCegarLoop]: Abstraction has 623 states and 919 transitions. [2021-08-27 16:30:29,142 INFO L587 BuchiCegarLoop]: Abstraction has 623 states and 919 transitions. [2021-08-27 16:30:29,142 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-08-27 16:30:29,142 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 623 states and 919 transitions. [2021-08-27 16:30:29,144 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 584 [2021-08-27 16:30:29,144 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,144 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,145 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,145 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,146 INFO L791 eck$LassoCheckResult]: Stem: 2867#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 2810#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 2674#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 2675#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 2786#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 2707#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 2708#L233-1 assume !(0 == ~M_E~0); 2725#L336-1 assume !(0 == ~T1_E~0); 2780#L341-1 assume !(0 == ~T2_E~0); 2660#L346-1 assume !(0 == ~E_M~0); 2661#L351-1 assume !(0 == ~E_1~0); 2666#L356-1 assume !(0 == ~E_2~0); 2667#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 2799#L158 assume !(1 == ~m_pc~0); 2796#L158-2 is_master_triggered_~__retres1~0 := 0; 2797#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 2825#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2690#L417 assume !(0 != activate_threads_~tmp~1); 2691#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 2823#L177 assume !(1 == ~t1_pc~0); 2824#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 2651#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 2652#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 2756#L425 assume !(0 != activate_threads_~tmp___0~0); 2859#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 2722#L196 assume !(1 == ~t2_pc~0); 2723#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 2732#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 2733#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 2726#L433 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 2727#L433-2 assume !(1 == ~M_E~0); 2822#L374-1 assume !(1 == ~T1_E~0); 2679#L379-1 assume !(1 == ~T2_E~0); 2670#L384-1 assume !(1 == ~E_M~0); 2671#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 2816#L394-1 assume !(1 == ~E_2~0); 2817#L545-1 [2021-08-27 16:30:29,146 INFO L793 eck$LassoCheckResult]: Loop: 2817#L545-1 assume !false; 2681#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 2677#L311 assume !false; 2697#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 2718#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 2703#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 2826#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 2782#L278 assume !(0 != eval_~tmp~0); 2783#L326 start_simulation_~kernel_st~0 := 2; 2715#L216-1 start_simulation_~kernel_st~0 := 3; 2716#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 2838#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 2801#L341-3 assume !(0 == ~T2_E~0); 2802#L346-3 assume 0 == ~E_M~0;~E_M~0 := 1; 2737#L351-3 assume 0 == ~E_1~0;~E_1~0 := 1; 2738#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 2789#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 2790#L158-12 assume !(1 == ~m_pc~0); 2809#L158-14 is_master_triggered_~__retres1~0 := 0; 2800#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 2760#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2664#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 2665#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 2632#L177-12 assume !(1 == ~t1_pc~0); 2633#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 2653#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 2773#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 2713#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 2714#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 2770#L196-12 assume 1 == ~t2_pc~0; 2854#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 2837#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 2700#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 2701#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 2787#L433-14 assume !(1 == ~M_E~0); 2788#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 2730#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 2731#L384-3 assume 1 == ~E_M~0;~E_M~0 := 2; 2741#L389-3 assume 1 == ~E_1~0;~E_1~0 := 2; 2806#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 2654#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 2655#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 2640#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 2843#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 2649#L564 assume !(0 == start_simulation_~tmp~3); 2650#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 2798#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 2669#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 2852#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 2845#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 2846#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 2851#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 2827#L577 assume !(0 != start_simulation_~tmp___0~1); 2817#L545-1 [2021-08-27 16:30:29,147 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,147 INFO L82 PathProgramCache]: Analyzing trace with hash 545629540, now seen corresponding path program 1 times [2021-08-27 16:30:29,147 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,147 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [135259465] [2021-08-27 16:30:29,147 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,147 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,161 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,217 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,217 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,217 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [135259465] [2021-08-27 16:30:29,217 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [135259465] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,217 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,217 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-08-27 16:30:29,218 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1872575269] [2021-08-27 16:30:29,218 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:29,219 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,219 INFO L82 PathProgramCache]: Analyzing trace with hash -1069365080, now seen corresponding path program 2 times [2021-08-27 16:30:29,219 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,219 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [914743608] [2021-08-27 16:30:29,219 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,220 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,230 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,250 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,250 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,251 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [914743608] [2021-08-27 16:30:29,251 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [914743608] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,251 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,251 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,251 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [964258489] [2021-08-27 16:30:29,251 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,252 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,253 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-08-27 16:30:29,253 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-08-27 16:30:29,253 INFO L87 Difference]: Start difference. First operand 623 states and 919 transitions. cyclomatic complexity: 298 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-08-27 16:30:29,358 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,358 INFO L93 Difference]: Finished difference Result 1454 states and 2154 transitions. [2021-08-27 16:30:29,358 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-08-27 16:30:29,359 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1454 states and 2154 transitions. [2021-08-27 16:30:29,366 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 1396 [2021-08-27 16:30:29,371 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1454 states to 1454 states and 2154 transitions. [2021-08-27 16:30:29,372 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1454 [2021-08-27 16:30:29,373 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1454 [2021-08-27 16:30:29,373 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1454 states and 2154 transitions. [2021-08-27 16:30:29,374 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,374 INFO L681 BuchiCegarLoop]: Abstraction has 1454 states and 2154 transitions. [2021-08-27 16:30:29,375 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1454 states and 2154 transitions. [2021-08-27 16:30:29,384 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1454 to 674. [2021-08-27 16:30:29,385 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 674 states, 674 states have (on average 1.4391691394658754) internal successors, (970), 673 states have internal predecessors, (970), 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-08-27 16:30:29,387 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 674 states to 674 states and 970 transitions. [2021-08-27 16:30:29,388 INFO L704 BuchiCegarLoop]: Abstraction has 674 states and 970 transitions. [2021-08-27 16:30:29,388 INFO L587 BuchiCegarLoop]: Abstraction has 674 states and 970 transitions. [2021-08-27 16:30:29,388 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-08-27 16:30:29,388 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 674 states and 970 transitions. [2021-08-27 16:30:29,390 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 632 [2021-08-27 16:30:29,390 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,390 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,391 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,391 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,392 INFO L791 eck$LassoCheckResult]: Stem: 4980#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 4912#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 4765#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 4766#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 4886#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 4801#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 4802#L233-1 assume !(0 == ~M_E~0); 4819#L336-1 assume !(0 == ~T1_E~0); 4879#L341-1 assume !(0 == ~T2_E~0); 4753#L346-1 assume !(0 == ~E_M~0); 4754#L351-1 assume !(0 == ~E_1~0); 4759#L356-1 assume !(0 == ~E_2~0); 4760#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 4899#L158 assume !(1 == ~m_pc~0); 4896#L158-2 is_master_triggered_~__retres1~0 := 0; 4897#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 4928#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 4784#L417 assume !(0 != activate_threads_~tmp~1); 4785#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 4926#L177 assume !(1 == ~t1_pc~0); 4927#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 4743#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 4744#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 4851#L425 assume !(0 != activate_threads_~tmp___0~0); 4968#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 4814#L196 assume !(1 == ~t2_pc~0); 4815#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 4826#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 4827#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 4820#L433 assume !(0 != activate_threads_~tmp___1~0); 4821#L433-2 assume !(1 == ~M_E~0); 4923#L374-1 assume !(1 == ~T1_E~0); 4772#L379-1 assume !(1 == ~T2_E~0); 4763#L384-1 assume !(1 == ~E_M~0); 4764#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 4918#L394-1 assume !(1 == ~E_2~0); 4919#L545-1 [2021-08-27 16:30:29,393 INFO L793 eck$LassoCheckResult]: Loop: 4919#L545-1 assume !false; 5146#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 5143#L311 assume !false; 4852#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 4817#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 4800#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 4929#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 4882#L278 assume !(0 != eval_~tmp~0); 4883#L326 start_simulation_~kernel_st~0 := 2; 5098#L216-1 start_simulation_~kernel_st~0 := 3; 5092#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 5090#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 5088#L341-3 assume !(0 == ~T2_E~0); 5087#L346-3 assume 0 == ~E_M~0;~E_M~0 := 1; 5086#L351-3 assume 0 == ~E_1~0;~E_1~0 := 1; 5082#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 5080#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 5078#L158-12 assume !(1 == ~m_pc~0); 5079#L158-14 is_master_triggered_~__retres1~0 := 0; 5322#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 5321#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5320#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 5319#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 5318#L177-12 assume !(1 == ~t1_pc~0); 5287#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 5317#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 5316#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 5315#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 5314#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 5313#L196-12 assume !(1 == ~t2_pc~0); 5312#L196-14 is_transmit2_triggered_~__retres1~2 := 0; 5310#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 5308#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 5306#L433-12 assume !(0 != activate_threads_~tmp___1~0); 5304#L433-14 assume !(1 == ~M_E~0); 5270#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 5268#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 5266#L384-3 assume 1 == ~E_M~0;~E_M~0 := 2; 5264#L389-3 assume 1 == ~E_1~0;~E_1~0 := 2; 5262#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 5260#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 5256#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 5254#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 5250#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 5247#L564 assume !(0 == start_simulation_~tmp~3); 5248#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 5351#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 5346#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 5303#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 5302#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 5300#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 5295#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 5292#L577 assume !(0 != start_simulation_~tmp___0~1); 4919#L545-1 [2021-08-27 16:30:29,393 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,393 INFO L82 PathProgramCache]: Analyzing trace with hash -1974330394, now seen corresponding path program 1 times [2021-08-27 16:30:29,393 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,393 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1538454206] [2021-08-27 16:30:29,393 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,394 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,409 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,429 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,430 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,430 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1538454206] [2021-08-27 16:30:29,430 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1538454206] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,430 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,430 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,431 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [470630538] [2021-08-27 16:30:29,431 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:29,432 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,432 INFO L82 PathProgramCache]: Analyzing trace with hash 817558789, now seen corresponding path program 1 times [2021-08-27 16:30:29,432 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,433 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2050460885] [2021-08-27 16:30:29,433 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,433 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,437 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,454 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,454 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,454 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2050460885] [2021-08-27 16:30:29,454 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2050460885] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,455 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,455 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,455 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1987941734] [2021-08-27 16:30:29,455 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,455 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,456 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 16:30:29,456 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 16:30:29,456 INFO L87 Difference]: Start difference. First operand 674 states and 970 transitions. cyclomatic complexity: 298 Second operand has 4 states, 4 states have (on average 9.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-08-27 16:30:29,545 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,545 INFO L93 Difference]: Finished difference Result 1102 states and 1558 transitions. [2021-08-27 16:30:29,547 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 16:30:29,547 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1102 states and 1558 transitions. [2021-08-27 16:30:29,554 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 994 [2021-08-27 16:30:29,558 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1102 states to 1102 states and 1558 transitions. [2021-08-27 16:30:29,558 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1102 [2021-08-27 16:30:29,558 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1102 [2021-08-27 16:30:29,558 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1102 states and 1558 transitions. [2021-08-27 16:30:29,559 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,559 INFO L681 BuchiCegarLoop]: Abstraction has 1102 states and 1558 transitions. [2021-08-27 16:30:29,560 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1102 states and 1558 transitions. [2021-08-27 16:30:29,566 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1102 to 1080. [2021-08-27 16:30:29,567 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1080 states, 1080 states have (on average 1.4185185185185185) internal successors, (1532), 1079 states have internal predecessors, (1532), 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-08-27 16:30:29,569 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1080 states to 1080 states and 1532 transitions. [2021-08-27 16:30:29,569 INFO L704 BuchiCegarLoop]: Abstraction has 1080 states and 1532 transitions. [2021-08-27 16:30:29,569 INFO L587 BuchiCegarLoop]: Abstraction has 1080 states and 1532 transitions. [2021-08-27 16:30:29,570 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-08-27 16:30:29,570 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1080 states and 1532 transitions. [2021-08-27 16:30:29,573 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 980 [2021-08-27 16:30:29,574 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,574 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,574 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,574 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,574 INFO L791 eck$LassoCheckResult]: Stem: 6774#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 6701#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 6550#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 6551#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 6673#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 6587#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 6588#L233-1 assume !(0 == ~M_E~0); 6605#L336-1 assume !(0 == ~T1_E~0); 6666#L341-1 assume !(0 == ~T2_E~0); 6537#L346-1 assume 0 == ~E_M~0;~E_M~0 := 1; 6538#L351-1 assume 0 == ~E_1~0;~E_1~0 := 1; 6698#L356-1 assume !(0 == ~E_2~0); 7256#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 6686#L158 assume !(1 == ~m_pc~0); 6687#L158-2 is_master_triggered_~__retres1~0 := 0; 7250#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 7237#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 7238#L417 assume !(0 != activate_threads_~tmp~1); 7231#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 7232#L177 assume !(1 == ~t1_pc~0); 7230#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 7229#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 7227#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 7225#L425 assume !(0 != activate_threads_~tmp___0~0); 7223#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 7221#L196 assume !(1 == ~t2_pc~0); 7219#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 7236#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 7233#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 7210#L433 assume !(0 != activate_threads_~tmp___1~0); 6712#L433-2 assume !(1 == ~M_E~0); 6713#L374-1 assume !(1 == ~T1_E~0); 6557#L379-1 assume !(1 == ~T2_E~0); 6548#L384-1 assume !(1 == ~E_M~0); 6549#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 6706#L394-1 assume !(1 == ~E_2~0); 6707#L545-1 [2021-08-27 16:30:29,575 INFO L793 eck$LassoCheckResult]: Loop: 6707#L545-1 assume !false; 7182#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 7475#L311 assume !false; 7474#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 7172#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 7173#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 7162#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 7163#L278 assume !(0 != eval_~tmp~0); 7469#L326 start_simulation_~kernel_st~0 := 2; 7585#L216-1 start_simulation_~kernel_st~0 := 3; 7584#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 7583#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 7582#L341-3 assume !(0 == ~T2_E~0); 7581#L346-3 assume 0 == ~E_M~0;~E_M~0 := 1; 6718#L351-3 assume 0 == ~E_1~0;~E_1~0 := 1; 6620#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 6676#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 6677#L158-12 assume !(1 == ~m_pc~0); 6700#L158-14 is_master_triggered_~__retres1~0 := 0; 6688#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 6689#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 6542#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 6543#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 6508#L177-12 assume !(1 == ~t1_pc~0); 6509#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 6530#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 6658#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 6659#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 7531#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 7530#L196-12 assume !(1 == ~t2_pc~0); 7526#L196-14 is_transmit2_triggered_~__retres1~2 := 0; 7524#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 7522#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 7520#L433-12 assume !(0 != activate_threads_~tmp___1~0); 7518#L433-14 assume !(1 == ~M_E~0); 7517#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 7513#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 7511#L384-3 assume 1 == ~E_M~0;~E_M~0 := 2; 7507#L389-3 assume 1 == ~E_1~0;~E_1~0 := 2; 7504#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 7502#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 7498#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 7495#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 7493#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 7491#L564 assume !(0 == start_simulation_~tmp~3); 7489#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 7487#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 7485#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 7484#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 7483#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 7482#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 7481#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 7195#L577 assume !(0 != start_simulation_~tmp___0~1); 6707#L545-1 [2021-08-27 16:30:29,575 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,575 INFO L82 PathProgramCache]: Analyzing trace with hash 335369254, now seen corresponding path program 1 times [2021-08-27 16:30:29,575 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,575 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1926697158] [2021-08-27 16:30:29,575 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,576 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,587 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,587 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,587 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1926697158] [2021-08-27 16:30:29,587 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1926697158] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,587 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,588 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-27 16:30:29,588 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1118107293] [2021-08-27 16:30:29,588 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:29,588 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,588 INFO L82 PathProgramCache]: Analyzing trace with hash 817558789, now seen corresponding path program 2 times [2021-08-27 16:30:29,588 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,589 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1729283815] [2021-08-27 16:30:29,589 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,589 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,592 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,601 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,602 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,602 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1729283815] [2021-08-27 16:30:29,602 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1729283815] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,602 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,602 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,603 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1469183259] [2021-08-27 16:30:29,603 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,603 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,603 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:29,603 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:29,604 INFO L87 Difference]: Start difference. First operand 1080 states and 1532 transitions. cyclomatic complexity: 455 Second operand has 3 states, 3 states have (on average 12.0) internal successors, (36), 2 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-08-27 16:30:29,624 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,624 INFO L93 Difference]: Finished difference Result 1051 states and 1463 transitions. [2021-08-27 16:30:29,624 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:29,624 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1051 states and 1463 transitions. [2021-08-27 16:30:29,629 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 980 [2021-08-27 16:30:29,633 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1051 states to 1051 states and 1463 transitions. [2021-08-27 16:30:29,633 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1051 [2021-08-27 16:30:29,634 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1051 [2021-08-27 16:30:29,634 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1051 states and 1463 transitions. [2021-08-27 16:30:29,635 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,635 INFO L681 BuchiCegarLoop]: Abstraction has 1051 states and 1463 transitions. [2021-08-27 16:30:29,635 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1051 states and 1463 transitions. [2021-08-27 16:30:29,648 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1051 to 816. [2021-08-27 16:30:29,649 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 816 states, 816 states have (on average 1.3848039215686274) internal successors, (1130), 815 states have internal predecessors, (1130), 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-08-27 16:30:29,651 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 816 states to 816 states and 1130 transitions. [2021-08-27 16:30:29,651 INFO L704 BuchiCegarLoop]: Abstraction has 816 states and 1130 transitions. [2021-08-27 16:30:29,652 INFO L587 BuchiCegarLoop]: Abstraction has 816 states and 1130 transitions. [2021-08-27 16:30:29,653 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-08-27 16:30:29,653 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 816 states and 1130 transitions. [2021-08-27 16:30:29,669 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 746 [2021-08-27 16:30:29,669 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,669 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,672 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,672 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,672 INFO L791 eck$LassoCheckResult]: Stem: 8889#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 8830#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 8687#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 8688#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 8805#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 8721#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 8722#L233-1 assume !(0 == ~M_E~0); 8739#L336-1 assume !(0 == ~T1_E~0); 8798#L341-1 assume !(0 == ~T2_E~0); 8675#L346-1 assume !(0 == ~E_M~0); 8676#L351-1 assume 0 == ~E_1~0;~E_1~0 := 1; 8828#L356-1 assume !(0 == ~E_2~0); 9448#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 9447#L158 assume !(1 == ~m_pc~0); 9446#L158-2 is_master_triggered_~__retres1~0 := 0; 9445#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 9444#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 9443#L417 assume !(0 != activate_threads_~tmp~1); 9442#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 9441#L177 assume !(1 == ~t1_pc~0); 9440#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 9439#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 9438#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 9437#L425 assume !(0 != activate_threads_~tmp___0~0); 9436#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 9435#L196 assume !(1 == ~t2_pc~0); 9434#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 9450#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 9449#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 9427#L433 assume !(0 != activate_threads_~tmp___1~0); 9426#L433-2 assume !(1 == ~M_E~0); 9425#L374-1 assume !(1 == ~T1_E~0); 9424#L379-1 assume !(1 == ~T2_E~0); 9423#L384-1 assume !(1 == ~E_M~0); 9422#L389-1 assume 1 == ~E_1~0;~E_1~0 := 2; 8834#L394-1 assume !(1 == ~E_2~0); 8835#L545-1 [2021-08-27 16:30:29,672 INFO L793 eck$LassoCheckResult]: Loop: 8835#L545-1 assume !false; 9311#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 9288#L311 assume !false; 9286#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9280#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 9278#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 9276#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 9271#L278 assume !(0 != eval_~tmp~0); 9272#L326 start_simulation_~kernel_st~0 := 2; 9412#L216-1 start_simulation_~kernel_st~0 := 3; 9411#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 9410#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 9409#L341-3 assume !(0 == ~T2_E~0); 9408#L346-3 assume !(0 == ~E_M~0); 9407#L351-3 assume !(0 == ~E_1~0); 8860#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 8808#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 8809#L158-12 assume !(1 == ~m_pc~0); 8829#L158-14 is_master_triggered_~__retres1~0 := 0; 8818#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 8776#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 8679#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 8680#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 8646#L177-12 assume !(1 == ~t1_pc~0); 8647#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 9362#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 9360#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 9357#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 9355#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 9353#L196-12 assume !(1 == ~t2_pc~0); 9349#L196-14 is_transmit2_triggered_~__retres1~2 := 0; 9347#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 9345#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 9343#L433-12 assume !(0 != activate_threads_~tmp___1~0); 9341#L433-14 assume !(1 == ~M_E~0); 9340#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 9336#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 9315#L384-3 assume !(1 == ~E_M~0); 9291#L389-3 assume !(1 == ~E_1~0); 9289#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 9287#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9284#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 9279#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 9277#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 9274#L564 assume !(0 == start_simulation_~tmp~3); 9275#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 9338#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 9335#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 9334#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 9333#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 9321#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 9319#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 9318#L577 assume !(0 != start_simulation_~tmp___0~1); 8835#L545-1 [2021-08-27 16:30:29,673 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,673 INFO L82 PathProgramCache]: Analyzing trace with hash -2036370008, now seen corresponding path program 1 times [2021-08-27 16:30:29,673 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,673 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [448323160] [2021-08-27 16:30:29,673 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,674 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,702 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,702 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,702 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [448323160] [2021-08-27 16:30:29,703 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [448323160] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,703 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,703 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,703 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1485343699] [2021-08-27 16:30:29,703 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:29,704 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,704 INFO L82 PathProgramCache]: Analyzing trace with hash -405580411, now seen corresponding path program 1 times [2021-08-27 16:30:29,704 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,705 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1756375234] [2021-08-27 16:30:29,705 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,705 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,710 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,723 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,723 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,724 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1756375234] [2021-08-27 16:30:29,725 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1756375234] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,725 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,725 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,725 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1943915263] [2021-08-27 16:30:29,726 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,726 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,726 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 16:30:29,733 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 16:30:29,733 INFO L87 Difference]: Start difference. First operand 816 states and 1130 transitions. cyclomatic complexity: 316 Second operand has 4 states, 4 states have (on average 9.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-08-27 16:30:29,790 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,791 INFO L93 Difference]: Finished difference Result 916 states and 1264 transitions. [2021-08-27 16:30:29,791 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 16:30:29,792 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 916 states and 1264 transitions. [2021-08-27 16:30:29,798 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 866 [2021-08-27 16:30:29,801 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 916 states to 916 states and 1264 transitions. [2021-08-27 16:30:29,801 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 916 [2021-08-27 16:30:29,802 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 916 [2021-08-27 16:30:29,803 INFO L73 IsDeterministic]: Start isDeterministic. Operand 916 states and 1264 transitions. [2021-08-27 16:30:29,804 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,804 INFO L681 BuchiCegarLoop]: Abstraction has 916 states and 1264 transitions. [2021-08-27 16:30:29,804 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 916 states and 1264 transitions. [2021-08-27 16:30:29,810 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 916 to 674. [2021-08-27 16:30:29,811 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 674 states, 674 states have (on average 1.3753709198813056) internal successors, (927), 673 states have internal predecessors, (927), 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-08-27 16:30:29,814 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 674 states to 674 states and 927 transitions. [2021-08-27 16:30:29,814 INFO L704 BuchiCegarLoop]: Abstraction has 674 states and 927 transitions. [2021-08-27 16:30:29,814 INFO L587 BuchiCegarLoop]: Abstraction has 674 states and 927 transitions. [2021-08-27 16:30:29,814 INFO L425 BuchiCegarLoop]: ======== Iteration 9============ [2021-08-27 16:30:29,814 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 674 states and 927 transitions. [2021-08-27 16:30:29,816 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 632 [2021-08-27 16:30:29,816 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,816 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,817 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,817 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,817 INFO L791 eck$LassoCheckResult]: Stem: 10634#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 10573#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 10430#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 10431#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 10546#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 10465#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 10466#L233-1 assume !(0 == ~M_E~0); 10483#L336-1 assume !(0 == ~T1_E~0); 10540#L341-1 assume !(0 == ~T2_E~0); 10418#L346-1 assume !(0 == ~E_M~0); 10419#L351-1 assume !(0 == ~E_1~0); 10424#L356-1 assume !(0 == ~E_2~0); 10425#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 10558#L158 assume !(1 == ~m_pc~0); 10555#L158-2 is_master_triggered_~__retres1~0 := 0; 10556#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 10586#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 10447#L417 assume !(0 != activate_threads_~tmp~1); 10448#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 10583#L177 assume !(1 == ~t1_pc~0); 10584#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 10408#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 10409#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 10512#L425 assume !(0 != activate_threads_~tmp___0~0); 10623#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 10476#L196 assume !(1 == ~t2_pc~0); 10477#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 10635#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 10652#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 10484#L433 assume !(0 != activate_threads_~tmp___1~0); 10485#L433-2 assume !(1 == ~M_E~0); 10582#L374-1 assume !(1 == ~T1_E~0); 10437#L379-1 assume !(1 == ~T2_E~0); 10428#L384-1 assume !(1 == ~E_M~0); 10429#L389-1 assume !(1 == ~E_1~0); 10576#L394-1 assume !(1 == ~E_2~0); 10577#L545-1 [2021-08-27 16:30:29,817 INFO L793 eck$LassoCheckResult]: Loop: 10577#L545-1 assume !false; 11001#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 10454#L311 assume !false; 10455#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 10998#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 10997#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 10996#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 10982#L278 assume !(0 != eval_~tmp~0); 10571#L326 start_simulation_~kernel_st~0 := 2; 10473#L216-1 start_simulation_~kernel_st~0 := 3; 10474#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 10600#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 10561#L341-3 assume !(0 == ~T2_E~0); 10562#L346-3 assume !(0 == ~E_M~0); 10497#L351-3 assume !(0 == ~E_1~0); 10498#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 10547#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 10548#L158-12 assume !(1 == ~m_pc~0); 10572#L158-14 is_master_triggered_~__retres1~0 := 0; 10559#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 10518#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 10422#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 10423#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 10388#L177-12 assume !(1 == ~t1_pc~0); 10389#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 11032#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 10534#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 10471#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 10472#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 10530#L196-12 assume 1 == ~t2_pc~0; 10632#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 11028#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 11026#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 11024#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 10614#L433-14 assume !(1 == ~M_E~0); 11021#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 10488#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 10489#L384-3 assume !(1 == ~E_M~0); 10501#L389-3 assume !(1 == ~E_1~0); 10565#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 10412#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 10413#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 10396#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 10637#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 11011#L564 assume !(0 == start_simulation_~tmp~3); 11012#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 11038#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 11036#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 11035#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 11034#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 11006#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 11005#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 11004#L577 assume !(0 != start_simulation_~tmp___0~1); 10577#L545-1 [2021-08-27 16:30:29,818 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,818 INFO L82 PathProgramCache]: Analyzing trace with hash -1974330332, now seen corresponding path program 1 times [2021-08-27 16:30:29,818 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,818 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1388364343] [2021-08-27 16:30:29,818 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,818 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:29,824 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:29,841 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:29,866 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:29,866 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,866 INFO L82 PathProgramCache]: Analyzing trace with hash 2002463016, now seen corresponding path program 1 times [2021-08-27 16:30:29,867 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,867 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [581994176] [2021-08-27 16:30:29,867 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,867 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,871 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,889 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,889 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,890 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [581994176] [2021-08-27 16:30:29,890 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [581994176] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,890 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,890 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:29,890 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [414855901] [2021-08-27 16:30:29,890 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,891 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,891 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:29,891 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:29,891 INFO L87 Difference]: Start difference. First operand 674 states and 927 transitions. cyclomatic complexity: 255 Second operand has 3 states, 3 states have (on average 17.666666666666668) internal successors, (53), 3 states have internal predecessors, (53), 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-08-27 16:30:29,905 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,905 INFO L93 Difference]: Finished difference Result 818 states and 1111 transitions. [2021-08-27 16:30:29,906 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:29,906 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 818 states and 1111 transitions. [2021-08-27 16:30:29,909 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 748 [2021-08-27 16:30:29,912 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 818 states to 818 states and 1111 transitions. [2021-08-27 16:30:29,912 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 818 [2021-08-27 16:30:29,912 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 818 [2021-08-27 16:30:29,912 INFO L73 IsDeterministic]: Start isDeterministic. Operand 818 states and 1111 transitions. [2021-08-27 16:30:29,913 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,913 INFO L681 BuchiCegarLoop]: Abstraction has 818 states and 1111 transitions. [2021-08-27 16:30:29,913 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 818 states and 1111 transitions. [2021-08-27 16:30:29,919 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 818 to 818. [2021-08-27 16:30:29,920 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 818 states, 818 states have (on average 1.3581907090464547) internal successors, (1111), 817 states have internal predecessors, (1111), 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-08-27 16:30:29,921 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 818 states to 818 states and 1111 transitions. [2021-08-27 16:30:29,921 INFO L704 BuchiCegarLoop]: Abstraction has 818 states and 1111 transitions. [2021-08-27 16:30:29,921 INFO L587 BuchiCegarLoop]: Abstraction has 818 states and 1111 transitions. [2021-08-27 16:30:29,921 INFO L425 BuchiCegarLoop]: ======== Iteration 10============ [2021-08-27 16:30:29,921 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 818 states and 1111 transitions. [2021-08-27 16:30:29,924 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 748 [2021-08-27 16:30:29,924 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,924 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,925 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,925 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,925 INFO L791 eck$LassoCheckResult]: Stem: 12138#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 12072#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 11928#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 11929#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 12047#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 11961#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 11962#L233-1 assume 0 == ~M_E~0;~M_E~0 := 1; 11979#L336-1 assume !(0 == ~T1_E~0); 12039#L341-1 assume !(0 == ~T2_E~0); 11916#L346-1 assume !(0 == ~E_M~0); 11917#L351-1 assume !(0 == ~E_1~0); 11922#L356-1 assume !(0 == ~E_2~0); 11923#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 12059#L158 assume !(1 == ~m_pc~0); 12056#L158-2 is_master_triggered_~__retres1~0 := 0; 12057#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 12083#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 11943#L417 assume !(0 != activate_threads_~tmp~1); 11944#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 12081#L177 assume !(1 == ~t1_pc~0); 12082#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 11907#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 11908#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 12011#L425 assume !(0 != activate_threads_~tmp___0~0); 12128#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 11972#L196 assume !(1 == ~t2_pc~0); 11973#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 11987#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 11988#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 11981#L433 assume !(0 != activate_threads_~tmp___1~0); 11982#L433-2 assume 1 == ~M_E~0;~M_E~0 := 2; 12080#L374-1 assume !(1 == ~T1_E~0); 11935#L379-1 assume !(1 == ~T2_E~0); 11926#L384-1 assume !(1 == ~E_M~0); 11927#L389-1 assume !(1 == ~E_1~0); 12075#L394-1 assume !(1 == ~E_2~0); 12076#L545-1 [2021-08-27 16:30:29,925 INFO L793 eck$LassoCheckResult]: Loop: 12076#L545-1 assume !false; 12350#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 12326#L311 assume !false; 12349#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 11975#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 11957#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 12084#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 12085#L278 assume !(0 != eval_~tmp~0); 12070#L326 start_simulation_~kernel_st~0 := 2; 11969#L216-1 start_simulation_~kernel_st~0 := 3; 11970#L336-2 assume 0 == ~M_E~0;~M_E~0 := 1; 12099#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 12061#L341-3 assume !(0 == ~T2_E~0); 12062#L346-3 assume !(0 == ~E_M~0); 11993#L351-3 assume !(0 == ~E_1~0); 11994#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 12048#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 12049#L158-12 assume !(1 == ~m_pc~0); 12071#L158-14 is_master_triggered_~__retres1~0 := 0; 12060#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 12017#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 11920#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 11921#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 12010#L177-12 assume !(1 == ~t1_pc~0); 12518#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 12516#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 12514#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 12512#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 12510#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 12506#L196-12 assume !(1 == ~t2_pc~0); 12502#L196-14 is_transmit2_triggered_~__retres1~2 := 0; 12500#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 12498#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 12495#L433-12 assume !(0 != activate_threads_~tmp___1~0); 12493#L433-14 assume 1 == ~M_E~0;~M_E~0 := 2; 12489#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 12487#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 12485#L384-3 assume !(1 == ~E_M~0); 12483#L389-3 assume !(1 == ~E_1~0); 12481#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 12479#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 12475#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 12472#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 12470#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 12467#L564 assume !(0 == start_simulation_~tmp~3); 12464#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 12372#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 12367#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 12365#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 12105#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 12106#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 12115#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 12116#L577 assume !(0 != start_simulation_~tmp___0~1); 12076#L545-1 [2021-08-27 16:30:29,926 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,926 INFO L82 PathProgramCache]: Analyzing trace with hash -2054220888, now seen corresponding path program 1 times [2021-08-27 16:30:29,926 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,926 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [826780347] [2021-08-27 16:30:29,926 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,926 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,930 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,938 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,938 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,938 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [826780347] [2021-08-27 16:30:29,938 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [826780347] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,939 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,939 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-27 16:30:29,939 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [172400593] [2021-08-27 16:30:29,939 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:29,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,939 INFO L82 PathProgramCache]: Analyzing trace with hash 1283363331, now seen corresponding path program 1 times [2021-08-27 16:30:29,940 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,940 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [667633225] [2021-08-27 16:30:29,940 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,940 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:29,962 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:29,963 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:29,963 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [667633225] [2021-08-27 16:30:29,963 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [667633225] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:29,963 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:29,963 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-08-27 16:30:29,963 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [587986678] [2021-08-27 16:30:29,964 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:29,964 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:29,964 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:29,964 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:29,964 INFO L87 Difference]: Start difference. First operand 818 states and 1111 transitions. cyclomatic complexity: 295 Second operand has 3 states, 3 states have (on average 12.0) internal successors, (36), 2 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-08-27 16:30:29,974 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:29,975 INFO L93 Difference]: Finished difference Result 674 states and 913 transitions. [2021-08-27 16:30:29,975 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:29,975 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 674 states and 913 transitions. [2021-08-27 16:30:29,978 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 632 [2021-08-27 16:30:29,980 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 674 states to 674 states and 913 transitions. [2021-08-27 16:30:29,980 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 674 [2021-08-27 16:30:29,981 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 674 [2021-08-27 16:30:29,981 INFO L73 IsDeterministic]: Start isDeterministic. Operand 674 states and 913 transitions. [2021-08-27 16:30:29,981 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:29,981 INFO L681 BuchiCegarLoop]: Abstraction has 674 states and 913 transitions. [2021-08-27 16:30:29,982 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 674 states and 913 transitions. [2021-08-27 16:30:29,986 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 674 to 674. [2021-08-27 16:30:29,987 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 674 states, 674 states have (on average 1.3545994065281899) internal successors, (913), 673 states have internal predecessors, (913), 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-08-27 16:30:29,988 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 674 states to 674 states and 913 transitions. [2021-08-27 16:30:29,988 INFO L704 BuchiCegarLoop]: Abstraction has 674 states and 913 transitions. [2021-08-27 16:30:29,988 INFO L587 BuchiCegarLoop]: Abstraction has 674 states and 913 transitions. [2021-08-27 16:30:29,988 INFO L425 BuchiCegarLoop]: ======== Iteration 11============ [2021-08-27 16:30:29,988 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 674 states and 913 transitions. [2021-08-27 16:30:29,990 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 632 [2021-08-27 16:30:29,990 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:29,990 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:29,991 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,991 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:29,991 INFO L791 eck$LassoCheckResult]: Stem: 13620#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 13564#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 13429#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 13430#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 13540#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 13461#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 13462#L233-1 assume !(0 == ~M_E~0); 13480#L336-1 assume !(0 == ~T1_E~0); 13533#L341-1 assume !(0 == ~T2_E~0); 13417#L346-1 assume !(0 == ~E_M~0); 13418#L351-1 assume !(0 == ~E_1~0); 13423#L356-1 assume !(0 == ~E_2~0); 13424#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 13552#L158 assume !(1 == ~m_pc~0); 13549#L158-2 is_master_triggered_~__retres1~0 := 0; 13550#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 13579#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 13444#L417 assume !(0 != activate_threads_~tmp~1); 13445#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 13576#L177 assume !(1 == ~t1_pc~0); 13577#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 13407#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 13408#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 13509#L425 assume !(0 != activate_threads_~tmp___0~0); 13614#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 13473#L196 assume !(1 == ~t2_pc~0); 13474#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 13621#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 13616#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 13481#L433 assume !(0 != activate_threads_~tmp___1~0); 13482#L433-2 assume !(1 == ~M_E~0); 13575#L374-1 assume !(1 == ~T1_E~0); 13436#L379-1 assume !(1 == ~T2_E~0); 13427#L384-1 assume !(1 == ~E_M~0); 13428#L389-1 assume !(1 == ~E_1~0); 13570#L394-1 assume !(1 == ~E_2~0); 13571#L545-1 [2021-08-27 16:30:29,991 INFO L793 eck$LassoCheckResult]: Loop: 13571#L545-1 assume !false; 13877#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 13875#L311 assume !false; 13871#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 13868#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 13736#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 13732#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 13729#L278 assume !(0 != eval_~tmp~0); 13730#L326 start_simulation_~kernel_st~0 := 2; 14026#L216-1 start_simulation_~kernel_st~0 := 3; 14025#L336-2 assume !(0 == ~M_E~0); 14024#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 14023#L341-3 assume !(0 == ~T2_E~0); 13578#L346-3 assume !(0 == ~E_M~0); 13493#L351-3 assume !(0 == ~E_1~0); 13494#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 13541#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 13542#L158-12 assume !(1 == ~m_pc~0); 13563#L158-14 is_master_triggered_~__retres1~0 := 0; 13553#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 13514#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 13421#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 13422#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 13508#L177-12 assume !(1 == ~t1_pc~0); 13828#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 13964#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 13962#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 13960#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 13958#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 13951#L196-12 assume !(1 == ~t2_pc~0); 13947#L196-14 is_transmit2_triggered_~__retres1~2 := 0; 13945#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 13943#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 13941#L433-12 assume !(0 != activate_threads_~tmp___1~0); 13939#L433-14 assume !(1 == ~M_E~0); 13935#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 13933#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 13931#L384-3 assume !(1 == ~E_M~0); 13929#L389-3 assume !(1 == ~E_1~0); 13926#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 13924#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 13920#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 13917#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 13915#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 13913#L564 assume !(0 == start_simulation_~tmp~3); 13908#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 13900#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 13897#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 13894#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 13892#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 13890#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 13888#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 13886#L577 assume !(0 != start_simulation_~tmp___0~1); 13571#L545-1 [2021-08-27 16:30:29,992 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:29,992 INFO L82 PathProgramCache]: Analyzing trace with hash -1974330332, now seen corresponding path program 2 times [2021-08-27 16:30:29,992 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:29,992 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1482559801] [2021-08-27 16:30:29,992 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:29,993 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:29,997 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:29,997 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,004 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,005 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,005 INFO L82 PathProgramCache]: Analyzing trace with hash -1302973689, now seen corresponding path program 1 times [2021-08-27 16:30:30,005 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,005 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1577626442] [2021-08-27 16:30:30,005 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,006 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:30,035 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:30,035 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:30,035 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1577626442] [2021-08-27 16:30:30,036 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1577626442] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:30,036 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:30,036 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-08-27 16:30:30,036 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1432188596] [2021-08-27 16:30:30,036 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:30,036 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:30,037 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-08-27 16:30:30,037 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-08-27 16:30:30,037 INFO L87 Difference]: Start difference. First operand 674 states and 913 transitions. cyclomatic complexity: 241 Second operand has 5 states, 5 states have (on average 10.6) internal successors, (53), 5 states have internal predecessors, (53), 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-08-27 16:30:30,102 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:30,102 INFO L93 Difference]: Finished difference Result 1156 states and 1546 transitions. [2021-08-27 16:30:30,102 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-08-27 16:30:30,103 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1156 states and 1546 transitions. [2021-08-27 16:30:30,107 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 1112 [2021-08-27 16:30:30,111 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1156 states to 1156 states and 1546 transitions. [2021-08-27 16:30:30,111 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1156 [2021-08-27 16:30:30,112 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1156 [2021-08-27 16:30:30,112 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1156 states and 1546 transitions. [2021-08-27 16:30:30,114 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:30,114 INFO L681 BuchiCegarLoop]: Abstraction has 1156 states and 1546 transitions. [2021-08-27 16:30:30,114 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1156 states and 1546 transitions. [2021-08-27 16:30:30,121 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1156 to 686. [2021-08-27 16:30:30,122 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 686 states, 686 states have (on average 1.348396501457726) internal successors, (925), 685 states have internal predecessors, (925), 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-08-27 16:30:30,123 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 686 states to 686 states and 925 transitions. [2021-08-27 16:30:30,123 INFO L704 BuchiCegarLoop]: Abstraction has 686 states and 925 transitions. [2021-08-27 16:30:30,123 INFO L587 BuchiCegarLoop]: Abstraction has 686 states and 925 transitions. [2021-08-27 16:30:30,123 INFO L425 BuchiCegarLoop]: ======== Iteration 12============ [2021-08-27 16:30:30,123 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 686 states and 925 transitions. [2021-08-27 16:30:30,125 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 644 [2021-08-27 16:30:30,126 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:30,126 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:30,126 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,126 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,126 INFO L791 eck$LassoCheckResult]: Stem: 15485#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 15418#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 15276#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 15277#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 15391#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 15309#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 15310#L233-1 assume !(0 == ~M_E~0); 15327#L336-1 assume !(0 == ~T1_E~0); 15386#L341-1 assume !(0 == ~T2_E~0); 15262#L346-1 assume !(0 == ~E_M~0); 15263#L351-1 assume !(0 == ~E_1~0); 15268#L356-1 assume !(0 == ~E_2~0); 15269#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 15403#L158 assume !(1 == ~m_pc~0); 15400#L158-2 is_master_triggered_~__retres1~0 := 0; 15401#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 15430#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 15291#L417 assume !(0 != activate_threads_~tmp~1); 15292#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 15428#L177 assume !(1 == ~t1_pc~0); 15429#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 15253#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 15254#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 15361#L425 assume !(0 != activate_threads_~tmp___0~0); 15474#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 15324#L196 assume !(1 == ~t2_pc~0); 15325#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 15486#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 15475#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 15328#L433 assume !(0 != activate_threads_~tmp___1~0); 15329#L433-2 assume !(1 == ~M_E~0); 15427#L374-1 assume !(1 == ~T1_E~0); 15281#L379-1 assume !(1 == ~T2_E~0); 15272#L384-1 assume !(1 == ~E_M~0); 15273#L389-1 assume !(1 == ~E_1~0); 15421#L394-1 assume !(1 == ~E_2~0); 15422#L545-1 [2021-08-27 16:30:30,127 INFO L793 eck$LassoCheckResult]: Loop: 15422#L545-1 assume !false; 15284#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 15279#L311 assume !false; 15298#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 15320#L246 assume !(0 == ~m_st~0); 15321#L250 assume !(0 == ~t1_st~0); 15306#L254 assume !(0 == ~t2_st~0);exists_runnable_thread_~__retres1~3 := 0; 15308#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 15487#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 15895#L278 assume !(0 != eval_~tmp~0); 15414#L326 start_simulation_~kernel_st~0 := 2; 15317#L216-1 start_simulation_~kernel_st~0 := 3; 15318#L336-2 assume !(0 == ~M_E~0); 15446#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 15406#L341-3 assume !(0 == ~T2_E~0); 15407#L346-3 assume !(0 == ~E_M~0); 15339#L351-3 assume !(0 == ~E_1~0); 15340#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 15392#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 15393#L158-12 assume !(1 == ~m_pc~0); 15417#L158-14 is_master_triggered_~__retres1~0 := 0; 15404#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 15405#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 15266#L417-12 assume 0 != activate_threads_~tmp~1;~m_st~0 := 0; 15267#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 15233#L177-12 assume !(1 == ~t1_pc~0); 15234#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 15255#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 15379#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 15315#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 15316#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 15376#L196-12 assume 1 == ~t2_pc~0; 15852#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 15850#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 15848#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 15846#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 15845#L433-14 assume !(1 == ~M_E~0); 15844#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 15843#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 15842#L384-3 assume !(1 == ~E_M~0); 15841#L389-3 assume !(1 == ~E_1~0); 15840#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 15839#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 15837#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 15833#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 15830#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 15824#L564 assume !(0 == start_simulation_~tmp~3); 15820#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 15402#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 15271#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 15461#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 15451#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 15452#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 15756#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 15432#L577 assume !(0 != start_simulation_~tmp___0~1); 15422#L545-1 [2021-08-27 16:30:30,127 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,127 INFO L82 PathProgramCache]: Analyzing trace with hash -1974330332, now seen corresponding path program 3 times [2021-08-27 16:30:30,127 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,127 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [376937281] [2021-08-27 16:30:30,127 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,128 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,133 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,137 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,148 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,148 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,149 INFO L82 PathProgramCache]: Analyzing trace with hash 1261903409, now seen corresponding path program 1 times [2021-08-27 16:30:30,149 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,149 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [755400783] [2021-08-27 16:30:30,149 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,149 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:30,185 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:30,186 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:30,186 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [755400783] [2021-08-27 16:30:30,186 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [755400783] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:30,187 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:30,187 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-08-27 16:30:30,187 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [624454464] [2021-08-27 16:30:30,187 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:30,188 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:30,188 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-08-27 16:30:30,189 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-08-27 16:30:30,189 INFO L87 Difference]: Start difference. First operand 686 states and 925 transitions. cyclomatic complexity: 241 Second operand has 5 states, 5 states have (on average 11.0) internal successors, (55), 5 states have internal predecessors, (55), 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-08-27 16:30:30,273 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:30,274 INFO L93 Difference]: Finished difference Result 928 states and 1244 transitions. [2021-08-27 16:30:30,274 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-08-27 16:30:30,275 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 928 states and 1244 transitions. [2021-08-27 16:30:30,278 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 886 [2021-08-27 16:30:30,281 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 928 states to 928 states and 1244 transitions. [2021-08-27 16:30:30,281 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 928 [2021-08-27 16:30:30,282 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 928 [2021-08-27 16:30:30,282 INFO L73 IsDeterministic]: Start isDeterministic. Operand 928 states and 1244 transitions. [2021-08-27 16:30:30,282 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:30,283 INFO L681 BuchiCegarLoop]: Abstraction has 928 states and 1244 transitions. [2021-08-27 16:30:30,283 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 928 states and 1244 transitions. [2021-08-27 16:30:30,289 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 928 to 692. [2021-08-27 16:30:30,290 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 692 states, 692 states have (on average 1.323699421965318) internal successors, (916), 691 states have internal predecessors, (916), 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-08-27 16:30:30,291 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 692 states to 692 states and 916 transitions. [2021-08-27 16:30:30,291 INFO L704 BuchiCegarLoop]: Abstraction has 692 states and 916 transitions. [2021-08-27 16:30:30,291 INFO L587 BuchiCegarLoop]: Abstraction has 692 states and 916 transitions. [2021-08-27 16:30:30,292 INFO L425 BuchiCegarLoop]: ======== Iteration 13============ [2021-08-27 16:30:30,292 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 692 states and 916 transitions. [2021-08-27 16:30:30,294 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 650 [2021-08-27 16:30:30,294 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:30,294 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:30,295 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,295 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,295 INFO L791 eck$LassoCheckResult]: Stem: 17141#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 17053#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 16903#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 16904#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 17025#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 16938#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 16939#L233-1 assume !(0 == ~M_E~0); 16957#L336-1 assume !(0 == ~T1_E~0); 17019#L341-1 assume !(0 == ~T2_E~0); 16891#L346-1 assume !(0 == ~E_M~0); 16892#L351-1 assume !(0 == ~E_1~0); 16897#L356-1 assume !(0 == ~E_2~0); 16898#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 17038#L158 assume !(1 == ~m_pc~0); 17035#L158-2 is_master_triggered_~__retres1~0 := 0; 17036#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 17070#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 16920#L417 assume !(0 != activate_threads_~tmp~1); 16921#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 17067#L177 assume !(1 == ~t1_pc~0); 17068#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 16882#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 16883#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 16992#L425 assume !(0 != activate_threads_~tmp___0~0); 17121#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 16954#L196 assume !(1 == ~t2_pc~0); 16955#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 17144#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 17125#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 16958#L433 assume !(0 != activate_threads_~tmp___1~0); 16959#L433-2 assume !(1 == ~M_E~0); 17064#L374-1 assume !(1 == ~T1_E~0); 16910#L379-1 assume !(1 == ~T2_E~0); 16901#L384-1 assume !(1 == ~E_M~0); 16902#L389-1 assume !(1 == ~E_1~0); 17058#L394-1 assume !(1 == ~E_2~0); 17059#L545-1 [2021-08-27 16:30:30,295 INFO L793 eck$LassoCheckResult]: Loop: 17059#L545-1 assume !false; 17445#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 17443#L311 assume !false; 17418#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 17413#L246 assume !(0 == ~m_st~0); 17414#L250 assume !(0 == ~t1_st~0); 17415#L254 assume !(0 == ~t2_st~0);exists_runnable_thread_~__retres1~3 := 0; 17416#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 17403#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 17404#L278 assume !(0 != eval_~tmp~0); 17500#L326 start_simulation_~kernel_st~0 := 2; 17499#L216-1 start_simulation_~kernel_st~0 := 3; 17498#L336-2 assume !(0 == ~M_E~0); 17497#L336-4 assume 0 == ~T1_E~0;~T1_E~0 := 1; 17496#L341-3 assume !(0 == ~T2_E~0); 17495#L346-3 assume !(0 == ~E_M~0); 17494#L351-3 assume !(0 == ~E_1~0); 17092#L356-3 assume 0 == ~E_2~0;~E_2~0 := 1; 17026#L361-3 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 17027#L158-12 assume !(1 == ~m_pc~0); 17052#L158-14 is_master_triggered_~__retres1~0 := 0; 17039#L169-4 is_master_triggered_#res := is_master_triggered_~__retres1~0; 16997#L170-4 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 16895#L417-12 assume !(0 != activate_threads_~tmp~1); 16896#L417-14 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 16860#L177-12 assume !(1 == ~t1_pc~0); 16861#L177-14 is_transmit1_triggered_~__retres1~1 := 0; 16884#L188-4 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 17011#L189-4 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 16944#L425-12 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 16945#L425-14 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 17008#L196-12 assume 1 == ~t2_pc~0; 17136#L197-4 assume 1 == ~E_2~0;is_transmit2_triggered_~__retres1~2 := 1; 17391#L207-4 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 17388#L208-4 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 17385#L433-12 assume 0 != activate_threads_~tmp___1~0;~t2_st~0 := 0; 17382#L433-14 assume !(1 == ~M_E~0); 17063#L374-3 assume 1 == ~T1_E~0;~T1_E~0 := 2; 16962#L379-3 assume 1 == ~T2_E~0;~T2_E~0 := 2; 16963#L384-3 assume !(1 == ~E_M~0); 16974#L389-3 assume !(1 == ~E_1~0); 17047#L394-3 assume 1 == ~E_2~0;~E_2~0 := 2; 17375#L399-3 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 17372#L246-1 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 17369#L263-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 17093#L264-1 start_simulation_#t~ret16 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret16;havoc start_simulation_#t~ret16; 17094#L564 assume !(0 == start_simulation_~tmp~3); 17364#L564-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret15, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 17466#L246-2 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 17463#L263-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 17461#L264-2 stop_simulation_#t~ret15 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret15;havoc stop_simulation_#t~ret15; 17459#L519 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 17456#L526 stop_simulation_#res := stop_simulation_~__retres2~0; 17453#L527 start_simulation_#t~ret17 := stop_simulation_#res;start_simulation_~tmp___0~1 := start_simulation_#t~ret17;havoc start_simulation_#t~ret17; 17450#L577 assume !(0 != start_simulation_~tmp___0~1); 17059#L545-1 [2021-08-27 16:30:30,295 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,295 INFO L82 PathProgramCache]: Analyzing trace with hash -1974330332, now seen corresponding path program 4 times [2021-08-27 16:30:30,296 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,296 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [402102406] [2021-08-27 16:30:30,296 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,296 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,301 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,313 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,314 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,315 INFO L82 PathProgramCache]: Analyzing trace with hash 1536663023, now seen corresponding path program 1 times [2021-08-27 16:30:30,315 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,315 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [176359657] [2021-08-27 16:30:30,315 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,315 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,319 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:30,331 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:30,331 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:30,331 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [176359657] [2021-08-27 16:30:30,331 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [176359657] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:30,331 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:30,332 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:30,332 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1259783355] [2021-08-27 16:30:30,332 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-08-27 16:30:30,333 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:30,334 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:30,335 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:30,335 INFO L87 Difference]: Start difference. First operand 692 states and 916 transitions. cyclomatic complexity: 226 Second operand has 3 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 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-08-27 16:30:30,350 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:30,351 INFO L93 Difference]: Finished difference Result 917 states and 1198 transitions. [2021-08-27 16:30:30,351 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:30,351 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 917 states and 1198 transitions. [2021-08-27 16:30:30,355 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 873 [2021-08-27 16:30:30,357 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 917 states to 917 states and 1198 transitions. [2021-08-27 16:30:30,357 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 917 [2021-08-27 16:30:30,358 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 917 [2021-08-27 16:30:30,358 INFO L73 IsDeterministic]: Start isDeterministic. Operand 917 states and 1198 transitions. [2021-08-27 16:30:30,359 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:30,359 INFO L681 BuchiCegarLoop]: Abstraction has 917 states and 1198 transitions. [2021-08-27 16:30:30,359 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 917 states and 1198 transitions. [2021-08-27 16:30:30,366 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 917 to 917. [2021-08-27 16:30:30,368 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 917 states, 917 states have (on average 1.306434023991276) internal successors, (1198), 916 states have internal predecessors, (1198), 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-08-27 16:30:30,369 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 917 states to 917 states and 1198 transitions. [2021-08-27 16:30:30,369 INFO L704 BuchiCegarLoop]: Abstraction has 917 states and 1198 transitions. [2021-08-27 16:30:30,369 INFO L587 BuchiCegarLoop]: Abstraction has 917 states and 1198 transitions. [2021-08-27 16:30:30,369 INFO L425 BuchiCegarLoop]: ======== Iteration 14============ [2021-08-27 16:30:30,369 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 917 states and 1198 transitions. [2021-08-27 16:30:30,375 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 873 [2021-08-27 16:30:30,375 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:30,375 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:30,375 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,376 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,376 INFO L791 eck$LassoCheckResult]: Stem: 18724#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 18659#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 18516#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 18517#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 18633#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 18552#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 18553#L233-1 assume !(0 == ~M_E~0); 18571#L336-1 assume !(0 == ~T1_E~0); 18628#L341-1 assume !(0 == ~T2_E~0); 18504#L346-1 assume !(0 == ~E_M~0); 18505#L351-1 assume !(0 == ~E_1~0); 18510#L356-1 assume !(0 == ~E_2~0); 18511#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 18646#L158 assume !(1 == ~m_pc~0); 18642#L158-2 is_master_triggered_~__retres1~0 := 0; 18643#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 18675#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 18534#L417 assume !(0 != activate_threads_~tmp~1); 18535#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 18672#L177 assume !(1 == ~t1_pc~0); 18673#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 18494#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 18495#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 18601#L425 assume !(0 != activate_threads_~tmp___0~0); 18714#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 18564#L196 assume !(1 == ~t2_pc~0); 18565#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 18578#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 18579#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 18572#L433 assume !(0 != activate_threads_~tmp___1~0); 18573#L433-2 assume !(1 == ~M_E~0); 18671#L374-1 assume !(1 == ~T1_E~0); 18523#L379-1 assume !(1 == ~T2_E~0); 18514#L384-1 assume !(1 == ~E_M~0); 18515#L389-1 assume !(1 == ~E_1~0); 18666#L394-1 assume !(1 == ~E_2~0); 18667#L545-1 assume !false; 18768#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 18763#L311 [2021-08-27 16:30:30,376 INFO L793 eck$LassoCheckResult]: Loop: 18763#L311 assume !false; 18761#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 18759#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 18756#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 18754#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 18752#L278 assume 0 != eval_~tmp~0; 18750#L278-1 assume 0 == ~m_st~0;havoc eval_~tmp_ndt_1~0;eval_~tmp_ndt_1~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 18747#L286 assume !(0 != eval_~tmp_ndt_1~0); 18748#L283 assume !(0 == ~t1_st~0); 18772#L297 assume !(0 == ~t2_st~0); 18763#L311 [2021-08-27 16:30:30,377 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,377 INFO L82 PathProgramCache]: Analyzing trace with hash 1044101446, now seen corresponding path program 1 times [2021-08-27 16:30:30,377 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,377 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1447331931] [2021-08-27 16:30:30,377 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,377 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,384 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,390 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,393 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,394 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,394 INFO L82 PathProgramCache]: Analyzing trace with hash -1924965839, now seen corresponding path program 1 times [2021-08-27 16:30:30,394 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,394 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [159885783] [2021-08-27 16:30:30,394 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,395 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,398 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,399 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,400 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,401 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,401 INFO L82 PathProgramCache]: Analyzing trace with hash -460324554, now seen corresponding path program 1 times [2021-08-27 16:30:30,401 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,401 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1523550229] [2021-08-27 16:30:30,401 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,402 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,406 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:30,417 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:30,417 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:30,417 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1523550229] [2021-08-27 16:30:30,417 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1523550229] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:30,417 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:30,418 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:30,418 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1298204129] [2021-08-27 16:30:30,497 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:30,498 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:30,498 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:30,498 INFO L87 Difference]: Start difference. First operand 917 states and 1198 transitions. cyclomatic complexity: 284 Second operand has 3 states, 3 states have (on average 16.0) internal successors, (48), 3 states have internal predecessors, (48), 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-08-27 16:30:30,556 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:30,568 INFO L93 Difference]: Finished difference Result 1643 states and 2118 transitions. [2021-08-27 16:30:30,568 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:30,568 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1643 states and 2118 transitions. [2021-08-27 16:30:30,574 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 1560 [2021-08-27 16:30:30,579 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1643 states to 1643 states and 2118 transitions. [2021-08-27 16:30:30,586 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1643 [2021-08-27 16:30:30,587 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1643 [2021-08-27 16:30:30,587 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1643 states and 2118 transitions. [2021-08-27 16:30:30,589 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:30,589 INFO L681 BuchiCegarLoop]: Abstraction has 1643 states and 2118 transitions. [2021-08-27 16:30:30,589 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1643 states and 2118 transitions. [2021-08-27 16:30:30,617 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1643 to 1591. [2021-08-27 16:30:30,619 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1591 states, 1591 states have (on average 1.2910119421747328) internal successors, (2054), 1590 states have internal predecessors, (2054), 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-08-27 16:30:30,621 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1591 states to 1591 states and 2054 transitions. [2021-08-27 16:30:30,621 INFO L704 BuchiCegarLoop]: Abstraction has 1591 states and 2054 transitions. [2021-08-27 16:30:30,622 INFO L587 BuchiCegarLoop]: Abstraction has 1591 states and 2054 transitions. [2021-08-27 16:30:30,622 INFO L425 BuchiCegarLoop]: ======== Iteration 15============ [2021-08-27 16:30:30,622 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1591 states and 2054 transitions. [2021-08-27 16:30:30,625 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 1508 [2021-08-27 16:30:30,626 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:30,626 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:30,627 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,627 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,627 INFO L791 eck$LassoCheckResult]: Stem: 21305#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 21234#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 21086#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 21087#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 21208#L223-1 assume !(1 == ~t1_i~0);~t1_st~0 := 2; 21122#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 21123#L233-1 assume !(0 == ~M_E~0); 21141#L336-1 assume !(0 == ~T1_E~0); 21202#L341-1 assume !(0 == ~T2_E~0); 21074#L346-1 assume !(0 == ~E_M~0); 21075#L351-1 assume !(0 == ~E_1~0); 21080#L356-1 assume !(0 == ~E_2~0); 21081#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 21222#L158 assume !(1 == ~m_pc~0); 21219#L158-2 is_master_triggered_~__retres1~0 := 0; 21220#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 21252#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 21104#L417 assume !(0 != activate_threads_~tmp~1); 21105#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 21246#L177 assume !(1 == ~t1_pc~0); 21247#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 21306#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 22188#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 22187#L425 assume 0 != activate_threads_~tmp___0~0;~t1_st~0 := 0; 21300#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 21138#L196 assume !(1 == ~t2_pc~0); 21139#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 21148#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 21149#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 21142#L433 assume !(0 != activate_threads_~tmp___1~0); 21143#L433-2 assume !(1 == ~M_E~0); 21245#L374-1 assume !(1 == ~T1_E~0); 21093#L379-1 assume !(1 == ~T2_E~0); 21094#L384-1 assume !(1 == ~E_M~0); 21254#L389-1 assume !(1 == ~E_1~0); 21255#L394-1 assume !(1 == ~E_2~0); 22161#L545-1 assume !false; 22151#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 22149#L311 [2021-08-27 16:30:30,627 INFO L793 eck$LassoCheckResult]: Loop: 22149#L311 assume !false; 22147#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 22146#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 22145#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 22143#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 22140#L278 assume 0 != eval_~tmp~0; 22136#L278-1 assume 0 == ~m_st~0;havoc eval_~tmp_ndt_1~0;eval_~tmp_ndt_1~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 22131#L286 assume !(0 != eval_~tmp_ndt_1~0); 22132#L283 assume 0 == ~t1_st~0;havoc eval_~tmp_ndt_2~0;eval_~tmp_ndt_2~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 22162#L300 assume !(0 != eval_~tmp_ndt_2~0); 22155#L297 assume !(0 == ~t2_st~0); 22149#L311 [2021-08-27 16:30:30,628 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,628 INFO L82 PathProgramCache]: Analyzing trace with hash 79981826, now seen corresponding path program 1 times [2021-08-27 16:30:30,628 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,628 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [19145555] [2021-08-27 16:30:30,628 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,628 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:30,641 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:30,642 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:30,642 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [19145555] [2021-08-27 16:30:30,642 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [19145555] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:30,642 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:30,642 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 16:30:30,642 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1932916483] [2021-08-27 16:30:30,643 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 16:30:30,643 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,643 INFO L82 PathProgramCache]: Analyzing trace with hash 455496318, now seen corresponding path program 1 times [2021-08-27 16:30:30,643 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,643 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1042485537] [2021-08-27 16:30:30,643 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,643 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,647 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,649 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,764 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:30,765 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:30,765 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:30,765 INFO L87 Difference]: Start difference. First operand 1591 states and 2054 transitions. cyclomatic complexity: 466 Second operand has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 16:30:30,773 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:30,773 INFO L93 Difference]: Finished difference Result 1554 states and 2006 transitions. [2021-08-27 16:30:30,773 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:30,774 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1554 states and 2006 transitions. [2021-08-27 16:30:30,778 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 1508 [2021-08-27 16:30:30,782 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1554 states to 1554 states and 2006 transitions. [2021-08-27 16:30:30,783 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1554 [2021-08-27 16:30:30,783 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1554 [2021-08-27 16:30:30,783 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1554 states and 2006 transitions. [2021-08-27 16:30:30,784 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:30,785 INFO L681 BuchiCegarLoop]: Abstraction has 1554 states and 2006 transitions. [2021-08-27 16:30:30,785 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1554 states and 2006 transitions. [2021-08-27 16:30:30,795 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1554 to 1554. [2021-08-27 16:30:30,797 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1554 states, 1554 states have (on average 1.2908622908622909) internal successors, (2006), 1553 states have internal predecessors, (2006), 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-08-27 16:30:30,799 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1554 states to 1554 states and 2006 transitions. [2021-08-27 16:30:30,800 INFO L704 BuchiCegarLoop]: Abstraction has 1554 states and 2006 transitions. [2021-08-27 16:30:30,800 INFO L587 BuchiCegarLoop]: Abstraction has 1554 states and 2006 transitions. [2021-08-27 16:30:30,800 INFO L425 BuchiCegarLoop]: ======== Iteration 16============ [2021-08-27 16:30:30,800 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1554 states and 2006 transitions. [2021-08-27 16:30:30,803 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 1508 [2021-08-27 16:30:30,803 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:30,803 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:30,803 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,803 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:30,804 INFO L791 eck$LassoCheckResult]: Stem: 24444#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 24377#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 24236#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 24237#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 24353#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 24271#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 24272#L233-1 assume !(0 == ~M_E~0); 24290#L336-1 assume !(0 == ~T1_E~0); 24347#L341-1 assume !(0 == ~T2_E~0); 24224#L346-1 assume !(0 == ~E_M~0); 24225#L351-1 assume !(0 == ~E_1~0); 24230#L356-1 assume !(0 == ~E_2~0); 24231#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 24365#L158 assume !(1 == ~m_pc~0); 24362#L158-2 is_master_triggered_~__retres1~0 := 0; 24363#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 24392#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 24253#L417 assume !(0 != activate_threads_~tmp~1); 24254#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 24389#L177 assume !(1 == ~t1_pc~0); 24390#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 24214#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 24215#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 24319#L425 assume !(0 != activate_threads_~tmp___0~0); 24436#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 24283#L196 assume !(1 == ~t2_pc~0); 24284#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 24297#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 24298#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 24291#L433 assume !(0 != activate_threads_~tmp___1~0); 24292#L433-2 assume !(1 == ~M_E~0); 24388#L374-1 assume !(1 == ~T1_E~0); 24243#L379-1 assume !(1 == ~T2_E~0); 24234#L384-1 assume !(1 == ~E_M~0); 24235#L389-1 assume !(1 == ~E_1~0); 24382#L394-1 assume !(1 == ~E_2~0); 24383#L545-1 assume !false; 25105#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 24989#L311 [2021-08-27 16:30:30,804 INFO L793 eck$LassoCheckResult]: Loop: 24989#L311 assume !false; 24988#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 24880#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 24881#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 24902#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 24901#L278 assume 0 != eval_~tmp~0; 24900#L278-1 assume 0 == ~m_st~0;havoc eval_~tmp_ndt_1~0;eval_~tmp_ndt_1~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 24644#L286 assume !(0 != eval_~tmp_ndt_1~0); 24640#L283 assume 0 == ~t1_st~0;havoc eval_~tmp_ndt_2~0;eval_~tmp_ndt_2~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 24636#L300 assume !(0 != eval_~tmp_ndt_2~0); 24638#L297 assume !(0 == ~t2_st~0); 24989#L311 [2021-08-27 16:30:30,804 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,804 INFO L82 PathProgramCache]: Analyzing trace with hash 1044101446, now seen corresponding path program 2 times [2021-08-27 16:30:30,804 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,804 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1807181545] [2021-08-27 16:30:30,805 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,805 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,809 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,812 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,815 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,815 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,816 INFO L82 PathProgramCache]: Analyzing trace with hash 455496318, now seen corresponding path program 2 times [2021-08-27 16:30:30,816 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,816 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [749050559] [2021-08-27 16:30:30,816 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,816 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,818 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,818 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:30,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:30,819 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:30,820 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:30,820 INFO L82 PathProgramCache]: Analyzing trace with hash -1385264103, now seen corresponding path program 1 times [2021-08-27 16:30:30,820 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:30,820 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1638669330] [2021-08-27 16:30:30,820 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:30,820 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:30,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 16:30:30,832 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 16:30:30,832 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 16:30:30,833 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1638669330] [2021-08-27 16:30:30,833 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1638669330] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 16:30:30,833 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 16:30:30,833 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-27 16:30:30,833 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2067959319] [2021-08-27 16:30:30,902 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 16:30:30,903 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-08-27 16:30:30,903 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-08-27 16:30:30,903 INFO L87 Difference]: Start difference. First operand 1554 states and 2006 transitions. cyclomatic complexity: 455 Second operand has 3 states, 2 states have (on average 24.5) internal successors, (49), 3 states have internal predecessors, (49), 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-08-27 16:30:30,955 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 16:30:30,956 INFO L93 Difference]: Finished difference Result 2438 states and 3112 transitions. [2021-08-27 16:30:30,956 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-08-27 16:30:30,956 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2438 states and 3112 transitions. [2021-08-27 16:30:30,967 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 2388 [2021-08-27 16:30:30,983 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2438 states to 2438 states and 3112 transitions. [2021-08-27 16:30:30,983 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2438 [2021-08-27 16:30:30,985 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2438 [2021-08-27 16:30:30,985 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2438 states and 3112 transitions. [2021-08-27 16:30:30,988 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 16:30:30,988 INFO L681 BuchiCegarLoop]: Abstraction has 2438 states and 3112 transitions. [2021-08-27 16:30:30,990 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2438 states and 3112 transitions. [2021-08-27 16:30:31,016 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2438 to 2390. [2021-08-27 16:30:31,020 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2390 states, 2390 states have (on average 1.2820083682008367) internal successors, (3064), 2389 states have internal predecessors, (3064), 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-08-27 16:30:31,025 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2390 states to 2390 states and 3064 transitions. [2021-08-27 16:30:31,025 INFO L704 BuchiCegarLoop]: Abstraction has 2390 states and 3064 transitions. [2021-08-27 16:30:31,025 INFO L587 BuchiCegarLoop]: Abstraction has 2390 states and 3064 transitions. [2021-08-27 16:30:31,025 INFO L425 BuchiCegarLoop]: ======== Iteration 17============ [2021-08-27 16:30:31,025 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2390 states and 3064 transitions. [2021-08-27 16:30:31,032 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 2340 [2021-08-27 16:30:31,032 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 16:30:31,032 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 16:30:31,033 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:31,033 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 16:30:31,033 INFO L791 eck$LassoCheckResult]: Stem: 28462#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(22);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~m_pc~0 := 0;~t1_pc~0 := 0;~t2_pc~0 := 0;~m_st~0 := 0;~t1_st~0 := 0;~t2_st~0 := 0;~m_i~0 := 0;~t1_i~0 := 0;~t2_i~0 := 0;~M_E~0 := 2;~T1_E~0 := 2;~T2_E~0 := 2;~E_M~0 := 2;~E_1~0 := 2;~E_2~0 := 2;~token~0 := 0;~local~0 := 0; 28387#L-1 havoc main_#res;havoc main_~__retres1~4;havoc main_~__retres1~4;~m_i~0 := 1;~t1_i~0 := 1;~t2_i~0 := 1; 28237#L508 havoc start_simulation_#t~ret16, start_simulation_#t~ret17, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~1;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~1;start_simulation_~kernel_st~0 := 0; 28238#L216 assume 1 == ~m_i~0;~m_st~0 := 0; 28360#L223-1 assume 1 == ~t1_i~0;~t1_st~0 := 0; 28272#L228-1 assume 1 == ~t2_i~0;~t2_st~0 := 0; 28273#L233-1 assume !(0 == ~M_E~0); 28291#L336-1 assume !(0 == ~T1_E~0); 28354#L341-1 assume !(0 == ~T2_E~0); 28225#L346-1 assume !(0 == ~E_M~0); 28226#L351-1 assume !(0 == ~E_1~0); 28231#L356-1 assume !(0 == ~E_2~0); 28232#L361-1 havoc activate_threads_#t~ret12, activate_threads_#t~ret13, activate_threads_#t~ret14, activate_threads_~tmp~1, activate_threads_~tmp___0~0, activate_threads_~tmp___1~0;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~0;havoc activate_threads_~tmp___1~0;havoc is_master_triggered_#res;havoc is_master_triggered_~__retres1~0;havoc is_master_triggered_~__retres1~0; 28372#L158 assume !(1 == ~m_pc~0); 28369#L158-2 is_master_triggered_~__retres1~0 := 0; 28370#L169 is_master_triggered_#res := is_master_triggered_~__retres1~0; 28404#L170 activate_threads_#t~ret12 := is_master_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 28254#L417 assume !(0 != activate_threads_~tmp~1); 28255#L417-2 havoc is_transmit1_triggered_#res;havoc is_transmit1_triggered_~__retres1~1;havoc is_transmit1_triggered_~__retres1~1; 28401#L177 assume !(1 == ~t1_pc~0); 28402#L177-2 is_transmit1_triggered_~__retres1~1 := 0; 28214#L188 is_transmit1_triggered_#res := is_transmit1_triggered_~__retres1~1; 28215#L189 activate_threads_#t~ret13 := is_transmit1_triggered_#res;activate_threads_~tmp___0~0 := activate_threads_#t~ret13;havoc activate_threads_#t~ret13; 28322#L425 assume !(0 != activate_threads_~tmp___0~0); 28451#L425-2 havoc is_transmit2_triggered_#res;havoc is_transmit2_triggered_~__retres1~2;havoc is_transmit2_triggered_~__retres1~2; 28284#L196 assume !(1 == ~t2_pc~0); 28285#L196-2 is_transmit2_triggered_~__retres1~2 := 0; 28298#L207 is_transmit2_triggered_#res := is_transmit2_triggered_~__retres1~2; 28299#L208 activate_threads_#t~ret14 := is_transmit2_triggered_#res;activate_threads_~tmp___1~0 := activate_threads_#t~ret14;havoc activate_threads_#t~ret14; 28292#L433 assume !(0 != activate_threads_~tmp___1~0); 28293#L433-2 assume !(1 == ~M_E~0); 28398#L374-1 assume !(1 == ~T1_E~0); 28243#L379-1 assume !(1 == ~T2_E~0); 28235#L384-1 assume !(1 == ~E_M~0); 28236#L389-1 assume !(1 == ~E_1~0); 28392#L394-1 assume !(1 == ~E_2~0); 28393#L545-1 assume !false; 29509#L546 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_~tmp_ndt_1~0, eval_#t~nondet10, eval_~tmp_ndt_2~0, eval_#t~nondet11, eval_~tmp_ndt_3~0, eval_~tmp~0;havoc eval_~tmp~0; 29507#L311 [2021-08-27 16:30:31,033 INFO L793 eck$LassoCheckResult]: Loop: 29507#L311 assume !false; 29505#L274 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~3;havoc exists_runnable_thread_~__retres1~3; 29502#L246 assume 0 == ~m_st~0;exists_runnable_thread_~__retres1~3 := 1; 29496#L263 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~3; 29493#L264 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp~0 := eval_#t~ret8;havoc eval_#t~ret8; 29489#L278 assume 0 != eval_~tmp~0; 29304#L278-1 assume 0 == ~m_st~0;havoc eval_~tmp_ndt_1~0;eval_~tmp_ndt_1~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 29301#L286 assume !(0 != eval_~tmp_ndt_1~0); 29298#L283 assume 0 == ~t1_st~0;havoc eval_~tmp_ndt_2~0;eval_~tmp_ndt_2~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 29239#L300 assume !(0 != eval_~tmp_ndt_2~0); 29240#L297 assume 0 == ~t2_st~0;havoc eval_~tmp_ndt_3~0;eval_~tmp_ndt_3~0 := eval_#t~nondet11;havoc eval_#t~nondet11; 29510#L314 assume !(0 != eval_~tmp_ndt_3~0); 29507#L311 [2021-08-27 16:30:31,034 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:31,034 INFO L82 PathProgramCache]: Analyzing trace with hash 1044101446, now seen corresponding path program 3 times [2021-08-27 16:30:31,035 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:31,035 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1010892156] [2021-08-27 16:30:31,035 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:31,035 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:31,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:31,042 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:31,050 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:31,059 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:31,060 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:31,060 INFO L82 PathProgramCache]: Analyzing trace with hash 1235481233, now seen corresponding path program 1 times [2021-08-27 16:30:31,060 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:31,060 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1529141196] [2021-08-27 16:30:31,060 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:31,061 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:31,063 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:31,064 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:31,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:31,066 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:31,067 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 16:30:31,067 INFO L82 PathProgramCache]: Analyzing trace with hash 6483030, now seen corresponding path program 1 times [2021-08-27 16:30:31,067 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 16:30:31,068 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2051509804] [2021-08-27 16:30:31,068 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 16:30:31,068 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 16:30:31,086 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:31,087 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 16:30:31,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 16:30:31,098 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 16:30:31,990 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 27.08 04:30:31 BoogieIcfgContainer [2021-08-27 16:30:31,990 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-08-27 16:30:31,991 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-27 16:30:31,991 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-27 16:30:31,991 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-27 16:30:31,991 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 04:30:28" (3/4) ... [2021-08-27 16:30:31,993 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-08-27 16:30:32,016 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-27 16:30:32,016 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-27 16:30:32,017 INFO L168 Benchmark]: Toolchain (without parser) took 4759.05 ms. Allocated memory was 65.0 MB in the beginning and 213.9 MB in the end (delta: 148.9 MB). Free memory was 45.7 MB in the beginning and 99.9 MB in the end (delta: -54.2 MB). Peak memory consumption was 93.9 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,018 INFO L168 Benchmark]: CDTParser took 0.14 ms. Allocated memory is still 65.0 MB. Free memory was 46.3 MB in the beginning and 46.3 MB in the end (delta: 32.0 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-08-27 16:30:32,018 INFO L168 Benchmark]: CACSL2BoogieTranslator took 252.54 ms. Allocated memory is still 65.0 MB. Free memory was 45.5 MB in the beginning and 46.0 MB in the end (delta: -486.3 kB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,018 INFO L168 Benchmark]: Boogie Procedure Inliner took 31.58 ms. Allocated memory is still 65.0 MB. Free memory was 45.8 MB in the beginning and 42.9 MB in the end (delta: 2.9 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,018 INFO L168 Benchmark]: Boogie Preprocessor took 33.78 ms. Allocated memory is still 65.0 MB. Free memory was 42.9 MB in the beginning and 40.5 MB in the end (delta: 2.4 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,019 INFO L168 Benchmark]: RCFGBuilder took 629.42 ms. Allocated memory was 65.0 MB in the beginning and 86.0 MB in the end (delta: 21.0 MB). Free memory was 40.3 MB in the beginning and 43.1 MB in the end (delta: -2.8 MB). Peak memory consumption was 22.4 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,019 INFO L168 Benchmark]: BuchiAutomizer took 3779.00 ms. Allocated memory was 86.0 MB in the beginning and 213.9 MB in the end (delta: 127.9 MB). Free memory was 43.1 MB in the beginning and 102.0 MB in the end (delta: -58.9 MB). Peak memory consumption was 93.8 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,019 INFO L168 Benchmark]: Witness Printer took 25.82 ms. Allocated memory is still 213.9 MB. Free memory was 102.0 MB in the beginning and 99.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 16:30:32,020 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.14 ms. Allocated memory is still 65.0 MB. Free memory was 46.3 MB in the beginning and 46.3 MB in the end (delta: 32.0 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 252.54 ms. Allocated memory is still 65.0 MB. Free memory was 45.5 MB in the beginning and 46.0 MB in the end (delta: -486.3 kB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 31.58 ms. Allocated memory is still 65.0 MB. Free memory was 45.8 MB in the beginning and 42.9 MB in the end (delta: 2.9 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 33.78 ms. Allocated memory is still 65.0 MB. Free memory was 42.9 MB in the beginning and 40.5 MB in the end (delta: 2.4 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * RCFGBuilder took 629.42 ms. Allocated memory was 65.0 MB in the beginning and 86.0 MB in the end (delta: 21.0 MB). Free memory was 40.3 MB in the beginning and 43.1 MB in the end (delta: -2.8 MB). Peak memory consumption was 22.4 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 3779.00 ms. Allocated memory was 86.0 MB in the beginning and 213.9 MB in the end (delta: 127.9 MB). Free memory was 43.1 MB in the beginning and 102.0 MB in the end (delta: -58.9 MB). Peak memory consumption was 93.8 MB. Max. memory is 16.1 GB. * Witness Printer took 25.82 ms. Allocated memory is still 213.9 MB. Free memory was 102.0 MB in the beginning and 99.9 MB in the end (delta: 2.1 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 16 terminating modules (16 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.16 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 2390 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.7s and 17 iterations. TraceHistogramMax:1. Analysis of lassos took 2.3s. Construction of modules took 0.3s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 0. Minimization of det autom 16. Minimization of nondet autom 0. Automata minimization 240.2ms AutomataMinimizationTime, 16 MinimizatonAttempts, 2273 StatesRemovedByMinimization, 10 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 2390 states and ocurred in iteration 16. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 5205 SDtfs, 6133 SDslu, 4842 SDs, 0 SdLazy, 453 SolverSat, 162 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 366.9ms Time LassoAnalysisResults: nont1 unkn0 SFLI4 SFLT0 conc2 concLT0 SILN1 SILU0 SILI9 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: 273]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=21807} State at position 1 is {NULL=0, token=0, NULL=21807, tmp=1, __retres1=0, kernel_st=1, t2_st=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3506bd54=0, E_1=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7543a290=0, NULL=0, NULL=0, tmp_ndt_2=0, \result=0, m_st=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5e483595=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1d9250c9=0, NULL=0, tmp___0=0, tmp=0, __retres1=0, m_pc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@75fbb5ef=0, NULL=21810, \result=0, __retres1=0, \result=0, T2_E=2, tmp___0=0, t1_pc=0, E_2=2, __retres1=1, T1_E=2, NULL=21809, tmp_ndt_1=0, NULL=0, M_E=2, tmp=0, tmp_ndt_3=0, __retres1=0, NULL=21808, t2_i=1, m_i=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@109e890c=0, t1_st=0, local=0, t2_pc=0, E_M=2, tmp___1=0, t1_i=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5306648e=0, \result=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@639be636=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1cdf1ba9=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 273]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L16] int m_pc = 0; [L17] int t1_pc = 0; [L18] int t2_pc = 0; [L19] int m_st ; [L20] int t1_st ; [L21] int t2_st ; [L22] int m_i ; [L23] int t1_i ; [L24] int t2_i ; [L25] int M_E = 2; [L26] int T1_E = 2; [L27] int T2_E = 2; [L28] int E_M = 2; [L29] int E_1 = 2; [L30] int E_2 = 2; [L35] int token ; [L37] int local ; [L590] int __retres1 ; [L504] m_i = 1 [L505] t1_i = 1 [L506] t2_i = 1 [L531] int kernel_st ; [L532] int tmp ; [L533] int tmp___0 ; [L537] kernel_st = 0 [L223] COND TRUE m_i == 1 [L224] m_st = 0 [L228] COND TRUE t1_i == 1 [L229] t1_st = 0 [L233] COND TRUE t2_i == 1 [L234] t2_st = 0 [L336] COND FALSE !(M_E == 0) [L341] COND FALSE !(T1_E == 0) [L346] COND FALSE !(T2_E == 0) [L351] COND FALSE !(E_M == 0) [L356] COND FALSE !(E_1 == 0) [L361] COND FALSE !(E_2 == 0) [L409] int tmp ; [L410] int tmp___0 ; [L411] int tmp___1 ; [L155] int __retres1 ; [L158] COND FALSE !(m_pc == 1) [L168] __retres1 = 0 [L170] return (__retres1); [L415] tmp = is_master_triggered() [L417] COND FALSE !(\read(tmp)) [L174] int __retres1 ; [L177] COND FALSE !(t1_pc == 1) [L187] __retres1 = 0 [L189] return (__retres1); [L423] tmp___0 = is_transmit1_triggered() [L425] COND FALSE !(\read(tmp___0)) [L193] int __retres1 ; [L196] COND FALSE !(t2_pc == 1) [L206] __retres1 = 0 [L208] return (__retres1); [L431] tmp___1 = is_transmit2_triggered() [L433] COND FALSE !(\read(tmp___1)) [L374] COND FALSE !(M_E == 1) [L379] COND FALSE !(T1_E == 1) [L384] COND FALSE !(T2_E == 1) [L389] COND FALSE !(E_M == 1) [L394] COND FALSE !(E_1 == 1) [L399] COND FALSE !(E_2 == 1) [L545] COND TRUE 1 [L548] kernel_st = 1 [L269] int tmp ; Loop: [L273] COND TRUE 1 [L243] int __retres1 ; [L246] COND TRUE m_st == 0 [L247] __retres1 = 1 [L264] return (__retres1); [L276] tmp = exists_runnable_thread() [L278] COND TRUE \read(tmp) [L283] COND TRUE m_st == 0 [L284] int tmp_ndt_1; [L285] tmp_ndt_1 = __VERIFIER_nondet_int() [L286] COND FALSE !(\read(tmp_ndt_1)) [L297] COND TRUE t1_st == 0 [L298] int tmp_ndt_2; [L299] tmp_ndt_2 = __VERIFIER_nondet_int() [L300] COND FALSE !(\read(tmp_ndt_2)) [L311] COND TRUE t2_st == 0 [L312] int tmp_ndt_3; [L313] tmp_ndt_3 = __VERIFIER_nondet_int() [L314] COND FALSE !(\read(tmp_ndt_3)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-08-27 16:30:32,052 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...