./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/kundu.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version c3fed411 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/kundu.cil.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 941010afb19994aa6e2e07f5c4b80f87a4c5e60b4e0ef3217e91339d9dc3aacb --- Real Ultimate output --- This is Ultimate 0.2.2-tmp.no-commuhash-c3fed41 [2021-12-16 10:04:09,202 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-16 10:04:09,204 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-16 10:04:09,268 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-16 10:04:09,269 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-16 10:04:09,271 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-16 10:04:09,272 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-16 10:04:09,279 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-16 10:04:09,281 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-16 10:04:09,285 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-16 10:04:09,285 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-16 10:04:09,287 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-16 10:04:09,287 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-16 10:04:09,289 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-16 10:04:09,290 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-16 10:04:09,293 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-16 10:04:09,294 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-16 10:04:09,295 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-16 10:04:09,297 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-16 10:04:09,302 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-16 10:04:09,303 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-16 10:04:09,304 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-16 10:04:09,305 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-16 10:04:09,306 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-16 10:04:09,311 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-16 10:04:09,312 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-16 10:04:09,312 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-16 10:04:09,313 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-16 10:04:09,313 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-16 10:04:09,314 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-16 10:04:09,314 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-16 10:04:09,315 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-16 10:04:09,317 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-16 10:04:09,317 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-16 10:04:09,318 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-16 10:04:09,319 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-16 10:04:09,320 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-16 10:04:09,320 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-16 10:04:09,320 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-16 10:04:09,321 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-16 10:04:09,321 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-16 10:04:09,323 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-12-16 10:04:09,354 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-16 10:04:09,355 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-16 10:04:09,355 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-16 10:04:09,355 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-16 10:04:09,356 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-16 10:04:09,357 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-16 10:04:09,357 INFO L138 SettingsManager]: * Use SBE=true [2021-12-16 10:04:09,357 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-16 10:04:09,357 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-16 10:04:09,357 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-16 10:04:09,358 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-16 10:04:09,358 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-16 10:04:09,358 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-16 10:04:09,359 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-16 10:04:09,359 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-16 10:04:09,359 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-16 10:04:09,359 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-16 10:04:09,359 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-16 10:04:09,359 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-16 10:04:09,360 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-16 10:04:09,360 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-16 10:04:09,360 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-16 10:04:09,360 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-16 10:04:09,360 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-16 10:04:09,361 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-16 10:04:09,362 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-16 10:04:09,362 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-16 10:04:09,362 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-16 10:04:09,362 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-16 10:04:09,362 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-16 10:04:09,362 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-16 10:04:09,363 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-16 10:04:09,364 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-16 10:04:09,364 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 -> 941010afb19994aa6e2e07f5c4b80f87a4c5e60b4e0ef3217e91339d9dc3aacb [2021-12-16 10:04:09,586 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-16 10:04:09,607 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-16 10:04:09,609 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-16 10:04:09,611 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-16 10:04:09,611 INFO L275 PluginConnector]: CDTParser initialized [2021-12-16 10:04:09,612 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/kundu.cil.c [2021-12-16 10:04:09,688 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9e15106d0/2ebe36c82ce54bf988802518959de97e/FLAGe7ea8166a [2021-12-16 10:04:10,044 INFO L306 CDTParser]: Found 1 translation units. [2021-12-16 10:04:10,045 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/kundu.cil.c [2021-12-16 10:04:10,053 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9e15106d0/2ebe36c82ce54bf988802518959de97e/FLAGe7ea8166a [2021-12-16 10:04:10,448 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9e15106d0/2ebe36c82ce54bf988802518959de97e [2021-12-16 10:04:10,450 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-16 10:04:10,451 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-16 10:04:10,452 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-16 10:04:10,453 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-16 10:04:10,459 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-16 10:04:10,459 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,460 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@46e3c262 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10, skipping insertion in model container [2021-12-16 10:04:10,461 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,466 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-16 10:04:10,491 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-16 10:04:10,615 WARN L230 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/kundu.cil.c[635,648] [2021-12-16 10:04:10,660 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-16 10:04:10,668 INFO L203 MainTranslator]: Completed pre-run [2021-12-16 10:04:10,679 WARN L230 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/kundu.cil.c[635,648] [2021-12-16 10:04:10,702 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-16 10:04:10,723 INFO L208 MainTranslator]: Completed translation [2021-12-16 10:04:10,724 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10 WrapperNode [2021-12-16 10:04:10,724 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-16 10:04:10,725 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-16 10:04:10,726 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-16 10:04:10,726 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-16 10:04:10,731 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,737 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,770 INFO L137 Inliner]: procedures = 34, calls = 40, calls flagged for inlining = 35, calls inlined = 45, statements flattened = 534 [2021-12-16 10:04:10,771 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-16 10:04:10,772 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-16 10:04:10,772 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-16 10:04:10,772 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-16 10:04:10,779 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,780 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,782 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,782 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,791 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,813 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,815 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,818 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-16 10:04:10,820 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-16 10:04:10,820 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-16 10:04:10,820 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-16 10:04:10,832 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (1/1) ... [2021-12-16 10:04:10,838 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-16 10:04:10,847 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-16 10:04:10,860 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-12-16 10:04:10,885 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-12-16 10:04:10,904 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-12-16 10:04:10,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-12-16 10:04:10,905 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-16 10:04:10,905 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-16 10:04:10,972 INFO L236 CfgBuilder]: Building ICFG [2021-12-16 10:04:10,974 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-16 10:04:11,323 INFO L277 CfgBuilder]: Performing block encoding [2021-12-16 10:04:11,332 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-16 10:04:11,332 INFO L301 CfgBuilder]: Removed 5 assume(true) statements. [2021-12-16 10:04:11,334 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 16.12 10:04:11 BoogieIcfgContainer [2021-12-16 10:04:11,334 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-16 10:04:11,335 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-16 10:04:11,335 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-16 10:04:11,338 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-16 10:04:11,338 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-16 10:04:11,338 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 16.12 10:04:10" (1/3) ... [2021-12-16 10:04:11,340 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7b5b6c52 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 16.12 10:04:11, skipping insertion in model container [2021-12-16 10:04:11,340 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-16 10:04:11,340 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.12 10:04:10" (2/3) ... [2021-12-16 10:04:11,340 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7b5b6c52 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 16.12 10:04:11, skipping insertion in model container [2021-12-16 10:04:11,340 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-16 10:04:11,340 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 16.12 10:04:11" (3/3) ... [2021-12-16 10:04:11,342 INFO L388 chiAutomizerObserver]: Analyzing ICFG kundu.cil.c [2021-12-16 10:04:11,376 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-16 10:04:11,377 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-16 10:04:11,377 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-16 10:04:11,377 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-16 10:04:11,377 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-16 10:04:11,377 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-16 10:04:11,378 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-16 10:04:11,378 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-16 10:04:11,395 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 191 states, 190 states have (on average 1.5052631578947369) internal successors, (286), 190 states have internal predecessors, (286), 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-12-16 10:04:11,421 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 154 [2021-12-16 10:04:11,422 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:11,422 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:11,429 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] [2021-12-16 10:04:11,429 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] [2021-12-16 10:04:11,429 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-16 10:04:11,430 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 191 states, 190 states have (on average 1.5052631578947369) internal successors, (286), 190 states have internal predecessors, (286), 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-12-16 10:04:11,437 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 154 [2021-12-16 10:04:11,437 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:11,437 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:11,439 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] [2021-12-16 10:04:11,439 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] [2021-12-16 10:04:11,445 INFO L791 eck$LassoCheckResult]: Stem: 172#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 71#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 69#L613true assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 56#L298true assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 96#L305true assume !(1 == ~P_1_i~0);~P_1_st~0 := 2; 166#L305-2true assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 113#L310-1true assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 170#L315-1true assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 158#L424true assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 134#L118true assume !(1 == ~P_1_pc~0); 89#L118-2true is_P_1_triggered_~__retres1~0#1 := 0; 161#L129true is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 92#L130true activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 7#L491true assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 167#L491-2true assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 100#L186true assume 1 == ~P_2_pc~0; 176#L187true assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 108#L197true is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 106#L198true activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 74#L499true assume !(0 != activate_threads_~tmp___0~1#1); 82#L499-2true assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 38#L268true assume 1 == ~C_1_pc~0; 97#L269true assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 65#L289true is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 186#L290true activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 39#L507true assume !(0 != activate_threads_~tmp___1~1#1); 50#L507-2true assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 126#L432true assume { :end_inline_reset_delta_events } true; 70#L561-2true [2021-12-16 10:04:11,446 INFO L793 eck$LassoCheckResult]: Loop: 70#L561-2true assume !false; 119#L562true start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 179#L397true assume !true; 180#L413true assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 77#L298-1true assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 177#L424-1true assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 162#L118-6true assume 1 == ~P_1_pc~0; 75#L119-2true assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0#1 := 1; 25#L129-2true is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 90#L130-2true activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 142#L491-6true assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 48#L491-8true assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 99#L186-6true assume 1 == ~P_2_pc~0; 120#L187-2true assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 154#L197-2true is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 112#L198-2true activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 57#L499-6true assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 54#L499-8true assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 21#L268-6true assume 1 == ~C_1_pc~0; 183#L269-2true assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 29#L289-2true is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 153#L290-2true activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 37#L507-6true assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 128#L507-8true assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 107#L432-1true assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 110#L328-1true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 117#L345-1true exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 43#L346-1true start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 4#L580true assume !(0 == start_simulation_~tmp~3#1); 23#L580-2true assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 105#L328-2true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 163#L345-2true exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 26#L346-2true stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 124#L535true assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 13#L542true stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 80#L543true start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 111#L593true assume !(0 != start_simulation_~tmp___0~2#1); 70#L561-2true [2021-12-16 10:04:11,450 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:11,450 INFO L85 PathProgramCache]: Analyzing trace with hash 1332213672, now seen corresponding path program 1 times [2021-12-16 10:04:11,456 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:11,456 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [626409101] [2021-12-16 10:04:11,456 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:11,457 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:11,540 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:11,610 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:11,611 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:11,612 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [626409101] [2021-12-16 10:04:11,613 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [626409101] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:11,613 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:11,614 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-16 10:04:11,616 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1821050193] [2021-12-16 10:04:11,616 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:11,619 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:11,622 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:11,623 INFO L85 PathProgramCache]: Analyzing trace with hash -1928205948, now seen corresponding path program 1 times [2021-12-16 10:04:11,623 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:11,623 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1333161989] [2021-12-16 10:04:11,623 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:11,624 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:11,641 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:11,662 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:11,662 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:11,663 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1333161989] [2021-12-16 10:04:11,663 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1333161989] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:11,663 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:11,663 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-16 10:04:11,664 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1304837728] [2021-12-16 10:04:11,664 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:11,665 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:11,666 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:11,694 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:11,695 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:11,696 INFO L87 Difference]: Start difference. First operand has 191 states, 190 states have (on average 1.5052631578947369) internal successors, (286), 190 states have internal predecessors, (286), 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 9.333333333333334) internal successors, (28), 3 states have internal predecessors, (28), 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-12-16 10:04:11,729 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:11,730 INFO L93 Difference]: Finished difference Result 187 states and 270 transitions. [2021-12-16 10:04:11,731 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:11,735 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 187 states and 270 transitions. [2021-12-16 10:04:11,740 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 146 [2021-12-16 10:04:11,743 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 187 states to 179 states and 262 transitions. [2021-12-16 10:04:11,744 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2021-12-16 10:04:11,745 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 179 [2021-12-16 10:04:11,745 INFO L73 IsDeterministic]: Start isDeterministic. Operand 179 states and 262 transitions. [2021-12-16 10:04:11,746 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:11,747 INFO L681 BuchiCegarLoop]: Abstraction has 179 states and 262 transitions. [2021-12-16 10:04:11,762 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 179 states and 262 transitions. [2021-12-16 10:04:11,774 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 179 to 179. [2021-12-16 10:04:11,775 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 179 states, 179 states have (on average 1.4636871508379887) internal successors, (262), 178 states have internal predecessors, (262), 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-12-16 10:04:11,776 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 179 states to 179 states and 262 transitions. [2021-12-16 10:04:11,777 INFO L704 BuchiCegarLoop]: Abstraction has 179 states and 262 transitions. [2021-12-16 10:04:11,777 INFO L587 BuchiCegarLoop]: Abstraction has 179 states and 262 transitions. [2021-12-16 10:04:11,777 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-12-16 10:04:11,777 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 179 states and 262 transitions. [2021-12-16 10:04:11,779 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 146 [2021-12-16 10:04:11,779 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:11,779 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:11,780 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] [2021-12-16 10:04:11,780 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:11,781 INFO L791 eck$LassoCheckResult]: Stem: 564#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 506#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 502#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 487#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 488#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 533#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 544#L310-1 assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 545#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 562#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 551#L118 assume !(1 == ~P_1_pc~0); 525#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 526#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 529#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 396#L491 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 397#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 535#L186 assume 1 == ~P_2_pc~0; 536#L187 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 418#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 539#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 509#L499 assume !(0 != activate_threads_~tmp___0~1#1); 510#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 459#L268 assume 1 == ~C_1_pc~0; 461#L269 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 498#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 499#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 462#L507 assume !(0 != activate_threads_~tmp___1~1#1); 463#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 479#L432 assume { :end_inline_reset_delta_events } true; 503#L561-2 [2021-12-16 10:04:11,781 INFO L793 eck$LassoCheckResult]: Loop: 503#L561-2 assume !false; 504#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 421#L397 assume !false; 438#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 439#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 481#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 511#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 512#L362 assume !(0 != eval_~tmp___2~0#1); 565#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 513#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 514#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 563#L118-6 assume 1 == ~P_1_pc~0; 508#L119-2 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0#1 := 1; 399#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 433#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 524#L491-6 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 473#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 474#L186-6 assume 1 == ~P_2_pc~0; 534#L187-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 476#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 543#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 489#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 486#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 424#L268-6 assume 1 == ~C_1_pc~0; 425#L269-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 440#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 441#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 455#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 456#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 540#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 541#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 401#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 466#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 387#L580 assume !(0 == start_simulation_~tmp~3#1); 389#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 430#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 537#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 434#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 435#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 407#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 408#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 517#L593 assume !(0 != start_simulation_~tmp___0~2#1); 503#L561-2 [2021-12-16 10:04:11,782 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:11,782 INFO L85 PathProgramCache]: Analyzing trace with hash 1466227178, now seen corresponding path program 1 times [2021-12-16 10:04:11,782 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:11,782 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2010939539] [2021-12-16 10:04:11,782 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:11,783 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:11,795 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:11,814 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:11,814 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:11,814 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2010939539] [2021-12-16 10:04:11,814 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2010939539] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:11,815 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:11,815 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-16 10:04:11,815 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1793690615] [2021-12-16 10:04:11,815 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:11,816 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:11,816 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:11,816 INFO L85 PathProgramCache]: Analyzing trace with hash 1194162143, now seen corresponding path program 1 times [2021-12-16 10:04:11,816 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:11,817 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [405973771] [2021-12-16 10:04:11,817 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:11,817 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:11,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:11,861 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:11,862 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:11,862 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [405973771] [2021-12-16 10:04:11,862 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [405973771] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:11,862 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:11,862 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:11,863 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [962657628] [2021-12-16 10:04:11,863 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:11,863 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:11,864 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:11,864 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:11,864 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:11,865 INFO L87 Difference]: Start difference. First operand 179 states and 262 transitions. cyclomatic complexity: 84 Second operand has 3 states, 3 states have (on average 9.333333333333334) internal successors, (28), 3 states have internal predecessors, (28), 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-12-16 10:04:11,878 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:11,878 INFO L93 Difference]: Finished difference Result 179 states and 261 transitions. [2021-12-16 10:04:11,879 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:11,879 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 179 states and 261 transitions. [2021-12-16 10:04:11,881 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 146 [2021-12-16 10:04:11,882 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 179 states to 179 states and 261 transitions. [2021-12-16 10:04:11,883 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2021-12-16 10:04:11,883 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 179 [2021-12-16 10:04:11,883 INFO L73 IsDeterministic]: Start isDeterministic. Operand 179 states and 261 transitions. [2021-12-16 10:04:11,884 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:11,884 INFO L681 BuchiCegarLoop]: Abstraction has 179 states and 261 transitions. [2021-12-16 10:04:11,885 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 179 states and 261 transitions. [2021-12-16 10:04:11,890 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 179 to 179. [2021-12-16 10:04:11,894 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 179 states, 179 states have (on average 1.458100558659218) internal successors, (261), 178 states have internal predecessors, (261), 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-12-16 10:04:11,894 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 179 states to 179 states and 261 transitions. [2021-12-16 10:04:11,894 INFO L704 BuchiCegarLoop]: Abstraction has 179 states and 261 transitions. [2021-12-16 10:04:11,895 INFO L587 BuchiCegarLoop]: Abstraction has 179 states and 261 transitions. [2021-12-16 10:04:11,895 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-12-16 10:04:11,895 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 179 states and 261 transitions. [2021-12-16 10:04:11,896 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 146 [2021-12-16 10:04:11,897 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:11,897 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:11,898 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] [2021-12-16 10:04:11,900 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:11,900 INFO L791 eck$LassoCheckResult]: Stem: 931#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 872#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 869#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 854#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 855#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 900#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 911#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 912#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 929#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 918#L118 assume !(1 == ~P_1_pc~0); 891#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 892#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 896#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 761#L491 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 762#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 902#L186 assume 1 == ~P_2_pc~0; 903#L187 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 783#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 906#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 875#L499 assume !(0 != activate_threads_~tmp___0~1#1); 876#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 824#L268 assume 1 == ~C_1_pc~0; 826#L269 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 865#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 866#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 827#L507 assume !(0 != activate_threads_~tmp___1~1#1); 828#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 844#L432 assume { :end_inline_reset_delta_events } true; 870#L561-2 [2021-12-16 10:04:11,904 INFO L793 eck$LassoCheckResult]: Loop: 870#L561-2 assume !false; 871#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 786#L397 assume !false; 803#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 804#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 846#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 878#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 879#L362 assume !(0 != eval_~tmp___2~0#1); 932#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 880#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 881#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 930#L118-6 assume !(1 == ~P_1_pc~0); 765#L118-8 is_P_1_triggered_~__retres1~0#1 := 0; 766#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 800#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 893#L491-6 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 840#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 841#L186-6 assume 1 == ~P_2_pc~0; 901#L187-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 843#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 910#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 856#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 853#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 791#L268-6 assume 1 == ~C_1_pc~0; 792#L269-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 807#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 808#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 822#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 823#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 907#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 908#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 768#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 833#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 754#L580 assume !(0 == start_simulation_~tmp~3#1); 756#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 797#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 904#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 801#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 802#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 774#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 775#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 884#L593 assume !(0 != start_simulation_~tmp___0~2#1); 870#L561-2 [2021-12-16 10:04:11,905 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:11,905 INFO L85 PathProgramCache]: Analyzing trace with hash 1247372460, now seen corresponding path program 1 times [2021-12-16 10:04:11,905 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:11,906 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [331960912] [2021-12-16 10:04:11,906 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:11,906 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:11,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:11,983 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:11,983 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:11,983 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [331960912] [2021-12-16 10:04:11,983 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [331960912] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:11,984 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:11,984 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:11,984 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1257327342] [2021-12-16 10:04:11,985 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:11,985 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:11,987 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:11,987 INFO L85 PathProgramCache]: Analyzing trace with hash -577308832, now seen corresponding path program 1 times [2021-12-16 10:04:11,988 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:11,988 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [840982259] [2021-12-16 10:04:11,988 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:11,988 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,047 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,051 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,051 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [840982259] [2021-12-16 10:04:12,051 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [840982259] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,052 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,052 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:12,052 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [430944133] [2021-12-16 10:04:12,052 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,053 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:12,053 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:12,053 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-12-16 10:04:12,053 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-12-16 10:04:12,054 INFO L87 Difference]: Start difference. First operand 179 states and 261 transitions. cyclomatic complexity: 83 Second operand has 5 states, 5 states have (on average 5.6) internal successors, (28), 5 states have internal predecessors, (28), 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-12-16 10:04:12,176 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:12,177 INFO L93 Difference]: Finished difference Result 483 states and 703 transitions. [2021-12-16 10:04:12,177 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-12-16 10:04:12,179 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 483 states and 703 transitions. [2021-12-16 10:04:12,184 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 411 [2021-12-16 10:04:12,188 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 483 states to 483 states and 703 transitions. [2021-12-16 10:04:12,189 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 483 [2021-12-16 10:04:12,190 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 483 [2021-12-16 10:04:12,190 INFO L73 IsDeterministic]: Start isDeterministic. Operand 483 states and 703 transitions. [2021-12-16 10:04:12,196 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:12,196 INFO L681 BuchiCegarLoop]: Abstraction has 483 states and 703 transitions. [2021-12-16 10:04:12,198 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 483 states and 703 transitions. [2021-12-16 10:04:12,213 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 483 to 191. [2021-12-16 10:04:12,218 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 191 states, 191 states have (on average 1.4293193717277486) internal successors, (273), 190 states have internal predecessors, (273), 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-12-16 10:04:12,219 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 191 states to 191 states and 273 transitions. [2021-12-16 10:04:12,220 INFO L704 BuchiCegarLoop]: Abstraction has 191 states and 273 transitions. [2021-12-16 10:04:12,220 INFO L587 BuchiCegarLoop]: Abstraction has 191 states and 273 transitions. [2021-12-16 10:04:12,220 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-12-16 10:04:12,220 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 191 states and 273 transitions. [2021-12-16 10:04:12,222 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 155 [2021-12-16 10:04:12,222 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:12,222 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:12,224 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] [2021-12-16 10:04:12,224 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:12,225 INFO L791 eck$LassoCheckResult]: Stem: 1617#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 1552#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 1548#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 1531#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 1532#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 1582#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 1593#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 1594#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 1614#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 1600#L118 assume !(1 == ~P_1_pc~0); 1573#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 1574#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 1616#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 1440#L491 assume !(0 != activate_threads_~tmp~1#1); 1441#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 1584#L186 assume 1 == ~P_2_pc~0; 1585#L187 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 1465#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 1588#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 1556#L499 assume !(0 != activate_threads_~tmp___0~1#1); 1557#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 1503#L268 assume 1 == ~C_1_pc~0; 1505#L269 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 1543#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 1544#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 1506#L507 assume !(0 != activate_threads_~tmp___1~1#1); 1507#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 1526#L432 assume { :end_inline_reset_delta_events } true; 1549#L561-2 [2021-12-16 10:04:12,226 INFO L793 eck$LassoCheckResult]: Loop: 1549#L561-2 assume !false; 1550#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 1461#L397 assume !false; 1480#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 1481#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 1522#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 1558#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 1559#L362 assume !(0 != eval_~tmp___2~0#1); 1619#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 1560#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 1561#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 1615#L118-6 assume 1 == ~P_1_pc~0; 1554#L119-2 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0#1 := 1; 1555#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 1571#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 1572#L491-6 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 1517#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 1518#L186-6 assume 1 == ~P_2_pc~0; 1583#L187-2 assume 1 == ~P_2_ev~0;is_P_2_triggered_~__retres1~1#1 := 1; 1520#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 1592#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 1533#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 1530#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 1468#L268-6 assume 1 == ~C_1_pc~0; 1469#L269-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 1484#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 1485#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 1499#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 1500#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 1589#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 1590#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 1445#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 1510#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 1431#L580 assume !(0 == start_simulation_~tmp~3#1); 1433#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 1474#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 1586#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 1478#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 1479#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 1451#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 1452#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 1564#L593 assume !(0 != start_simulation_~tmp___0~2#1); 1549#L561-2 [2021-12-16 10:04:12,226 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,227 INFO L85 PathProgramCache]: Analyzing trace with hash -32491218, now seen corresponding path program 1 times [2021-12-16 10:04:12,228 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,228 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1096096796] [2021-12-16 10:04:12,228 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,228 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,286 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,287 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,287 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1096096796] [2021-12-16 10:04:12,287 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1096096796] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,288 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,288 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-12-16 10:04:12,288 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [24788489] [2021-12-16 10:04:12,288 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,289 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:12,289 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,289 INFO L85 PathProgramCache]: Analyzing trace with hash 1194162143, now seen corresponding path program 2 times [2021-12-16 10:04:12,289 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,290 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1690947191] [2021-12-16 10:04:12,290 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,290 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,304 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,344 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,346 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,346 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1690947191] [2021-12-16 10:04:12,347 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1690947191] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,350 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,350 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:12,350 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [135483019] [2021-12-16 10:04:12,350 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,351 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:12,353 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:12,353 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-12-16 10:04:12,353 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-12-16 10:04:12,354 INFO L87 Difference]: Start difference. First operand 191 states and 273 transitions. cyclomatic complexity: 83 Second operand has 4 states, 4 states have (on average 7.0) internal successors, (28), 4 states have internal predecessors, (28), 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-12-16 10:04:12,435 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:12,435 INFO L93 Difference]: Finished difference Result 478 states and 671 transitions. [2021-12-16 10:04:12,435 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-12-16 10:04:12,436 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 478 states and 671 transitions. [2021-12-16 10:04:12,440 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 415 [2021-12-16 10:04:12,443 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 478 states to 478 states and 671 transitions. [2021-12-16 10:04:12,443 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 478 [2021-12-16 10:04:12,444 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 478 [2021-12-16 10:04:12,444 INFO L73 IsDeterministic]: Start isDeterministic. Operand 478 states and 671 transitions. [2021-12-16 10:04:12,444 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:12,445 INFO L681 BuchiCegarLoop]: Abstraction has 478 states and 671 transitions. [2021-12-16 10:04:12,445 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 478 states and 671 transitions. [2021-12-16 10:04:12,463 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 478 to 436. [2021-12-16 10:04:12,464 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 436 states, 436 states have (on average 1.4128440366972477) internal successors, (616), 435 states have internal predecessors, (616), 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-12-16 10:04:12,465 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 436 states to 436 states and 616 transitions. [2021-12-16 10:04:12,465 INFO L704 BuchiCegarLoop]: Abstraction has 436 states and 616 transitions. [2021-12-16 10:04:12,465 INFO L587 BuchiCegarLoop]: Abstraction has 436 states and 616 transitions. [2021-12-16 10:04:12,466 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-12-16 10:04:12,466 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 436 states and 616 transitions. [2021-12-16 10:04:12,468 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 399 [2021-12-16 10:04:12,468 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:12,468 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:12,470 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] [2021-12-16 10:04:12,470 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:12,470 INFO L791 eck$LassoCheckResult]: Stem: 2300#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 2236#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 2234#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 2216#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 2217#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 2265#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 2277#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 2278#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 2298#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 2286#L118 assume !(1 == ~P_1_pc~0); 2256#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 2257#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 2261#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 2120#L491 assume !(0 != activate_threads_~tmp~1#1); 2121#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 2267#L186 assume !(1 == ~P_2_pc~0); 2141#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 2142#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 2271#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 2238#L499 assume !(0 != activate_threads_~tmp___0~1#1); 2239#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 2183#L268 assume 1 == ~C_1_pc~0; 2185#L269 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 2228#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 2229#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 2186#L507 assume !(0 != activate_threads_~tmp___1~1#1); 2187#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 2203#L432 assume { :end_inline_reset_delta_events } true; 2232#L561-2 [2021-12-16 10:04:12,471 INFO L793 eck$LassoCheckResult]: Loop: 2232#L561-2 assume !false; 2233#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 2302#L397 assume !false; 2163#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 2164#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 2205#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 2243#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 2244#L362 assume !(0 != eval_~tmp___2~0#1); 2303#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 2245#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 2246#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 2299#L118-6 assume !(1 == ~P_1_pc~0); 2124#L118-8 is_P_1_triggered_~__retres1~0#1 := 0; 2125#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 2162#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 2258#L491-6 assume !(0 != activate_threads_~tmp~1#1); 2199#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 2200#L186-6 assume !(1 == ~P_2_pc~0); 2266#L186-8 is_P_2_triggered_~__retres1~1#1 := 0; 2505#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 2504#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 2433#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 2432#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 2150#L268-6 assume 1 == ~C_1_pc~0; 2151#L269-2 assume 1 == ~e~0;is_C_1_triggered_~__retres1~2#1 := 1; 2167#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 2168#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 2181#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 2182#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 2272#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 2273#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 2130#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 2192#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 2113#L580 assume !(0 == start_simulation_~tmp~3#1); 2115#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 2528#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 2526#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 2525#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 2524#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 2523#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 2522#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 2274#L593 assume !(0 != start_simulation_~tmp___0~2#1); 2232#L561-2 [2021-12-16 10:04:12,472 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,472 INFO L85 PathProgramCache]: Analyzing trace with hash -1311815953, now seen corresponding path program 1 times [2021-12-16 10:04:12,472 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,472 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [622405082] [2021-12-16 10:04:12,473 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,473 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,489 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,525 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,526 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,526 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [622405082] [2021-12-16 10:04:12,526 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [622405082] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,526 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,526 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-12-16 10:04:12,527 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [127355104] [2021-12-16 10:04:12,527 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,527 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:12,527 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,528 INFO L85 PathProgramCache]: Analyzing trace with hash -711684829, now seen corresponding path program 1 times [2021-12-16 10:04:12,528 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,528 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1795514470] [2021-12-16 10:04:12,528 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,528 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,548 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,575 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,576 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,576 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1795514470] [2021-12-16 10:04:12,576 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1795514470] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,577 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,577 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:12,577 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [257947362] [2021-12-16 10:04:12,577 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,577 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:12,578 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:12,578 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-12-16 10:04:12,578 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-12-16 10:04:12,578 INFO L87 Difference]: Start difference. First operand 436 states and 616 transitions. cyclomatic complexity: 182 Second operand has 4 states, 4 states have (on average 7.0) internal successors, (28), 4 states have internal predecessors, (28), 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-12-16 10:04:12,678 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:12,678 INFO L93 Difference]: Finished difference Result 1188 states and 1642 transitions. [2021-12-16 10:04:12,678 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-12-16 10:04:12,680 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1188 states and 1642 transitions. [2021-12-16 10:04:12,688 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1108 [2021-12-16 10:04:12,694 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1188 states to 1188 states and 1642 transitions. [2021-12-16 10:04:12,695 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1188 [2021-12-16 10:04:12,696 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1188 [2021-12-16 10:04:12,696 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1188 states and 1642 transitions. [2021-12-16 10:04:12,697 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:12,697 INFO L681 BuchiCegarLoop]: Abstraction has 1188 states and 1642 transitions. [2021-12-16 10:04:12,698 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1188 states and 1642 transitions. [2021-12-16 10:04:12,712 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1188 to 1129. [2021-12-16 10:04:12,714 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1129 states, 1129 states have (on average 1.3906111603188662) internal successors, (1570), 1128 states have internal predecessors, (1570), 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-12-16 10:04:12,717 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1129 states to 1129 states and 1570 transitions. [2021-12-16 10:04:12,717 INFO L704 BuchiCegarLoop]: Abstraction has 1129 states and 1570 transitions. [2021-12-16 10:04:12,718 INFO L587 BuchiCegarLoop]: Abstraction has 1129 states and 1570 transitions. [2021-12-16 10:04:12,718 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-12-16 10:04:12,718 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1129 states and 1570 transitions. [2021-12-16 10:04:12,723 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1087 [2021-12-16 10:04:12,723 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:12,723 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:12,725 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] [2021-12-16 10:04:12,725 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] [2021-12-16 10:04:12,725 INFO L791 eck$LassoCheckResult]: Stem: 3954#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 3874#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 3871#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 3853#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 3854#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 3907#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 3921#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 3922#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 3951#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 3933#L118 assume !(1 == ~P_1_pc~0); 3898#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 3899#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 3903#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 3757#L491 assume !(0 != activate_threads_~tmp~1#1); 3758#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 3908#L186 assume !(1 == ~P_2_pc~0); 3778#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 3779#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 3915#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 3877#L499 assume !(0 != activate_threads_~tmp___0~1#1); 3878#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 3821#L268 assume !(1 == ~C_1_pc~0); 3822#L268-2 assume 2 == ~C_1_pc~0; 3893#L279 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~2#1 := 1; 3867#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 3868#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 3823#L507 assume !(0 != activate_threads_~tmp___1~1#1); 3824#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 3841#L432 assume { :end_inline_reset_delta_events } true; 3928#L561-2 [2021-12-16 10:04:12,726 INFO L793 eck$LassoCheckResult]: Loop: 3928#L561-2 assume !false; 4614#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 4608#L397 assume !false; 4604#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 4599#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 4594#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 4590#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 4587#L362 assume !(0 != eval_~tmp___2~0#1); 4588#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 4783#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 4781#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 4779#L118-6 assume !(1 == ~P_1_pc~0); 4777#L118-8 is_P_1_triggered_~__retres1~0#1 := 0; 4775#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 4773#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 4771#L491-6 assume !(0 != activate_threads_~tmp~1#1); 4769#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 4764#L186-6 assume !(1 == ~P_2_pc~0); 4761#L186-8 is_P_2_triggered_~__retres1~1#1 := 0; 4755#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 4751#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 4747#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 4744#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 4690#L268-6 assume !(1 == ~C_1_pc~0); 4688#L268-8 assume 2 == ~C_1_pc~0; 4684#L279-2 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~2#1 := 1; 4681#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 4677#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 4674#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 4671#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 4668#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 4665#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 4660#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 4657#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 4652#L580 assume !(0 == start_simulation_~tmp~3#1); 4648#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 4645#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 4642#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 4640#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 4638#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 4635#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 4632#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 4627#L593 assume !(0 != start_simulation_~tmp___0~2#1); 3928#L561-2 [2021-12-16 10:04:12,727 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,727 INFO L85 PathProgramCache]: Analyzing trace with hash -122788309, now seen corresponding path program 1 times [2021-12-16 10:04:12,727 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,727 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [346268495] [2021-12-16 10:04:12,728 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,728 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,766 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,766 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,766 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [346268495] [2021-12-16 10:04:12,767 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [346268495] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,767 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,767 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-16 10:04:12,767 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2033954357] [2021-12-16 10:04:12,767 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,768 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:12,768 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,770 INFO L85 PathProgramCache]: Analyzing trace with hash 1040752634, now seen corresponding path program 1 times [2021-12-16 10:04:12,770 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,774 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1419778173] [2021-12-16 10:04:12,774 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,774 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,783 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,812 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,812 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,813 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1419778173] [2021-12-16 10:04:12,813 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1419778173] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,813 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,813 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:12,813 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1116329427] [2021-12-16 10:04:12,815 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,815 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:12,815 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:12,816 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:12,816 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:12,816 INFO L87 Difference]: Start difference. First operand 1129 states and 1570 transitions. cyclomatic complexity: 445 Second operand has 3 states, 3 states have (on average 9.666666666666666) internal successors, (29), 3 states have internal predecessors, (29), 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-12-16 10:04:12,854 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:12,855 INFO L93 Difference]: Finished difference Result 1500 states and 2055 transitions. [2021-12-16 10:04:12,855 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:12,856 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 1500 states and 2055 transitions. [2021-12-16 10:04:12,864 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1453 [2021-12-16 10:04:12,871 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 1500 states to 1500 states and 2055 transitions. [2021-12-16 10:04:12,871 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 1500 [2021-12-16 10:04:12,872 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 1500 [2021-12-16 10:04:12,872 INFO L73 IsDeterministic]: Start isDeterministic. Operand 1500 states and 2055 transitions. [2021-12-16 10:04:12,873 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:12,873 INFO L681 BuchiCegarLoop]: Abstraction has 1500 states and 2055 transitions. [2021-12-16 10:04:12,874 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1500 states and 2055 transitions. [2021-12-16 10:04:12,887 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1500 to 1476. [2021-12-16 10:04:12,889 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1476 states, 1476 states have (on average 1.3719512195121952) internal successors, (2025), 1475 states have internal predecessors, (2025), 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-12-16 10:04:12,893 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1476 states to 1476 states and 2025 transitions. [2021-12-16 10:04:12,893 INFO L704 BuchiCegarLoop]: Abstraction has 1476 states and 2025 transitions. [2021-12-16 10:04:12,893 INFO L587 BuchiCegarLoop]: Abstraction has 1476 states and 2025 transitions. [2021-12-16 10:04:12,893 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-12-16 10:04:12,894 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1476 states and 2025 transitions. [2021-12-16 10:04:12,900 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1429 [2021-12-16 10:04:12,900 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:12,900 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:12,901 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] [2021-12-16 10:04:12,901 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] [2021-12-16 10:04:12,901 INFO L791 eck$LassoCheckResult]: Stem: 6589#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 6510#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 6508#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 6489#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 6490#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 6544#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 6555#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 6556#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 6584#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 6566#L118 assume !(1 == ~P_1_pc~0); 6535#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 6536#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 6540#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 6395#L491 assume !(0 != activate_threads_~tmp~1#1); 6396#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 6545#L186 assume !(1 == ~P_2_pc~0); 6415#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 6416#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 6550#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 6512#L499 assume !(0 != activate_threads_~tmp___0~1#1); 6513#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 6457#L268 assume !(1 == ~C_1_pc~0); 6458#L268-2 assume !(2 == ~C_1_pc~0); 6573#L278-1 is_C_1_triggered_~__retres1~2#1 := 0; 6502#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 6503#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 6459#L507 assume !(0 != activate_threads_~tmp___1~1#1); 6460#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 6477#L432 assume { :end_inline_reset_delta_events } true; 6561#L561-2 [2021-12-16 10:04:12,902 INFO L793 eck$LassoCheckResult]: Loop: 6561#L561-2 assume !false; 7792#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 7788#L397 assume !false; 7785#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 7782#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 7779#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 7777#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 7773#L362 assume !(0 != eval_~tmp___2~0#1); 7774#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 7860#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 7859#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 7857#L118-6 assume !(1 == ~P_1_pc~0); 7855#L118-8 is_P_1_triggered_~__retres1~0#1 := 0; 7853#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 7851#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 7849#L491-6 assume !(0 != activate_threads_~tmp~1#1); 7847#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 7845#L186-6 assume !(1 == ~P_2_pc~0); 7843#L186-8 is_P_2_triggered_~__retres1~1#1 := 0; 7841#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 7839#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 7837#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 7835#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 7833#L268-6 assume !(1 == ~C_1_pc~0); 7831#L268-8 assume !(2 == ~C_1_pc~0); 7829#L278-5 is_C_1_triggered_~__retres1~2#1 := 0; 7827#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 7825#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 7823#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 7821#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 7819#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 7817#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 7813#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 7811#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 7809#L580 assume !(0 == start_simulation_~tmp~3#1); 7807#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 7805#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 7803#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 7801#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 7800#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 7799#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 7798#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 7797#L593 assume !(0 != start_simulation_~tmp___0~2#1); 6561#L561-2 [2021-12-16 10:04:12,902 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,902 INFO L85 PathProgramCache]: Analyzing trace with hash 1966545068, now seen corresponding path program 1 times [2021-12-16 10:04:12,902 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,903 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1538098768] [2021-12-16 10:04:12,903 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,903 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:12,909 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:12,912 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:12,938 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:12,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:12,939 INFO L85 PathProgramCache]: Analyzing trace with hash 2031917307, now seen corresponding path program 1 times [2021-12-16 10:04:12,940 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:12,940 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1184243812] [2021-12-16 10:04:12,940 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:12,940 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:12,946 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:12,964 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:12,965 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:12,965 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1184243812] [2021-12-16 10:04:12,965 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1184243812] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:12,965 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:12,965 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-16 10:04:12,965 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [41776044] [2021-12-16 10:04:12,966 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:12,966 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:12,966 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:12,966 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-12-16 10:04:12,967 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-12-16 10:04:12,967 INFO L87 Difference]: Start difference. First operand 1476 states and 2025 transitions. cyclomatic complexity: 553 Second operand has 5 states, 5 states have (on average 8.6) internal successors, (43), 5 states have internal predecessors, (43), 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-12-16 10:04:13,034 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:13,035 INFO L93 Difference]: Finished difference Result 2613 states and 3559 transitions. [2021-12-16 10:04:13,035 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-12-16 10:04:13,035 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2613 states and 3559 transitions. [2021-12-16 10:04:13,051 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 2548 [2021-12-16 10:04:13,063 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2613 states to 2613 states and 3559 transitions. [2021-12-16 10:04:13,063 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2613 [2021-12-16 10:04:13,065 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2613 [2021-12-16 10:04:13,065 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2613 states and 3559 transitions. [2021-12-16 10:04:13,068 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:13,068 INFO L681 BuchiCegarLoop]: Abstraction has 2613 states and 3559 transitions. [2021-12-16 10:04:13,069 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2613 states and 3559 transitions. [2021-12-16 10:04:13,089 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2613 to 1512. [2021-12-16 10:04:13,092 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 1512 states, 1512 states have (on average 1.3630952380952381) internal successors, (2061), 1511 states have internal predecessors, (2061), 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-12-16 10:04:13,096 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1512 states to 1512 states and 2061 transitions. [2021-12-16 10:04:13,096 INFO L704 BuchiCegarLoop]: Abstraction has 1512 states and 2061 transitions. [2021-12-16 10:04:13,096 INFO L587 BuchiCegarLoop]: Abstraction has 1512 states and 2061 transitions. [2021-12-16 10:04:13,096 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-12-16 10:04:13,096 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 1512 states and 2061 transitions. [2021-12-16 10:04:13,102 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 1465 [2021-12-16 10:04:13,102 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:13,102 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:13,102 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] [2021-12-16 10:04:13,102 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] [2021-12-16 10:04:13,102 INFO L791 eck$LassoCheckResult]: Stem: 10708#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 10616#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 10614#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 10593#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 10594#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 10649#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 10662#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 10663#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 10703#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 10677#L118 assume !(1 == ~P_1_pc~0); 10642#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 10643#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 10646#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 10502#L491 assume !(0 != activate_threads_~tmp~1#1); 10503#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 10650#L186 assume !(1 == ~P_2_pc~0); 10525#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 10526#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 10655#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 10621#L499 assume !(0 != activate_threads_~tmp___0~1#1); 10622#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 10565#L268 assume !(1 == ~C_1_pc~0); 10566#L268-2 assume !(2 == ~C_1_pc~0); 10683#L278-1 is_C_1_triggered_~__retres1~2#1 := 0; 10608#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 10609#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 10567#L507 assume !(0 != activate_threads_~tmp___1~1#1); 10568#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 10587#L432 assume { :end_inline_reset_delta_events } true; 10673#L561-2 [2021-12-16 10:04:13,103 INFO L793 eck$LassoCheckResult]: Loop: 10673#L561-2 assume !false; 11966#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 11914#L397 assume !false; 11964#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 11957#L328 assume !(0 == ~P_1_st~0); 11958#L332 assume !(0 == ~P_2_st~0); 11956#L336 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~3#1 := 0; 11954#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 11953#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 11752#L362 assume !(0 != eval_~tmp___2~0#1); 11753#L413 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 10625#L298-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 10626#L424-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 10705#L118-6 assume !(1 == ~P_1_pc~0); 10706#L118-8 is_P_1_triggered_~__retres1~0#1 := 0; 10536#L129-2 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 10537#L130-2 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 10641#L491-6 assume !(0 != activate_threads_~tmp~1#1); 11986#L491-8 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 11985#L186-6 assume !(1 == ~P_2_pc~0); 11984#L186-8 is_P_2_triggered_~__retres1~1#1 := 0; 10698#L197-2 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 10699#L198-2 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 10595#L499-6 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 10596#L499-8 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 11983#L268-6 assume !(1 == ~C_1_pc~0); 10666#L268-8 assume !(2 == ~C_1_pc~0); 10667#L278-5 is_C_1_triggered_~__retres1~2#1 := 0; 10544#L289-2 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 10545#L290-2 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 10559#L507-6 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 10560#L507-8 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 10656#L432-1 assume { :end_inline_reset_delta_events } true;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 10657#L328-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 11979#L345-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 11977#L346-1 start_simulation_#t~ret13#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret13#1;havoc start_simulation_#t~ret13#1; 11976#L580 assume !(0 == start_simulation_~tmp~3#1); 11974#L580-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret12#1, stop_simulation_~tmp~2#1, stop_simulation_~__retres2~0#1;havoc stop_simulation_~tmp~2#1;havoc stop_simulation_~__retres2~0#1;assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 10652#L328-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 10653#L345-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 11971#L346-2 stop_simulation_#t~ret12#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret12#1;havoc stop_simulation_#t~ret12#1; 11970#L535 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 11969#L542 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 11968#L543 start_simulation_#t~ret14#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret14#1;havoc start_simulation_#t~ret14#1; 11967#L593 assume !(0 != start_simulation_~tmp___0~2#1); 10673#L561-2 [2021-12-16 10:04:13,103 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,103 INFO L85 PathProgramCache]: Analyzing trace with hash 1966545068, now seen corresponding path program 2 times [2021-12-16 10:04:13,103 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,103 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [330730101] [2021-12-16 10:04:13,104 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,104 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,109 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,109 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:13,112 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,117 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:13,117 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,118 INFO L85 PathProgramCache]: Analyzing trace with hash -1502717854, now seen corresponding path program 1 times [2021-12-16 10:04:13,118 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,118 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [864791547] [2021-12-16 10:04:13,118 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,118 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,122 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:13,141 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:13,141 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:13,141 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [864791547] [2021-12-16 10:04:13,141 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [864791547] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:13,141 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:13,141 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-16 10:04:13,142 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [677678407] [2021-12-16 10:04:13,142 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:13,142 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-16 10:04:13,142 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:13,142 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:13,143 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:13,143 INFO L87 Difference]: Start difference. First operand 1512 states and 2061 transitions. cyclomatic complexity: 553 Second operand has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 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-12-16 10:04:13,181 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:13,182 INFO L93 Difference]: Finished difference Result 2343 states and 3154 transitions. [2021-12-16 10:04:13,182 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:13,184 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 2343 states and 3154 transitions. [2021-12-16 10:04:13,208 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2246 [2021-12-16 10:04:13,219 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 2343 states to 2343 states and 3154 transitions. [2021-12-16 10:04:13,220 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 2343 [2021-12-16 10:04:13,222 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 2343 [2021-12-16 10:04:13,222 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2343 states and 3154 transitions. [2021-12-16 10:04:13,224 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:13,224 INFO L681 BuchiCegarLoop]: Abstraction has 2343 states and 3154 transitions. [2021-12-16 10:04:13,225 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 2343 states and 3154 transitions. [2021-12-16 10:04:13,249 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 2343 to 2343. [2021-12-16 10:04:13,253 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 2343 states, 2343 states have (on average 1.3461374306444729) internal successors, (3154), 2342 states have internal predecessors, (3154), 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-12-16 10:04:13,258 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2343 states to 2343 states and 3154 transitions. [2021-12-16 10:04:13,258 INFO L704 BuchiCegarLoop]: Abstraction has 2343 states and 3154 transitions. [2021-12-16 10:04:13,258 INFO L587 BuchiCegarLoop]: Abstraction has 2343 states and 3154 transitions. [2021-12-16 10:04:13,258 INFO L425 BuchiCegarLoop]: ======== Iteration 9============ [2021-12-16 10:04:13,258 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 2343 states and 3154 transitions. [2021-12-16 10:04:13,267 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 2246 [2021-12-16 10:04:13,267 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:13,267 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:13,267 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] [2021-12-16 10:04:13,267 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:13,268 INFO L791 eck$LassoCheckResult]: Stem: 14565#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 14477#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 14474#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 14454#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 14455#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 14511#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 14524#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 14525#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 14562#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 14543#L118 assume !(1 == ~P_1_pc~0); 14503#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 14504#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 14507#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 14363#L491 assume !(0 != activate_threads_~tmp~1#1); 14364#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 14514#L186 assume !(1 == ~P_2_pc~0); 14386#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 14387#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 14517#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 14482#L499 assume !(0 != activate_threads_~tmp___0~1#1); 14483#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 14427#L268 assume !(1 == ~C_1_pc~0); 14428#L268-2 assume !(2 == ~C_1_pc~0); 14549#L278-1 is_C_1_triggered_~__retres1~2#1 := 0; 14468#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 14469#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 14429#L507 assume !(0 != activate_threads_~tmp___1~1#1); 14430#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 14448#L432 assume { :end_inline_reset_delta_events } true; 14538#L561-2 assume !false; 15716#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 15268#L397 [2021-12-16 10:04:13,268 INFO L793 eck$LassoCheckResult]: Loop: 15268#L397 assume !false; 15714#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 15712#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 15709#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 15705#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 15703#L362 assume 0 != eval_~tmp___2~0#1; 15701#L362-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 15699#L371 assume !(0 != eval_~tmp~0#1); 15697#L367 assume !(0 == ~P_2_st~0); 15692#L382 assume !(0 == ~C_1_st~0); 15268#L397 [2021-12-16 10:04:13,268 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,268 INFO L85 PathProgramCache]: Analyzing trace with hash 64203950, now seen corresponding path program 1 times [2021-12-16 10:04:13,268 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,268 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1318664880] [2021-12-16 10:04:13,269 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,269 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,274 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:13,277 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,281 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:13,282 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,282 INFO L85 PathProgramCache]: Analyzing trace with hash -658300295, now seen corresponding path program 1 times [2021-12-16 10:04:13,282 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,282 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1693958934] [2021-12-16 10:04:13,282 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,282 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,285 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,285 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:13,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,287 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:13,288 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,288 INFO L85 PathProgramCache]: Analyzing trace with hash -1216570650, now seen corresponding path program 1 times [2021-12-16 10:04:13,288 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,288 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1344088571] [2021-12-16 10:04:13,288 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,288 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,293 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:13,306 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:13,306 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:13,307 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1344088571] [2021-12-16 10:04:13,307 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1344088571] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:13,307 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:13,307 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-16 10:04:13,307 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1708284262] [2021-12-16 10:04:13,307 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:13,379 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:13,380 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:13,380 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:13,380 INFO L87 Difference]: Start difference. First operand 2343 states and 3154 transitions. cyclomatic complexity: 818 Second operand has 3 states, 3 states have (on average 13.666666666666666) internal successors, (41), 3 states have internal predecessors, (41), 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-12-16 10:04:13,447 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:13,447 INFO L93 Difference]: Finished difference Result 3913 states and 5192 transitions. [2021-12-16 10:04:13,447 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:13,448 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3913 states and 5192 transitions. [2021-12-16 10:04:13,478 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3761 [2021-12-16 10:04:13,526 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3913 states to 3913 states and 5192 transitions. [2021-12-16 10:04:13,526 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3913 [2021-12-16 10:04:13,529 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3913 [2021-12-16 10:04:13,529 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3913 states and 5192 transitions. [2021-12-16 10:04:13,532 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:13,532 INFO L681 BuchiCegarLoop]: Abstraction has 3913 states and 5192 transitions. [2021-12-16 10:04:13,534 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3913 states and 5192 transitions. [2021-12-16 10:04:13,576 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3913 to 3829. [2021-12-16 10:04:13,581 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3829 states, 3829 states have (on average 1.329328806476887) internal successors, (5090), 3828 states have internal predecessors, (5090), 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-12-16 10:04:13,591 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3829 states to 3829 states and 5090 transitions. [2021-12-16 10:04:13,591 INFO L704 BuchiCegarLoop]: Abstraction has 3829 states and 5090 transitions. [2021-12-16 10:04:13,591 INFO L587 BuchiCegarLoop]: Abstraction has 3829 states and 5090 transitions. [2021-12-16 10:04:13,591 INFO L425 BuchiCegarLoop]: ======== Iteration 10============ [2021-12-16 10:04:13,591 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3829 states and 5090 transitions. [2021-12-16 10:04:13,603 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3677 [2021-12-16 10:04:13,603 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:13,603 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:13,604 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] [2021-12-16 10:04:13,604 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:13,604 INFO L791 eck$LassoCheckResult]: Stem: 20865#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 20743#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 20740#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 20722#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 20723#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 20782#L305-2 assume !(1 == ~P_2_i~0);~P_2_st~0 := 2; 20800#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 20801#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 20848#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 20849#L118 assume !(1 == ~P_1_pc~0); 20771#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 20772#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 20776#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 20777#L491 assume !(0 != activate_threads_~tmp~1#1); 20857#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 20858#L186 assume !(1 == ~P_2_pc~0); 20645#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 20646#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 20790#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 20791#L499 assume 0 != activate_threads_~tmp___0~1#1;~P_2_st~0 := 0; 20748#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 20686#L268 assume !(1 == ~C_1_pc~0); 20687#L268-2 assume !(2 == ~C_1_pc~0); 20833#L278-1 is_C_1_triggered_~__retres1~2#1 := 0; 20834#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 20880#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 20881#L507 assume !(0 != activate_threads_~tmp___1~1#1); 20709#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 20710#L432 assume { :end_inline_reset_delta_events } true; 22816#L561-2 assume !false; 22815#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 22809#L397 [2021-12-16 10:04:13,604 INFO L793 eck$LassoCheckResult]: Loop: 22809#L397 assume !false; 22810#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 22802#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 22803#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 22795#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 22796#L362 assume 0 != eval_~tmp___2~0#1; 22759#L362-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 22760#L371 assume !(0 != eval_~tmp~0#1); 23645#L367 assume 0 == ~P_2_st~0;eval_~tmp___0~0#1 := eval_#t~nondet7#1;havoc eval_#t~nondet7#1; 23639#L386 assume !(0 != eval_~tmp___0~0#1); 23630#L382 assume !(0 == ~C_1_st~0); 22809#L397 [2021-12-16 10:04:13,604 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,605 INFO L85 PathProgramCache]: Analyzing trace with hash -131921874, now seen corresponding path program 1 times [2021-12-16 10:04:13,605 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,605 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [863007467] [2021-12-16 10:04:13,605 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,606 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,609 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:13,625 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-16 10:04:13,626 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:13,626 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [863007467] [2021-12-16 10:04:13,626 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [863007467] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:13,626 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:13,626 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-16 10:04:13,627 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [244538936] [2021-12-16 10:04:13,627 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:13,627 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-16 10:04:13,627 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,628 INFO L85 PathProgramCache]: Analyzing trace with hash 1067386761, now seen corresponding path program 1 times [2021-12-16 10:04:13,628 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,628 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [195419058] [2021-12-16 10:04:13,628 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,628 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,633 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:13,635 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,636 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:13,726 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:13,727 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:13,727 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:13,727 INFO L87 Difference]: Start difference. First operand 3829 states and 5090 transitions. cyclomatic complexity: 1268 Second operand has 3 states, 3 states have (on average 10.333333333333334) internal successors, (31), 3 states have internal predecessors, (31), 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-12-16 10:04:13,744 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:13,745 INFO L93 Difference]: Finished difference Result 3804 states and 5062 transitions. [2021-12-16 10:04:13,745 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:13,746 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 3804 states and 5062 transitions. [2021-12-16 10:04:13,761 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3677 [2021-12-16 10:04:13,777 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 3804 states to 3804 states and 5062 transitions. [2021-12-16 10:04:13,778 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 3804 [2021-12-16 10:04:13,780 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 3804 [2021-12-16 10:04:13,780 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3804 states and 5062 transitions. [2021-12-16 10:04:13,784 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:13,784 INFO L681 BuchiCegarLoop]: Abstraction has 3804 states and 5062 transitions. [2021-12-16 10:04:13,786 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 3804 states and 5062 transitions. [2021-12-16 10:04:13,876 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 3804 to 3804. [2021-12-16 10:04:13,881 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3804 states, 3804 states have (on average 1.3307045215562565) internal successors, (5062), 3803 states have internal predecessors, (5062), 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-12-16 10:04:13,890 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3804 states to 3804 states and 5062 transitions. [2021-12-16 10:04:13,890 INFO L704 BuchiCegarLoop]: Abstraction has 3804 states and 5062 transitions. [2021-12-16 10:04:13,890 INFO L587 BuchiCegarLoop]: Abstraction has 3804 states and 5062 transitions. [2021-12-16 10:04:13,890 INFO L425 BuchiCegarLoop]: ======== Iteration 11============ [2021-12-16 10:04:13,890 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 3804 states and 5062 transitions. [2021-12-16 10:04:13,899 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 3677 [2021-12-16 10:04:13,899 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:13,899 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:13,900 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] [2021-12-16 10:04:13,900 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:13,900 INFO L791 eck$LassoCheckResult]: Stem: 28470#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 28378#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 28376#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 28355#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 28356#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 28410#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 28425#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 28426#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 28463#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 28442#L118 assume !(1 == ~P_1_pc~0); 28403#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 28404#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 28407#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 28266#L491 assume !(0 != activate_threads_~tmp~1#1); 28267#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 28414#L186 assume !(1 == ~P_2_pc~0); 28289#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 28290#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 28418#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 28383#L499 assume !(0 != activate_threads_~tmp___0~1#1); 28384#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 28327#L268 assume !(1 == ~C_1_pc~0); 28328#L268-2 assume !(2 == ~C_1_pc~0); 28448#L278-1 is_C_1_triggered_~__retres1~2#1 := 0; 28369#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 28370#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 28329#L507 assume !(0 != activate_threads_~tmp___1~1#1); 28330#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 28348#L432 assume { :end_inline_reset_delta_events } true; 28438#L561-2 assume !false; 31464#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 31368#L397 [2021-12-16 10:04:13,900 INFO L793 eck$LassoCheckResult]: Loop: 31368#L397 assume !false; 31459#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 31456#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 31453#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 31450#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 31447#L362 assume 0 != eval_~tmp___2~0#1; 31444#L362-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 31440#L371 assume !(0 != eval_~tmp~0#1); 30733#L367 assume 0 == ~P_2_st~0;eval_~tmp___0~0#1 := eval_#t~nondet7#1;havoc eval_#t~nondet7#1; 30603#L386 assume !(0 != eval_~tmp___0~0#1); 30604#L382 assume !(0 == ~C_1_st~0); 31368#L397 [2021-12-16 10:04:13,901 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,901 INFO L85 PathProgramCache]: Analyzing trace with hash 64203950, now seen corresponding path program 2 times [2021-12-16 10:04:13,901 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,901 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [914282773] [2021-12-16 10:04:13,902 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,902 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,907 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:13,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,914 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:13,915 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,915 INFO L85 PathProgramCache]: Analyzing trace with hash 1067386761, now seen corresponding path program 2 times [2021-12-16 10:04:13,915 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,915 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [704381003] [2021-12-16 10:04:13,916 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,916 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,918 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:13,919 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:13,921 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:13,921 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:13,921 INFO L85 PathProgramCache]: Analyzing trace with hash 940874940, now seen corresponding path program 1 times [2021-12-16 10:04:13,921 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:13,922 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [644806892] [2021-12-16 10:04:13,922 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:13,922 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:13,926 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-16 10:04:13,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-12-16 10:04:13,939 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-16 10:04:13,939 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [644806892] [2021-12-16 10:04:13,939 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [644806892] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-16 10:04:13,939 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-16 10:04:13,939 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-16 10:04:13,940 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [986475281] [2021-12-16 10:04:13,940 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-16 10:04:14,016 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-16 10:04:14,016 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-16 10:04:14,016 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-16 10:04:14,017 INFO L87 Difference]: Start difference. First operand 3804 states and 5062 transitions. cyclomatic complexity: 1265 Second operand has 3 states, 2 states have (on average 21.0) internal successors, (42), 3 states have internal predecessors, (42), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-16 10:04:14,069 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-16 10:04:14,069 INFO L93 Difference]: Finished difference Result 6650 states and 8776 transitions. [2021-12-16 10:04:14,069 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-16 10:04:14,070 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 6650 states and 8776 transitions. [2021-12-16 10:04:14,154 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 6427 [2021-12-16 10:04:14,182 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 6650 states to 6650 states and 8776 transitions. [2021-12-16 10:04:14,183 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6650 [2021-12-16 10:04:14,188 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 6650 [2021-12-16 10:04:14,188 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6650 states and 8776 transitions. [2021-12-16 10:04:14,194 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-16 10:04:14,194 INFO L681 BuchiCegarLoop]: Abstraction has 6650 states and 8776 transitions. [2021-12-16 10:04:14,197 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 6650 states and 8776 transitions. [2021-12-16 10:04:14,282 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 6650 to 6650. [2021-12-16 10:04:14,291 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 6650 states, 6650 states have (on average 1.3196992481203007) internal successors, (8776), 6649 states have internal predecessors, (8776), 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-12-16 10:04:14,307 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6650 states to 6650 states and 8776 transitions. [2021-12-16 10:04:14,307 INFO L704 BuchiCegarLoop]: Abstraction has 6650 states and 8776 transitions. [2021-12-16 10:04:14,308 INFO L587 BuchiCegarLoop]: Abstraction has 6650 states and 8776 transitions. [2021-12-16 10:04:14,308 INFO L425 BuchiCegarLoop]: ======== Iteration 12============ [2021-12-16 10:04:14,308 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 6650 states and 8776 transitions. [2021-12-16 10:04:14,324 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 6427 [2021-12-16 10:04:14,325 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-16 10:04:14,325 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-16 10:04:14,325 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] [2021-12-16 10:04:14,325 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-16 10:04:14,326 INFO L791 eck$LassoCheckResult]: Stem: 38948#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(12, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~clk~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~P_2_pc~0 := 0;~P_2_st~0 := 0;~P_2_i~0 := 0;~P_2_ev~0 := 0;~C_1_pc~0 := 0;~C_1_st~0 := 0;~C_1_i~0 := 0;~C_1_ev~0 := 0;~C_1_pr~0 := 0; 38848#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_~count~0#1, main_~__retres2~1#1;havoc main_~count~0#1;havoc main_~__retres2~1#1;~num~0 := 0;~i~0 := 0;~clk~0 := 0;~max_loop~0 := 8;~timer~0 := 0;~P_1_pc~0 := 0;~P_2_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~P_2_i~0 := 1;~C_1_i~0 := 1; 38846#L613 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret13#1, start_simulation_#t~ret14#1, start_simulation_~kernel_st~0#1, start_simulation_~tmp~3#1, start_simulation_~tmp___0~2#1;havoc start_simulation_~kernel_st~0#1;havoc start_simulation_~tmp~3#1;havoc start_simulation_~tmp___0~2#1;start_simulation_~kernel_st~0#1 := 0;assume { :begin_inline_update_channels } true; 38822#L298 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 38823#L305 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 38881#L305-2 assume 1 == ~P_2_i~0;~P_2_st~0 := 0; 38897#L310-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 38898#L315-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 38941#L424 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret9#1, activate_threads_#t~ret10#1, activate_threads_#t~ret11#1, activate_threads_~tmp~1#1, activate_threads_~tmp___0~1#1, activate_threads_~tmp___1~1#1;havoc activate_threads_~tmp~1#1;havoc activate_threads_~tmp___0~1#1;havoc activate_threads_~tmp___1~1#1;assume { :begin_inline_is_P_1_triggered } true;havoc is_P_1_triggered_#res#1;havoc is_P_1_triggered_~__retres1~0#1;havoc is_P_1_triggered_~__retres1~0#1; 38919#L118 assume !(1 == ~P_1_pc~0); 38873#L118-2 is_P_1_triggered_~__retres1~0#1 := 0; 38874#L129 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 38877#L130 activate_threads_#t~ret9#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 38728#L491 assume !(0 != activate_threads_~tmp~1#1); 38729#L491-2 assume { :begin_inline_is_P_2_triggered } true;havoc is_P_2_triggered_#res#1;havoc is_P_2_triggered_~__retres1~1#1;havoc is_P_2_triggered_~__retres1~1#1; 38885#L186 assume !(1 == ~P_2_pc~0); 38751#L186-2 is_P_2_triggered_~__retres1~1#1 := 0; 38752#L197 is_P_2_triggered_#res#1 := is_P_2_triggered_~__retres1~1#1; 38890#L198 activate_threads_#t~ret10#1 := is_P_2_triggered_#res#1;assume { :end_inline_is_P_2_triggered } true;activate_threads_~tmp___0~1#1 := activate_threads_#t~ret10#1;havoc activate_threads_#t~ret10#1; 38853#L499 assume !(0 != activate_threads_~tmp___0~1#1); 38854#L499-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~2#1;havoc is_C_1_triggered_~__retres1~2#1; 38794#L268 assume !(1 == ~C_1_pc~0); 38795#L268-2 assume !(2 == ~C_1_pc~0); 38927#L278-1 is_C_1_triggered_~__retres1~2#1 := 0; 38837#L289 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~2#1; 38838#L290 activate_threads_#t~ret11#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret11#1;havoc activate_threads_#t~ret11#1; 38796#L507 assume !(0 != activate_threads_~tmp___1~1#1); 38797#L507-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 38815#L432 assume { :end_inline_reset_delta_events } true; 38913#L561-2 assume !false; 39770#L562 start_simulation_~kernel_st~0#1 := 1;assume { :begin_inline_eval } true;havoc eval_#t~ret5#1, eval_#t~nondet6#1, eval_#t~nondet7#1, eval_#t~nondet8#1, eval_~tmp~0#1, eval_~tmp___0~0#1, eval_~tmp___1~0#1, eval_~tmp___2~0#1;havoc eval_~tmp~0#1;havoc eval_~tmp___0~0#1;havoc eval_~tmp___1~0#1;havoc eval_~tmp___2~0#1; 39771#L397 [2021-12-16 10:04:14,326 INFO L793 eck$LassoCheckResult]: Loop: 39771#L397 assume !false; 40138#L358 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~3#1;havoc exists_runnable_thread_~__retres1~3#1; 40137#L328 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~3#1 := 1; 40136#L345 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~3#1; 40135#L346 eval_#t~ret5#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;eval_~tmp___2~0#1 := eval_#t~ret5#1;havoc eval_#t~ret5#1; 40134#L362 assume 0 != eval_~tmp___2~0#1; 40133#L362-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 40131#L371 assume !(0 != eval_~tmp~0#1); 40130#L367 assume 0 == ~P_2_st~0;eval_~tmp___0~0#1 := eval_#t~nondet7#1;havoc eval_#t~nondet7#1; 39766#L386 assume !(0 != eval_~tmp___0~0#1); 40129#L382 assume 0 == ~C_1_st~0;eval_~tmp___1~0#1 := eval_#t~nondet8#1;havoc eval_#t~nondet8#1; 40139#L401 assume !(0 != eval_~tmp___1~0#1); 39771#L397 [2021-12-16 10:04:14,326 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:14,326 INFO L85 PathProgramCache]: Analyzing trace with hash 64203950, now seen corresponding path program 3 times [2021-12-16 10:04:14,327 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:14,327 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [642556273] [2021-12-16 10:04:14,327 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:14,327 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:14,332 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:14,332 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:14,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:14,339 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:14,340 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:14,340 INFO L85 PathProgramCache]: Analyzing trace with hash -1270750753, now seen corresponding path program 1 times [2021-12-16 10:04:14,340 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:14,341 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [878886503] [2021-12-16 10:04:14,341 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:14,341 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:14,344 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:14,344 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:14,345 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:14,347 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:14,347 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-16 10:04:14,347 INFO L85 PathProgramCache]: Analyzing trace with hash -897649908, now seen corresponding path program 1 times [2021-12-16 10:04:14,347 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-16 10:04:14,347 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [226788842] [2021-12-16 10:04:14,348 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-16 10:04:14,348 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-16 10:04:14,392 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:14,392 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-16 10:04:14,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-16 10:04:14,401 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-16 10:04:15,399 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 16.12 10:04:15 BoogieIcfgContainer [2021-12-16 10:04:15,399 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-12-16 10:04:15,400 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-12-16 10:04:15,400 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-12-16 10:04:15,400 INFO L275 PluginConnector]: Witness Printer initialized [2021-12-16 10:04:15,400 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 16.12 10:04:11" (3/4) ... [2021-12-16 10:04:15,402 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-12-16 10:04:15,440 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-12-16 10:04:15,440 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-12-16 10:04:15,440 INFO L158 Benchmark]: Toolchain (without parser) took 4989.43ms. Allocated memory was 100.7MB in the beginning and 276.8MB in the end (delta: 176.2MB). Free memory was 69.0MB in the beginning and 218.0MB in the end (delta: -149.0MB). Peak memory consumption was 25.7MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,441 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 79.7MB. Free memory was 45.0MB in the beginning and 44.9MB in the end (delta: 75.6kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-16 10:04:15,441 INFO L158 Benchmark]: CACSL2BoogieTranslator took 272.00ms. Allocated memory is still 100.7MB. Free memory was 68.8MB in the beginning and 74.6MB in the end (delta: -5.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,441 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.80ms. Allocated memory is still 100.7MB. Free memory was 74.6MB in the beginning and 71.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,441 INFO L158 Benchmark]: Boogie Preprocessor took 47.16ms. Allocated memory is still 100.7MB. Free memory was 71.5MB in the beginning and 69.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,442 INFO L158 Benchmark]: RCFGBuilder took 514.48ms. Allocated memory is still 100.7MB. Free memory was 69.4MB in the beginning and 48.4MB in the end (delta: 21.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,442 INFO L158 Benchmark]: BuchiAutomizer took 4064.56ms. Allocated memory was 100.7MB in the beginning and 276.8MB in the end (delta: 176.2MB). Free memory was 47.9MB in the beginning and 221.1MB in the end (delta: -173.2MB). Peak memory consumption was 103.6MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,442 INFO L158 Benchmark]: Witness Printer took 40.22ms. Allocated memory is still 276.8MB. Free memory was 221.1MB in the beginning and 218.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-16 10:04:15,444 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.17ms. Allocated memory is still 79.7MB. Free memory was 45.0MB in the beginning and 44.9MB in the end (delta: 75.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 272.00ms. Allocated memory is still 100.7MB. Free memory was 68.8MB in the beginning and 74.6MB in the end (delta: -5.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 45.80ms. Allocated memory is still 100.7MB. Free memory was 74.6MB in the beginning and 71.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 47.16ms. Allocated memory is still 100.7MB. Free memory was 71.5MB in the beginning and 69.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 514.48ms. Allocated memory is still 100.7MB. Free memory was 69.4MB in the beginning and 48.4MB in the end (delta: 21.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * BuchiAutomizer took 4064.56ms. Allocated memory was 100.7MB in the beginning and 276.8MB in the end (delta: 176.2MB). Free memory was 47.9MB in the beginning and 221.1MB in the end (delta: -173.2MB). Peak memory consumption was 103.6MB. Max. memory is 16.1GB. * Witness Printer took 40.22ms. Allocated memory is still 276.8MB. Free memory was 221.1MB in the beginning and 218.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 11 terminating modules (11 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.11 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 6650 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.0s and 12 iterations. TraceHistogramMax:1. Analysis of lassos took 2.2s. Construction of modules took 0.2s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 0. Minimization of det autom 11. Minimization of nondet autom 0. Automata minimization 0.4s AutomataMinimizationTime, 11 MinimizatonAttempts, 1602 StatesRemovedByMinimization, 6 NontrivialMinimizations. Non-live state removal took 0.3s Buchi closure took 0.0s. Biggest automaton had 6650 states and ocurred in iteration 11. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 3995 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 3995 mSDsluCounter, 6145 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 3372 mSDsCounter, 115 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 282 IncrementalHoareTripleChecker+Invalid, 397 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 115 mSolverCounterUnsat, 2773 mSDtfsCounter, 282 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT0 conc2 concLT0 SILN1 SILU0 SILI6 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 357]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=1} State at position 1 is {NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@102b0a88=0, __retres1=0, P_1_pc=0, NULL=1, tmp___1=0, tmp=0, C_1_i=1, C_1_st=0, __retres1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@199afaa2=0, data_0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6b360e16=0, __retres2=0, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@249ad8de=0, __retres1=1, tmp=0, i=0, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@36585bc3=0, \result=0, P_1_i=1, e=0, \result=0, P_2_pc=0, clk=0, num=0, NULL=0, P_1_ev=0, C_1_pc=0, P_2_st=0, P_2_i=1, \result=1, tmp___2=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@44a00caa=0, tmp=0, count=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@640b3b0b=0, data_1=0, tmp___1=0, max_loop=8, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3b796867=0, C_1_pr=0, P_1_st=0, P_2_ev=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@23aee3d=0, C_1_ev=0, __retres1=0, timer=0, \result=0, kernel_st=1, tmp___0=0, \result=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 357]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L25] int max_loop ; [L26] int clk ; [L27] int num ; [L28] int i ; [L29] int e ; [L30] int timer ; [L31] char data_0 ; [L32] char data_1 ; [L75] int P_1_pc; [L76] int P_1_st ; [L77] int P_1_i ; [L78] int P_1_ev ; [L133] int P_2_pc ; [L134] int P_2_st ; [L135] int P_2_i ; [L136] int P_2_ev ; [L201] int C_1_pc ; [L202] int C_1_st ; [L203] int C_1_i ; [L204] int C_1_ev ; [L205] int C_1_pr ; [L617] int count ; [L618] int __retres2 ; [L622] num = 0 [L623] i = 0 [L624] clk = 0 [L625] max_loop = 8 [L627] timer = 0 [L628] P_1_pc = 0 [L629] P_2_pc = 0 [L630] C_1_pc = 0 [L632] count = 0 [L633] CALL init_model() [L609] P_1_i = 1 [L610] P_2_i = 1 [L611] C_1_i = 1 [L633] RET init_model() [L634] CALL start_simulation() [L547] int kernel_st ; [L548] int tmp ; [L549] int tmp___0 ; [L553] kernel_st = 0 [L554] FCALL update_channels() [L555] CALL init_threads() [L305] COND TRUE (int )P_1_i == 1 [L306] P_1_st = 0 [L310] COND TRUE (int )P_2_i == 1 [L311] P_2_st = 0 [L315] COND TRUE (int )C_1_i == 1 [L316] C_1_st = 0 [L555] RET init_threads() [L556] FCALL fire_delta_events() [L557] CALL activate_threads() [L483] int tmp ; [L484] int tmp___0 ; [L485] int tmp___1 ; [L489] CALL, EXPR is_P_1_triggered() [L115] int __retres1 ; [L118] COND FALSE !((int )P_1_pc == 1) [L128] __retres1 = 0 [L130] return (__retres1); [L489] RET, EXPR is_P_1_triggered() [L489] tmp = is_P_1_triggered() [L491] COND FALSE !(\read(tmp)) [L497] CALL, EXPR is_P_2_triggered() [L183] int __retres1 ; [L186] COND FALSE !((int )P_2_pc == 1) [L196] __retres1 = 0 [L198] return (__retres1); [L497] RET, EXPR is_P_2_triggered() [L497] tmp___0 = is_P_2_triggered() [L499] COND FALSE !(\read(tmp___0)) [L505] CALL, EXPR is_C_1_triggered() [L265] int __retres1 ; [L268] COND FALSE !((int )C_1_pc == 1) [L278] COND FALSE !((int )C_1_pc == 2) [L288] __retres1 = 0 [L290] return (__retres1); [L505] RET, EXPR is_C_1_triggered() [L505] tmp___1 = is_C_1_triggered() [L507] COND FALSE !(\read(tmp___1)) [L557] RET activate_threads() [L558] FCALL reset_delta_events() [L561] COND TRUE 1 [L564] kernel_st = 1 [L565] CALL eval() [L350] int tmp ; [L351] int tmp___0 ; [L352] int tmp___1 ; [L353] int tmp___2 ; Loop: [L357] COND TRUE 1 [L360] CALL, EXPR exists_runnable_thread() [L325] int __retres1 ; [L328] COND TRUE (int )P_1_st == 0 [L329] __retres1 = 1 [L346] return (__retres1); [L360] RET, EXPR exists_runnable_thread() [L360] tmp___2 = exists_runnable_thread() [L362] COND TRUE \read(tmp___2) [L367] COND TRUE (int )P_1_st == 0 [L369] tmp = __VERIFIER_nondet_int() [L371] COND FALSE !(\read(tmp)) [L382] COND TRUE (int )P_2_st == 0 [L384] tmp___0 = __VERIFIER_nondet_int() [L386] COND FALSE !(\read(tmp___0)) [L397] COND TRUE (int )C_1_st == 0 [L399] tmp___1 = __VERIFIER_nondet_int() [L401] COND FALSE !(\read(tmp___1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-12-16 10:04:15,486 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM)