./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/systemc/kundu1.cil.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version ff03de63 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/kundu1.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 c114a15ea6b1c9b012290758a6a9559b9c02a944706c9768958a3bd9c86822a7 --- Real Ultimate output --- This is Ultimate 0.2.2-dev-ff03de6 [2021-12-21 22:37:54,970 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-21 22:37:54,972 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-21 22:37:55,009 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-21 22:37:55,010 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-21 22:37:55,010 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-21 22:37:55,023 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-21 22:37:55,024 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-21 22:37:55,025 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-21 22:37:55,026 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-21 22:37:55,026 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-21 22:37:55,027 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-21 22:37:55,027 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-21 22:37:55,028 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-21 22:37:55,028 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-21 22:37:55,029 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-21 22:37:55,030 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-21 22:37:55,030 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-21 22:37:55,031 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-21 22:37:55,032 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-21 22:37:55,033 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-21 22:37:55,048 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-21 22:37:55,049 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-21 22:37:55,050 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-21 22:37:55,051 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-21 22:37:55,052 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-21 22:37:55,052 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-21 22:37:55,052 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-21 22:37:55,052 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-21 22:37:55,053 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-21 22:37:55,053 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-21 22:37:55,054 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-21 22:37:55,054 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-21 22:37:55,054 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-21 22:37:55,055 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-21 22:37:55,055 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-21 22:37:55,056 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-21 22:37:55,056 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-21 22:37:55,056 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-21 22:37:55,056 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-21 22:37:55,057 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-21 22:37:55,061 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-12-21 22:37:55,079 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-21 22:37:55,079 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-21 22:37:55,080 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-21 22:37:55,080 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-21 22:37:55,080 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-21 22:37:55,081 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-21 22:37:55,081 INFO L138 SettingsManager]: * Use SBE=true [2021-12-21 22:37:55,081 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-21 22:37:55,081 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-21 22:37:55,081 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-21 22:37:55,081 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-21 22:37:55,082 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-21 22:37:55,082 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-21 22:37:55,082 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-21 22:37:55,082 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-21 22:37:55,082 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-21 22:37:55,082 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-21 22:37:55,082 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-21 22:37:55,083 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-21 22:37:55,083 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-21 22:37:55,083 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-21 22:37:55,083 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-21 22:37:55,083 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-21 22:37:55,084 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-21 22:37:55,084 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-21 22:37:55,084 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-21 22:37:55,084 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-21 22:37:55,084 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-21 22:37:55,084 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-21 22:37:55,085 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-21 22:37:55,085 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-21 22:37:55,085 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-21 22:37:55,085 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-21 22:37:55,086 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 -> c114a15ea6b1c9b012290758a6a9559b9c02a944706c9768958a3bd9c86822a7 [2021-12-21 22:37:55,329 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-21 22:37:55,356 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-21 22:37:55,357 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-21 22:37:55,358 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-21 22:37:55,358 INFO L275 PluginConnector]: CDTParser initialized [2021-12-21 22:37:55,359 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/systemc/kundu1.cil.c [2021-12-21 22:37:55,396 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f324dac9e/ffddcc479fef4d0b9bad3a82cae94c61/FLAGe6798c355 [2021-12-21 22:37:55,711 INFO L306 CDTParser]: Found 1 translation units. [2021-12-21 22:37:55,717 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/systemc/kundu1.cil.c [2021-12-21 22:37:55,728 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f324dac9e/ffddcc479fef4d0b9bad3a82cae94c61/FLAGe6798c355 [2021-12-21 22:37:56,122 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f324dac9e/ffddcc479fef4d0b9bad3a82cae94c61 [2021-12-21 22:37:56,124 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-21 22:37:56,125 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-21 22:37:56,126 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-21 22:37:56,126 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-21 22:37:56,128 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-21 22:37:56,128 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,129 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@32ad7e5d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56, skipping insertion in model container [2021-12-21 22:37:56,129 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,133 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-21 22:37:56,155 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-21 22:37:56,246 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/kundu1.cil.c[636,649] [2021-12-21 22:37:56,273 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-21 22:37:56,279 INFO L203 MainTranslator]: Completed pre-run [2021-12-21 22:37:56,286 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/kundu1.cil.c[636,649] [2021-12-21 22:37:56,300 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-21 22:37:56,310 INFO L208 MainTranslator]: Completed translation [2021-12-21 22:37:56,311 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56 WrapperNode [2021-12-21 22:37:56,311 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-21 22:37:56,312 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-21 22:37:56,312 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-21 22:37:56,312 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-21 22:37:56,316 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,321 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,339 INFO L137 Inliner]: procedures = 32, calls = 36, calls flagged for inlining = 31, calls inlined = 34, statements flattened = 371 [2021-12-21 22:37:56,339 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-21 22:37:56,340 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-21 22:37:56,340 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-21 22:37:56,340 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-21 22:37:56,346 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,346 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,347 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,348 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,351 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,355 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,356 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,358 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-21 22:37:56,359 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-21 22:37:56,359 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-21 22:37:56,359 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-21 22:37:56,360 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (1/1) ... [2021-12-21 22:37:56,365 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-21 22:37:56,393 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-21 22:37:56,412 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-21 22:37:56,416 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-21 22:37:56,454 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-12-21 22:37:56,454 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-12-21 22:37:56,454 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-21 22:37:56,455 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-21 22:37:56,544 INFO L234 CfgBuilder]: Building ICFG [2021-12-21 22:37:56,545 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-21 22:37:56,782 INFO L275 CfgBuilder]: Performing block encoding [2021-12-21 22:37:56,787 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-21 22:37:56,788 INFO L299 CfgBuilder]: Removed 4 assume(true) statements. [2021-12-21 22:37:56,789 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.12 10:37:56 BoogieIcfgContainer [2021-12-21 22:37:56,789 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-21 22:37:56,790 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-21 22:37:56,790 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-21 22:37:56,792 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-21 22:37:56,793 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-21 22:37:56,793 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 21.12 10:37:56" (1/3) ... [2021-12-21 22:37:56,794 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@3cbe690e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.12 10:37:56, skipping insertion in model container [2021-12-21 22:37:56,794 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-21 22:37:56,794 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:37:56" (2/3) ... [2021-12-21 22:37:56,795 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@3cbe690e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.12 10:37:56, skipping insertion in model container [2021-12-21 22:37:56,795 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-21 22:37:56,795 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.12 10:37:56" (3/3) ... [2021-12-21 22:37:56,796 INFO L388 chiAutomizerObserver]: Analyzing ICFG kundu1.cil.c [2021-12-21 22:37:56,837 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-21 22:37:56,837 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-21 22:37:56,837 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-21 22:37:56,837 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-21 22:37:56,838 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-21 22:37:56,838 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-21 22:37:56,838 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-21 22:37:56,838 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-21 22:37:56,849 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 125 states, 124 states have (on average 1.4919354838709677) internal successors, (185), 124 states have internal predecessors, (185), 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-21 22:37:56,867 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 96 [2021-12-21 22:37:56,869 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:56,869 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:56,874 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] [2021-12-21 22:37:56,875 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] [2021-12-21 22:37:56,875 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-21 22:37:56,876 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 125 states, 124 states have (on average 1.4919354838709677) internal successors, (185), 124 states have internal predecessors, (185), 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-21 22:37:56,891 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 96 [2021-12-21 22:37:56,891 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:56,891 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:56,893 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:56,893 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:56,899 INFO L791 eck$LassoCheckResult]: Stem: 116#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 46#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 79#L496true assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 123#L229true assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 65#L236true assume !(1 == ~P_1_i~0);~P_1_st~0 := 2; 64#L236-2true assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 122#L241-1true assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 15#L331true assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 8#L117true assume !(1 == ~P_1_pc~0); 26#L117-2true is_P_1_triggered_~__retres1~0#1 := 0; 58#L128true is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 108#L129true activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 56#L383true assume !(0 != activate_threads_~tmp~1#1); 27#L383-2true assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 55#L199true assume 1 == ~C_1_pc~0; 99#L200true assume 1 == ~e~0;is_C_1_triggered_~__retres1~1#1 := 1; 69#L220true is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 81#L221true activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 80#L391true assume !(0 != activate_threads_~tmp___1~1#1); 5#L391-2true assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 120#L339true assume { :end_inline_reset_delta_events } true; 82#L445-2true [2021-12-21 22:37:56,902 INFO L793 eck$LassoCheckResult]: Loop: 82#L445-2true assume !false; 102#L446true 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_~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; 94#L304true assume false; 78#L320true assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 66#L229-1true assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 31#L331-1true assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 6#L117-3true assume 1 == ~P_1_pc~0; 59#L118-1true assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0#1 := 1; 84#L128-1true is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 49#L129-1true activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 40#L383-3true assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 19#L383-5true assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 119#L199-3true assume 1 == ~C_1_pc~0; 24#L200-1true assume 1 == ~e~0;is_C_1_triggered_~__retres1~1#1 := 1; 105#L220-1true is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 61#L221-1true activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 127#L391-3true assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 42#L391-5true assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 112#L339-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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 14#L254-1true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 45#L267-1true exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 72#L268-1true start_simulation_#t~ret11#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret11#1;havoc start_simulation_#t~ret11#1; 103#L464true assume !(0 == start_simulation_~tmp~3#1); 28#L464-2true assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret10#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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 32#L254-2true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 85#L267-2true exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 96#L268-2true stop_simulation_#t~ret10#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret10#1;havoc stop_simulation_#t~ret10#1; 7#L419true assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 110#L426true stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 87#L427true start_simulation_#t~ret12#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret12#1;havoc start_simulation_#t~ret12#1; 33#L477true assume !(0 != start_simulation_~tmp___0~2#1); 82#L445-2true [2021-12-21 22:37:56,909 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:56,910 INFO L85 PathProgramCache]: Analyzing trace with hash -1103808071, now seen corresponding path program 1 times [2021-12-21 22:37:56,921 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:56,922 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [401366488] [2021-12-21 22:37:56,922 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:56,923 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,005 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,064 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-21 22:37:57,065 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,065 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [401366488] [2021-12-21 22:37:57,066 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [401366488] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,066 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,067 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-21 22:37:57,069 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1290077777] [2021-12-21 22:37:57,069 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,072 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-21 22:37:57,074 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,074 INFO L85 PathProgramCache]: Analyzing trace with hash 1621080914, now seen corresponding path program 1 times [2021-12-21 22:37:57,075 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,075 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1924377323] [2021-12-21 22:37:57,075 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,075 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,091 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,111 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-21 22:37:57,111 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,112 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1924377323] [2021-12-21 22:37:57,112 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1924377323] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,113 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,113 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-21 22:37:57,113 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1354768321] [2021-12-21 22:37:57,113 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,115 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-21 22:37:57,115 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,138 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-21 22:37:57,139 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-21 22:37:57,141 INFO L87 Difference]: Start difference. First operand has 125 states, 124 states have (on average 1.4919354838709677) internal successors, (185), 124 states have internal predecessors, (185), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 3 states have (on average 7.0) internal successors, (21), 3 states have internal predecessors, (21), 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-21 22:37:57,176 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,177 INFO L93 Difference]: Finished difference Result 122 states and 172 transitions. [2021-12-21 22:37:57,178 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-21 22:37:57,182 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 122 states and 172 transitions. [2021-12-21 22:37:57,186 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 90 [2021-12-21 22:37:57,191 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 122 states to 115 states and 165 transitions. [2021-12-21 22:37:57,191 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 115 [2021-12-21 22:37:57,193 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 115 [2021-12-21 22:37:57,193 INFO L73 IsDeterministic]: Start isDeterministic. Operand 115 states and 165 transitions. [2021-12-21 22:37:57,194 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:57,194 INFO L681 BuchiCegarLoop]: Abstraction has 115 states and 165 transitions. [2021-12-21 22:37:57,205 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 115 states and 165 transitions. [2021-12-21 22:37:57,218 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 115 to 115. [2021-12-21 22:37:57,219 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 115 states, 115 states have (on average 1.434782608695652) internal successors, (165), 114 states have internal predecessors, (165), 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-21 22:37:57,219 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 115 states to 115 states and 165 transitions. [2021-12-21 22:37:57,220 INFO L704 BuchiCegarLoop]: Abstraction has 115 states and 165 transitions. [2021-12-21 22:37:57,220 INFO L587 BuchiCegarLoop]: Abstraction has 115 states and 165 transitions. [2021-12-21 22:37:57,220 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-12-21 22:37:57,220 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 115 states and 165 transitions. [2021-12-21 22:37:57,221 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 90 [2021-12-21 22:37:57,221 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:57,222 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:57,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] [2021-12-21 22:37:57,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] [2021-12-21 22:37:57,225 INFO L791 eck$LassoCheckResult]: Stem: 370#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 326#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 327#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 359#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 352#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 350#L236-2 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 351#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 282#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 266#L117 assume !(1 == ~P_1_pc~0); 267#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 299#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 345#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 343#L383 assume !(0 != activate_threads_~tmp~1#1); 300#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 301#L199 assume 1 == ~C_1_pc~0; 341#L200 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1#1 := 1; 278#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 356#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 360#L391 assume !(0 != activate_threads_~tmp___1~1#1); 259#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 260#L339 assume { :end_inline_reset_delta_events } true; 310#L445-2 [2021-12-21 22:37:57,225 INFO L793 eck$LassoCheckResult]: Loop: 310#L445-2 assume !false; 361#L446 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_~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; 284#L304 assume !false; 365#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 344#L254 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 303#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 297#L268 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; 298#L284 assume !(0 != eval_~tmp___2~0#1); 355#L320 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 353#L229-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 306#L331-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 261#L117-3 assume 1 == ~P_1_pc~0; 262#L118-1 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0#1 := 1; 346#L128-1 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 331#L129-1 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 317#L383-3 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 288#L383-5 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 289#L199-3 assume 1 == ~C_1_pc~0; 294#L200-1 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1#1 := 1; 296#L220-1 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 347#L221-1 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 348#L391-3 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 319#L391-5 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 320#L339-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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 279#L254-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 280#L267-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 325#L268-1 start_simulation_#t~ret11#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret11#1;havoc start_simulation_#t~ret11#1; 357#L464 assume !(0 == start_simulation_~tmp~3#1); 275#L464-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret10#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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 302#L254-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 308#L267-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 362#L268-2 stop_simulation_#t~ret10#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret10#1;havoc stop_simulation_#t~ret10#1; 264#L419 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 265#L426 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 363#L427 start_simulation_#t~ret12#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret12#1;havoc start_simulation_#t~ret12#1; 309#L477 assume !(0 != start_simulation_~tmp___0~2#1); 310#L445-2 [2021-12-21 22:37:57,226 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,226 INFO L85 PathProgramCache]: Analyzing trace with hash 484539831, now seen corresponding path program 1 times [2021-12-21 22:37:57,226 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,226 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [224488341] [2021-12-21 22:37:57,226 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,226 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,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-21 22:37:57,287 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,289 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [224488341] [2021-12-21 22:37:57,289 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [224488341] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,289 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,289 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-12-21 22:37:57,290 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1444974725] [2021-12-21 22:37:57,290 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,291 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-21 22:37:57,296 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,297 INFO L85 PathProgramCache]: Analyzing trace with hash -745860796, now seen corresponding path program 1 times [2021-12-21 22:37:57,300 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,300 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1592176634] [2021-12-21 22:37:57,300 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,301 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,315 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,354 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-21 22:37:57,354 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,354 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1592176634] [2021-12-21 22:37:57,354 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1592176634] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,354 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,355 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-21 22:37:57,355 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [895590782] [2021-12-21 22:37:57,355 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,356 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-21 22:37:57,356 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,356 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-12-21 22:37:57,357 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-12-21 22:37:57,357 INFO L87 Difference]: Start difference. First operand 115 states and 165 transitions. cyclomatic complexity: 51 Second operand has 4 states, 4 states have (on average 5.25) internal successors, (21), 4 states have internal predecessors, (21), 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-21 22:37:57,432 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,432 INFO L93 Difference]: Finished difference Result 281 states and 389 transitions. [2021-12-21 22:37:57,433 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-12-21 22:37:57,433 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 281 states and 389 transitions. [2021-12-21 22:37:57,434 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 246 [2021-12-21 22:37:57,436 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 281 states to 281 states and 389 transitions. [2021-12-21 22:37:57,436 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 281 [2021-12-21 22:37:57,437 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 281 [2021-12-21 22:37:57,437 INFO L73 IsDeterministic]: Start isDeterministic. Operand 281 states and 389 transitions. [2021-12-21 22:37:57,438 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:57,438 INFO L681 BuchiCegarLoop]: Abstraction has 281 states and 389 transitions. [2021-12-21 22:37:57,438 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 281 states and 389 transitions. [2021-12-21 22:37:57,445 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 281 to 262. [2021-12-21 22:37:57,445 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 262 states, 262 states have (on average 1.3969465648854962) internal successors, (366), 261 states have internal predecessors, (366), 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-21 22:37:57,446 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 262 states to 262 states and 366 transitions. [2021-12-21 22:37:57,446 INFO L704 BuchiCegarLoop]: Abstraction has 262 states and 366 transitions. [2021-12-21 22:37:57,446 INFO L587 BuchiCegarLoop]: Abstraction has 262 states and 366 transitions. [2021-12-21 22:37:57,446 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-12-21 22:37:57,446 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 262 states and 366 transitions. [2021-12-21 22:37:57,447 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 239 [2021-12-21 22:37:57,447 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:57,447 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:57,448 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,448 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-21 22:37:57,448 INFO L791 eck$LassoCheckResult]: Stem: 797#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 734#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 735#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 778#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 769#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 765#L236-2 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 766#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 689#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 674#L117 assume !(1 == ~P_1_pc~0); 675#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 706#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 758#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 753#L383 assume !(0 != activate_threads_~tmp~1#1); 709#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 710#L199 assume !(1 == ~C_1_pc~0); 752#L199-2 assume !(2 == ~C_1_pc~0); 687#L209-1 is_C_1_triggered_~__retres1~1#1 := 0; 688#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 774#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 779#L391 assume !(0 != activate_threads_~tmp___1~1#1); 670#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 671#L339 assume { :end_inline_reset_delta_events } true; 798#L445-2 [2021-12-21 22:37:57,449 INFO L793 eck$LassoCheckResult]: Loop: 798#L445-2 assume !false; 865#L446 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_~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; 860#L304 assume !false; 859#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 857#L254 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 854#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 852#L268 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; 849#L284 assume !(0 != eval_~tmp___2~0#1); 847#L320 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 844#L229-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 714#L331-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 668#L117-3 assume !(1 == ~P_1_pc~0); 669#L117-5 is_P_1_triggered_~__retres1~0#1 := 0; 776#L128-1 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 739#L129-1 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 726#L383-3 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 695#L383-5 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 696#L199-3 assume !(1 == ~C_1_pc~0); 795#L199-5 assume 2 == ~C_1_pc~0; 720#L210-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1#1 := 1; 721#L220-1 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 762#L221-1 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 763#L391-3 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 727#L391-5 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 728#L339-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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 683#L254-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 684#L267-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 733#L268-1 start_simulation_#t~ret11#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret11#1;havoc start_simulation_#t~ret11#1; 775#L464 assume !(0 == start_simulation_~tmp~3#1); 794#L464-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret10#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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 880#L254-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 877#L267-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 876#L268-2 stop_simulation_#t~ret10#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret10#1;havoc stop_simulation_#t~ret10#1; 875#L419 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 873#L426 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 871#L427 start_simulation_#t~ret12#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret12#1;havoc start_simulation_#t~ret12#1; 869#L477 assume !(0 != start_simulation_~tmp___0~2#1); 798#L445-2 [2021-12-21 22:37:57,449 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,449 INFO L85 PathProgramCache]: Analyzing trace with hash 1818999495, now seen corresponding path program 1 times [2021-12-21 22:37:57,449 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,450 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1093644363] [2021-12-21 22:37:57,450 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,450 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,456 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,456 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:57,461 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,474 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:57,475 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,475 INFO L85 PathProgramCache]: Analyzing trace with hash -1174958789, now seen corresponding path program 1 times [2021-12-21 22:37:57,475 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,475 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1155337528] [2021-12-21 22:37:57,475 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,476 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,482 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,532 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-21 22:37:57,532 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,532 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1155337528] [2021-12-21 22:37:57,532 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1155337528] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,533 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,533 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-21 22:37:57,533 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [96909191] [2021-12-21 22:37:57,533 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,533 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-21 22:37:57,534 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,534 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-12-21 22:37:57,534 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-12-21 22:37:57,534 INFO L87 Difference]: Start difference. First operand 262 states and 366 transitions. cyclomatic complexity: 106 Second operand has 5 states, 5 states have (on average 7.4) internal successors, (37), 5 states have internal predecessors, (37), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-21 22:37:57,582 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,582 INFO L93 Difference]: Finished difference Result 451 states and 622 transitions. [2021-12-21 22:37:57,582 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-12-21 22:37:57,583 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 451 states and 622 transitions. [2021-12-21 22:37:57,585 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 428 [2021-12-21 22:37:57,587 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 451 states to 451 states and 622 transitions. [2021-12-21 22:37:57,587 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 451 [2021-12-21 22:37:57,588 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 451 [2021-12-21 22:37:57,588 INFO L73 IsDeterministic]: Start isDeterministic. Operand 451 states and 622 transitions. [2021-12-21 22:37:57,589 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:57,589 INFO L681 BuchiCegarLoop]: Abstraction has 451 states and 622 transitions. [2021-12-21 22:37:57,590 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 451 states and 622 transitions. [2021-12-21 22:37:57,595 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 451 to 271. [2021-12-21 22:37:57,596 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 271 states, 271 states have (on average 1.3837638376383763) internal successors, (375), 270 states have internal predecessors, (375), 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-21 22:37:57,596 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 271 states to 271 states and 375 transitions. [2021-12-21 22:37:57,597 INFO L704 BuchiCegarLoop]: Abstraction has 271 states and 375 transitions. [2021-12-21 22:37:57,597 INFO L587 BuchiCegarLoop]: Abstraction has 271 states and 375 transitions. [2021-12-21 22:37:57,597 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-12-21 22:37:57,597 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 271 states and 375 transitions. [2021-12-21 22:37:57,598 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 248 [2021-12-21 22:37:57,598 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:57,598 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:57,599 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,599 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] [2021-12-21 22:37:57,599 INFO L791 eck$LassoCheckResult]: Stem: 1535#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 1469#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 1470#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 1511#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 1503#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 1498#L236-2 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 1499#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 1418#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 1403#L117 assume !(1 == ~P_1_pc~0); 1404#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 1435#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 1491#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 1486#L383 assume !(0 != activate_threads_~tmp~1#1); 1438#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 1439#L199 assume !(1 == ~C_1_pc~0); 1485#L199-2 assume !(2 == ~C_1_pc~0); 1416#L209-1 is_C_1_triggered_~__retres1~1#1 := 0; 1417#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 1506#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 1512#L391 assume !(0 != activate_threads_~tmp___1~1#1); 1399#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 1400#L339 assume { :end_inline_reset_delta_events } true; 1540#L445-2 [2021-12-21 22:37:57,599 INFO L793 eck$LassoCheckResult]: Loop: 1540#L445-2 assume !false; 1648#L446 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_~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; 1420#L304 assume !false; 1597#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 1594#L254 assume !(0 == ~P_1_st~0); 1591#L258 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~2#1 := 0; 1590#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 1589#L268 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; 1588#L284 assume !(0 != eval_~tmp___2~0#1); 1510#L320 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 1500#L229-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 1443#L331-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 1397#L117-3 assume !(1 == ~P_1_pc~0); 1398#L117-5 is_P_1_triggered_~__retres1~0#1 := 0; 1515#L128-1 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 1474#L129-1 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 1475#L383-3 assume 0 != activate_threads_~tmp~1#1;~P_1_st~0 := 0; 1424#L383-5 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 1425#L199-3 assume !(1 == ~C_1_pc~0); 1530#L199-5 assume 2 == ~C_1_pc~0; 1531#L210-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1#1 := 1; 1528#L220-1 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 1529#L221-1 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 1542#L391-3 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 1543#L391-5 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 1619#L339-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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 1412#L254-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 1413#L267-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 1468#L268-1 start_simulation_#t~ret11#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret11#1;havoc start_simulation_#t~ret11#1; 1507#L464 assume !(0 == start_simulation_~tmp~3#1); 1436#L464-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret10#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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 1437#L254-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 1657#L267-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 1655#L268-2 stop_simulation_#t~ret10#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret10#1;havoc stop_simulation_#t~ret10#1; 1653#L419 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 1652#L426 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 1650#L427 start_simulation_#t~ret12#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret12#1;havoc start_simulation_#t~ret12#1; 1649#L477 assume !(0 != start_simulation_~tmp___0~2#1); 1540#L445-2 [2021-12-21 22:37:57,599 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,600 INFO L85 PathProgramCache]: Analyzing trace with hash 1818999495, now seen corresponding path program 2 times [2021-12-21 22:37:57,600 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,600 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [292756449] [2021-12-21 22:37:57,600 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,600 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,606 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,606 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:57,609 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,613 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:57,613 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,613 INFO L85 PathProgramCache]: Analyzing trace with hash 1740811999, now seen corresponding path program 1 times [2021-12-21 22:37:57,613 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,613 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [393301756] [2021-12-21 22:37:57,613 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,614 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,621 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,665 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-21 22:37:57,665 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,666 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [393301756] [2021-12-21 22:37:57,666 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [393301756] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,666 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,666 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-21 22:37:57,666 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1673089267] [2021-12-21 22:37:57,666 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,667 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-21 22:37:57,667 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,667 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-12-21 22:37:57,667 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-12-21 22:37:57,667 INFO L87 Difference]: Start difference. First operand 271 states and 375 transitions. cyclomatic complexity: 106 Second operand has 5 states, 5 states have (on average 7.6) internal successors, (38), 5 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-21 22:37:57,712 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,713 INFO L93 Difference]: Finished difference Result 577 states and 796 transitions. [2021-12-21 22:37:57,713 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-12-21 22:37:57,714 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 577 states and 796 transitions. [2021-12-21 22:37:57,716 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 554 [2021-12-21 22:37:57,718 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 577 states to 577 states and 796 transitions. [2021-12-21 22:37:57,718 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 577 [2021-12-21 22:37:57,719 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 577 [2021-12-21 22:37:57,719 INFO L73 IsDeterministic]: Start isDeterministic. Operand 577 states and 796 transitions. [2021-12-21 22:37:57,720 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:57,720 INFO L681 BuchiCegarLoop]: Abstraction has 577 states and 796 transitions. [2021-12-21 22:37:57,720 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 577 states and 796 transitions. [2021-12-21 22:37:57,724 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 577 to 283. [2021-12-21 22:37:57,724 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 283 states, 283 states have (on average 1.3568904593639577) internal successors, (384), 282 states have internal predecessors, (384), 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-21 22:37:57,725 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 283 states to 283 states and 384 transitions. [2021-12-21 22:37:57,725 INFO L704 BuchiCegarLoop]: Abstraction has 283 states and 384 transitions. [2021-12-21 22:37:57,725 INFO L587 BuchiCegarLoop]: Abstraction has 283 states and 384 transitions. [2021-12-21 22:37:57,725 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-12-21 22:37:57,725 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 283 states and 384 transitions. [2021-12-21 22:37:57,726 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 260 [2021-12-21 22:37:57,726 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:57,726 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:57,727 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,727 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] [2021-12-21 22:37:57,727 INFO L791 eck$LassoCheckResult]: Stem: 2381#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 2325#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 2326#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 2365#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 2358#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 2354#L236-2 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 2355#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 2279#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 2264#L117 assume !(1 == ~P_1_pc~0); 2265#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 2296#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 2345#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 2343#L383 assume !(0 != activate_threads_~tmp~1#1); 2297#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 2298#L199 assume !(1 == ~C_1_pc~0); 2342#L199-2 assume !(2 == ~C_1_pc~0); 2274#L209-1 is_C_1_triggered_~__retres1~1#1 := 0; 2275#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 2359#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 2366#L391 assume !(0 != activate_threads_~tmp___1~1#1); 2258#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 2259#L339 assume { :end_inline_reset_delta_events } true; 2382#L445-2 [2021-12-21 22:37:57,727 INFO L793 eck$LassoCheckResult]: Loop: 2382#L445-2 assume !false; 2406#L446 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_~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; 2401#L304 assume !false; 2400#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 2399#L254 assume !(0 == ~P_1_st~0); 2397#L258 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~2#1 := 0; 2396#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 2395#L268 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; 2393#L284 assume !(0 != eval_~tmp___2~0#1); 2392#L320 assume { :end_inline_eval } true;start_simulation_~kernel_st~0#1 := 2;assume { :begin_inline_update_channels } true; 2391#L229-1 assume { :end_inline_update_channels } true;start_simulation_~kernel_st~0#1 := 3;assume { :begin_inline_fire_delta_events } true; 2390#L331-1 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 2260#L117-3 assume !(1 == ~P_1_pc~0); 2261#L117-5 is_P_1_triggered_~__retres1~0#1 := 0; 2460#L128-1 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 2459#L129-1 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 2458#L383-3 assume !(0 != activate_threads_~tmp~1#1); 2456#L383-5 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 2454#L199-3 assume !(1 == ~C_1_pc~0); 2452#L199-5 assume 2 == ~C_1_pc~0; 2449#L210-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1#1 := 1; 2447#L220-1 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 2445#L221-1 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 2442#L391-3 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 2440#L391-5 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 2438#L339-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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 2435#L254-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 2433#L267-1 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 2431#L268-1 start_simulation_#t~ret11#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;start_simulation_~tmp~3#1 := start_simulation_#t~ret11#1;havoc start_simulation_#t~ret11#1; 2429#L464 assume !(0 == start_simulation_~tmp~3#1); 2427#L464-2 assume { :begin_inline_stop_simulation } true;havoc stop_simulation_#res#1;havoc stop_simulation_#t~ret10#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~2#1;havoc exists_runnable_thread_~__retres1~2#1; 2426#L254-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 2424#L267-2 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 2423#L268-2 stop_simulation_#t~ret10#1 := exists_runnable_thread_#res#1;assume { :end_inline_exists_runnable_thread } true;stop_simulation_~tmp~2#1 := stop_simulation_#t~ret10#1;havoc stop_simulation_#t~ret10#1; 2422#L419 assume 0 != stop_simulation_~tmp~2#1;stop_simulation_~__retres2~0#1 := 0; 2421#L426 stop_simulation_#res#1 := stop_simulation_~__retres2~0#1; 2419#L427 start_simulation_#t~ret12#1 := stop_simulation_#res#1;assume { :end_inline_stop_simulation } true;start_simulation_~tmp___0~2#1 := start_simulation_#t~ret12#1;havoc start_simulation_#t~ret12#1; 2414#L477 assume !(0 != start_simulation_~tmp___0~2#1); 2382#L445-2 [2021-12-21 22:37:57,728 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,728 INFO L85 PathProgramCache]: Analyzing trace with hash 1818999495, now seen corresponding path program 3 times [2021-12-21 22:37:57,728 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,728 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1625915751] [2021-12-21 22:37:57,728 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,729 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,734 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,734 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:57,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,756 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:57,756 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,756 INFO L85 PathProgramCache]: Analyzing trace with hash 1959666717, now seen corresponding path program 1 times [2021-12-21 22:37:57,756 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,756 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1116483283] [2021-12-21 22:37:57,756 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,756 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,760 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,771 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-21 22:37:57,771 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,771 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1116483283] [2021-12-21 22:37:57,771 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1116483283] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,771 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,771 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-21 22:37:57,772 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2068906940] [2021-12-21 22:37:57,772 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,772 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-21 22:37:57,772 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,772 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-21 22:37:57,772 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-21 22:37:57,773 INFO L87 Difference]: Start difference. First operand 283 states and 384 transitions. cyclomatic complexity: 103 Second operand has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-21 22:37:57,790 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,790 INFO L93 Difference]: Finished difference Result 427 states and 570 transitions. [2021-12-21 22:37:57,790 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-21 22:37:57,791 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 427 states and 570 transitions. [2021-12-21 22:37:57,793 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 397 [2021-12-21 22:37:57,794 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 427 states to 427 states and 570 transitions. [2021-12-21 22:37:57,795 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 427 [2021-12-21 22:37:57,795 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 427 [2021-12-21 22:37:57,795 INFO L73 IsDeterministic]: Start isDeterministic. Operand 427 states and 570 transitions. [2021-12-21 22:37:57,795 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:57,795 INFO L681 BuchiCegarLoop]: Abstraction has 427 states and 570 transitions. [2021-12-21 22:37:57,796 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 427 states and 570 transitions. [2021-12-21 22:37:57,799 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 427 to 427. [2021-12-21 22:37:57,799 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 427 states, 427 states have (on average 1.334894613583138) internal successors, (570), 426 states have internal predecessors, (570), 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-21 22:37:57,800 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 427 states to 427 states and 570 transitions. [2021-12-21 22:37:57,800 INFO L704 BuchiCegarLoop]: Abstraction has 427 states and 570 transitions. [2021-12-21 22:37:57,800 INFO L587 BuchiCegarLoop]: Abstraction has 427 states and 570 transitions. [2021-12-21 22:37:57,800 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-12-21 22:37:57,800 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 427 states and 570 transitions. [2021-12-21 22:37:57,802 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 397 [2021-12-21 22:37:57,802 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:57,802 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:57,802 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,802 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,802 INFO L791 eck$LassoCheckResult]: Stem: 3103#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 3042#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 3043#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 3083#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 3072#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 3070#L236-2 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 3071#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 2994#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 2980#L117 assume !(1 == ~P_1_pc~0); 2981#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 3013#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 3061#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 3059#L383 assume !(0 != activate_threads_~tmp~1#1); 3014#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 3015#L199 assume !(1 == ~C_1_pc~0); 3058#L199-2 assume !(2 == ~C_1_pc~0); 2990#L209-1 is_C_1_triggered_~__retres1~1#1 := 0; 2991#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 3075#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 3084#L391 assume !(0 != activate_threads_~tmp___1~1#1); 2974#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 2975#L339 assume { :end_inline_reset_delta_events } true; 3105#L445-2 assume !false; 3397#L446 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_~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; 2996#L304 [2021-12-21 22:37:57,803 INFO L793 eck$LassoCheckResult]: Loop: 2996#L304 assume !false; 3395#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 3394#L254 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 3393#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 3392#L268 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; 3391#L284 assume 0 != eval_~tmp___2~0#1; 3390#L284-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 3102#L293 assume !(0 != eval_~tmp~0#1); 3034#L289 assume !(0 == ~C_1_st~0); 2996#L304 [2021-12-21 22:37:57,803 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,803 INFO L85 PathProgramCache]: Analyzing trace with hash 6828137, now seen corresponding path program 1 times [2021-12-21 22:37:57,803 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,803 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2134563309] [2021-12-21 22:37:57,804 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,804 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,808 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,808 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:57,811 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,814 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:57,814 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,814 INFO L85 PathProgramCache]: Analyzing trace with hash 602708997, now seen corresponding path program 1 times [2021-12-21 22:37:57,814 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,814 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1885225325] [2021-12-21 22:37:57,814 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,815 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,817 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:57,818 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,819 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:57,819 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,819 INFO L85 PathProgramCache]: Analyzing trace with hash 462446749, now seen corresponding path program 1 times [2021-12-21 22:37:57,819 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,819 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [178107574] [2021-12-21 22:37:57,820 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,820 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,834 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-21 22:37:57,834 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,835 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [178107574] [2021-12-21 22:37:57,835 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [178107574] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,835 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,835 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-21 22:37:57,835 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1233097099] [2021-12-21 22:37:57,835 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,873 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,873 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-21 22:37:57,874 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-21 22:37:57,874 INFO L87 Difference]: Start difference. First operand 427 states and 570 transitions. cyclomatic complexity: 146 Second operand has 3 states, 2 states have (on average 16.5) internal successors, (33), 3 states have internal predecessors, (33), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-21 22:37:57,893 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,893 INFO L93 Difference]: Finished difference Result 706 states and 924 transitions. [2021-12-21 22:37:57,894 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-21 22:37:57,894 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 706 states and 924 transitions. [2021-12-21 22:37:57,897 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 652 [2021-12-21 22:37:57,899 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 706 states to 706 states and 924 transitions. [2021-12-21 22:37:57,899 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 706 [2021-12-21 22:37:57,900 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 706 [2021-12-21 22:37:57,900 INFO L73 IsDeterministic]: Start isDeterministic. Operand 706 states and 924 transitions. [2021-12-21 22:37:57,900 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:57,901 INFO L681 BuchiCegarLoop]: Abstraction has 706 states and 924 transitions. [2021-12-21 22:37:57,901 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 706 states and 924 transitions. [2021-12-21 22:37:57,905 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 706 to 706. [2021-12-21 22:37:57,906 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 706 states, 706 states have (on average 1.3087818696883853) internal successors, (924), 705 states have internal predecessors, (924), 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-21 22:37:57,921 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 706 states to 706 states and 924 transitions. [2021-12-21 22:37:57,921 INFO L704 BuchiCegarLoop]: Abstraction has 706 states and 924 transitions. [2021-12-21 22:37:57,921 INFO L587 BuchiCegarLoop]: Abstraction has 706 states and 924 transitions. [2021-12-21 22:37:57,921 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-12-21 22:37:57,921 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 706 states and 924 transitions. [2021-12-21 22:37:57,923 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 652 [2021-12-21 22:37:57,924 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:57,924 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:57,924 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,924 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:57,924 INFO L791 eck$LassoCheckResult]: Stem: 4245#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 4179#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 4180#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 4222#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 4210#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 4207#L236-2 assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 4208#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 4546#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 4545#L117 assume !(1 == ~P_1_pc~0); 4544#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 4543#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 4542#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 4541#L383 assume !(0 != activate_threads_~tmp~1#1); 4540#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 4539#L199 assume !(1 == ~C_1_pc~0); 4538#L199-2 assume !(2 == ~C_1_pc~0); 4536#L209-1 is_C_1_triggered_~__retres1~1#1 := 0; 4535#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 4534#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 4533#L391 assume 0 != activate_threads_~tmp___1~1#1;~C_1_st~0 := 0; 4115#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 4116#L339 assume { :end_inline_reset_delta_events } true; 4246#L445-2 assume !false; 4563#L446 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_~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; 4551#L304 [2021-12-21 22:37:57,925 INFO L793 eck$LassoCheckResult]: Loop: 4551#L304 assume !false; 4562#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 4560#L254 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 4559#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 4558#L268 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; 4557#L284 assume 0 != eval_~tmp___2~0#1; 4555#L284-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 4553#L293 assume !(0 != eval_~tmp~0#1); 4552#L289 assume 0 == ~C_1_st~0;eval_~tmp___1~0#1 := eval_#t~nondet7#1;havoc eval_#t~nondet7#1; 4550#L308 assume !(0 != eval_~tmp___1~0#1); 4551#L304 [2021-12-21 22:37:57,925 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,925 INFO L85 PathProgramCache]: Analyzing trace with hash -1683962647, now seen corresponding path program 1 times [2021-12-21 22:37:57,925 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,925 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1186969336] [2021-12-21 22:37:57,926 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,926 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,929 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-21 22:37:57,937 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-21 22:37:57,938 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-21 22:37:57,938 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1186969336] [2021-12-21 22:37:57,938 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1186969336] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-21 22:37:57,938 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-21 22:37:57,938 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-12-21 22:37:57,938 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [126384936] [2021-12-21 22:37:57,939 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-21 22:37:57,939 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-21 22:37:57,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:57,939 INFO L85 PathProgramCache]: Analyzing trace with hash 1504107565, now seen corresponding path program 1 times [2021-12-21 22:37:57,939 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:57,940 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [651208100] [2021-12-21 22:37:57,940 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:57,940 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:57,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,942 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:57,944 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:57,945 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:57,990 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-21 22:37:57,990 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-21 22:37:57,991 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-21 22:37:57,991 INFO L87 Difference]: Start difference. First operand 706 states and 924 transitions. cyclomatic complexity: 221 Second operand has 3 states, 3 states have (on average 8.0) internal successors, (24), 3 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-21 22:37:57,995 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-21 22:37:57,996 INFO L93 Difference]: Finished difference Result 687 states and 901 transitions. [2021-12-21 22:37:57,996 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-21 22:37:57,996 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 687 states and 901 transitions. [2021-12-21 22:37:57,999 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 652 [2021-12-21 22:37:58,001 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 687 states to 687 states and 901 transitions. [2021-12-21 22:37:58,001 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 687 [2021-12-21 22:37:58,002 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 687 [2021-12-21 22:37:58,002 INFO L73 IsDeterministic]: Start isDeterministic. Operand 687 states and 901 transitions. [2021-12-21 22:37:58,002 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-21 22:37:58,003 INFO L681 BuchiCegarLoop]: Abstraction has 687 states and 901 transitions. [2021-12-21 22:37:58,003 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 687 states and 901 transitions. [2021-12-21 22:37:58,007 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 687 to 687. [2021-12-21 22:37:58,008 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 687 states, 687 states have (on average 1.3114992721979621) internal successors, (901), 686 states have internal predecessors, (901), 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-21 22:37:58,009 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 687 states to 687 states and 901 transitions. [2021-12-21 22:37:58,009 INFO L704 BuchiCegarLoop]: Abstraction has 687 states and 901 transitions. [2021-12-21 22:37:58,009 INFO L587 BuchiCegarLoop]: Abstraction has 687 states and 901 transitions. [2021-12-21 22:37:58,009 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-12-21 22:37:58,009 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 687 states and 901 transitions. [2021-12-21 22:37:58,011 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 652 [2021-12-21 22:37:58,011 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-21 22:37:58,011 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-21 22:37:58,012 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:58,012 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-21 22:37:58,012 INFO L791 eck$LassoCheckResult]: Stem: 5640#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(13, 2);call #Ultimate.allocInit(12, 3);~max_loop~0 := 0;~num~0 := 0;~i~0 := 0;~e~0 := 0;~timer~0 := 0;~data_0~0 := 0;~data_1~0 := 0;~P_1_pc~0 := 0;~P_1_st~0 := 0;~P_1_i~0 := 0;~P_1_ev~0 := 0;~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; 5580#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;~max_loop~0 := 2;~timer~0 := 0;~P_1_pc~0 := 0;~C_1_pc~0 := 0;main_~count~0#1 := 0;assume { :begin_inline_init_model } true;~P_1_i~0 := 1;~C_1_i~0 := 1; 5581#L496 assume { :end_inline_init_model } true;assume { :begin_inline_start_simulation } true;havoc start_simulation_#t~ret11#1, start_simulation_#t~ret12#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; 5621#L229 assume { :end_inline_update_channels } true;assume { :begin_inline_init_threads } true; 5608#L236 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 5605#L236-2 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 5606#L241-1 assume { :end_inline_init_threads } true;assume { :begin_inline_fire_delta_events } true; 5534#L331 assume { :end_inline_fire_delta_events } true;assume { :begin_inline_activate_threads } true;havoc activate_threads_#t~ret8#1, activate_threads_#t~ret9#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; 5520#L117 assume !(1 == ~P_1_pc~0); 5521#L117-2 is_P_1_triggered_~__retres1~0#1 := 0; 5552#L128 is_P_1_triggered_#res#1 := is_P_1_triggered_~__retres1~0#1; 5597#L129 activate_threads_#t~ret8#1 := is_P_1_triggered_#res#1;assume { :end_inline_is_P_1_triggered } true;activate_threads_~tmp~1#1 := activate_threads_#t~ret8#1;havoc activate_threads_#t~ret8#1; 5595#L383 assume !(0 != activate_threads_~tmp~1#1); 5554#L383-2 assume { :begin_inline_is_C_1_triggered } true;havoc is_C_1_triggered_#res#1;havoc is_C_1_triggered_~__retres1~1#1;havoc is_C_1_triggered_~__retres1~1#1; 5555#L199 assume !(1 == ~C_1_pc~0); 5594#L199-2 assume !(2 == ~C_1_pc~0); 5532#L209-1 is_C_1_triggered_~__retres1~1#1 := 0; 5533#L220 is_C_1_triggered_#res#1 := is_C_1_triggered_~__retres1~1#1; 5611#L221 activate_threads_#t~ret9#1 := is_C_1_triggered_#res#1;assume { :end_inline_is_C_1_triggered } true;activate_threads_~tmp___1~1#1 := activate_threads_#t~ret9#1;havoc activate_threads_#t~ret9#1; 5622#L391 assume !(0 != activate_threads_~tmp___1~1#1); 5514#L391-2 assume { :end_inline_activate_threads } true;assume { :begin_inline_reset_delta_events } true; 5515#L339 assume { :end_inline_reset_delta_events } true; 5642#L445-2 assume !false; 5940#L446 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_~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; 5923#L304 [2021-12-21 22:37:58,012 INFO L793 eck$LassoCheckResult]: Loop: 5923#L304 assume !false; 5939#L280 assume { :begin_inline_exists_runnable_thread } true;havoc exists_runnable_thread_#res#1;havoc exists_runnable_thread_~__retres1~2#1;havoc exists_runnable_thread_~__retres1~2#1; 5937#L254 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2#1 := 1; 5935#L267 exists_runnable_thread_#res#1 := exists_runnable_thread_~__retres1~2#1; 5934#L268 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; 5932#L284 assume 0 != eval_~tmp___2~0#1; 5930#L284-1 assume 0 == ~P_1_st~0;eval_~tmp~0#1 := eval_#t~nondet6#1;havoc eval_#t~nondet6#1; 5927#L293 assume !(0 != eval_~tmp~0#1); 5925#L289 assume 0 == ~C_1_st~0;eval_~tmp___1~0#1 := eval_#t~nondet7#1;havoc eval_#t~nondet7#1; 5791#L308 assume !(0 != eval_~tmp___1~0#1); 5923#L304 [2021-12-21 22:37:58,013 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:58,013 INFO L85 PathProgramCache]: Analyzing trace with hash 6828137, now seen corresponding path program 2 times [2021-12-21 22:37:58,013 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:58,013 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [743749069] [2021-12-21 22:37:58,013 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:58,013 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:58,017 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:58,017 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:58,019 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:58,022 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:58,022 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:58,022 INFO L85 PathProgramCache]: Analyzing trace with hash 1504107565, now seen corresponding path program 2 times [2021-12-21 22:37:58,022 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:58,022 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [404870449] [2021-12-21 22:37:58,022 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:58,023 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:58,025 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:58,025 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:58,026 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:58,027 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:58,027 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-21 22:37:58,027 INFO L85 PathProgramCache]: Analyzing trace with hash 1450945173, now seen corresponding path program 1 times [2021-12-21 22:37:58,027 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-21 22:37:58,028 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1592526704] [2021-12-21 22:37:58,028 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-21 22:37:58,028 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-21 22:37:58,031 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:58,031 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-21 22:37:58,034 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-21 22:37:58,037 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-21 22:37:58,574 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 21.12 10:37:58 BoogieIcfgContainer [2021-12-21 22:37:58,574 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-12-21 22:37:58,575 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-12-21 22:37:58,575 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-12-21 22:37:58,575 INFO L275 PluginConnector]: Witness Printer initialized [2021-12-21 22:37:58,575 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.12 10:37:56" (3/4) ... [2021-12-21 22:37:58,577 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-12-21 22:37:58,603 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-12-21 22:37:58,603 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-12-21 22:37:58,604 INFO L158 Benchmark]: Toolchain (without parser) took 2479.20ms. Allocated memory was 88.1MB in the beginning and 195.0MB in the end (delta: 107.0MB). Free memory was 46.8MB in the beginning and 151.5MB in the end (delta: -104.7MB). Peak memory consumption was 4.7MB. Max. memory is 16.1GB. [2021-12-21 22:37:58,604 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 88.1MB. Free memory is still 62.9MB. There was no memory consumed. Max. memory is 16.1GB. [2021-12-21 22:37:58,604 INFO L158 Benchmark]: CACSL2BoogieTranslator took 185.51ms. Allocated memory was 88.1MB in the beginning and 132.1MB in the end (delta: 44.0MB). Free memory was 46.6MB in the beginning and 102.0MB in the end (delta: -55.5MB). Peak memory consumption was 7.0MB. Max. memory is 16.1GB. [2021-12-21 22:37:58,605 INFO L158 Benchmark]: Boogie Procedure Inliner took 27.74ms. Allocated memory is still 132.1MB. Free memory was 102.0MB in the beginning and 99.4MB in the end (delta: 2.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-21 22:37:58,605 INFO L158 Benchmark]: Boogie Preprocessor took 18.71ms. Allocated memory is still 132.1MB. Free memory was 99.4MB in the beginning and 97.9MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-21 22:37:58,605 INFO L158 Benchmark]: RCFGBuilder took 430.27ms. Allocated memory is still 132.1MB. Free memory was 97.9MB in the beginning and 93.9MB in the end (delta: 4.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-12-21 22:37:58,605 INFO L158 Benchmark]: BuchiAutomizer took 1784.43ms. Allocated memory was 132.1MB in the beginning and 195.0MB in the end (delta: 62.9MB). Free memory was 93.3MB in the beginning and 153.6MB in the end (delta: -60.3MB). Peak memory consumption was 61.5MB. Max. memory is 16.1GB. [2021-12-21 22:37:58,606 INFO L158 Benchmark]: Witness Printer took 28.54ms. Allocated memory is still 195.0MB. Free memory was 153.6MB in the beginning and 151.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-21 22:37:58,607 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.14ms. Allocated memory is still 88.1MB. Free memory is still 62.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 185.51ms. Allocated memory was 88.1MB in the beginning and 132.1MB in the end (delta: 44.0MB). Free memory was 46.6MB in the beginning and 102.0MB in the end (delta: -55.5MB). Peak memory consumption was 7.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 27.74ms. Allocated memory is still 132.1MB. Free memory was 102.0MB in the beginning and 99.4MB in the end (delta: 2.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 18.71ms. Allocated memory is still 132.1MB. Free memory was 99.4MB in the beginning and 97.9MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 430.27ms. Allocated memory is still 132.1MB. Free memory was 97.9MB in the beginning and 93.9MB in the end (delta: 4.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * BuchiAutomizer took 1784.43ms. Allocated memory was 132.1MB in the beginning and 195.0MB in the end (delta: 62.9MB). Free memory was 93.3MB in the beginning and 153.6MB in the end (delta: -60.3MB). Peak memory consumption was 61.5MB. Max. memory is 16.1GB. * Witness Printer took 28.54ms. Allocated memory is still 195.0MB. Free memory was 153.6MB in the beginning and 151.5MB in the end (delta: 2.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 7 terminating modules (7 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.7 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 687 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 1.7s and 8 iterations. TraceHistogramMax:1. Analysis of lassos took 1.2s. Construction of modules took 0.1s. Büchi inclusion checks took 0.1s. Highest rank in rank-based complementation 0. Minimization of det autom 7. Minimization of nondet autom 0. Automata minimization 0.1s AutomataMinimizationTime, 7 MinimizatonAttempts, 493 StatesRemovedByMinimization, 3 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 706 states and ocurred in iteration 6. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 1602 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 1602 mSDsluCounter, 2755 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1615 mSDsCounter, 60 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 169 IncrementalHoareTripleChecker+Invalid, 229 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 60 mSolverCounterUnsat, 1140 mSDtfsCounter, 169 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc1 concLT0 SILN1 SILU0 SILI2 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: 279]: 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@65134747=0, __retres1=0, P_1_pc=0, NULL=1, tmp=0, tmp___1=0, tmp___2=1, C_1_i=1, C_1_st=0, data_0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6f2bd2c9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7ead5f43=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4cc3bd46=0, tmp=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@40b2f4f2=0, count=0, data_1=0, __retres2=0, tmp___0=0, tmp___1=0, max_loop=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@73f0132e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@74f984be=0, __retres1=1, C_1_pr=0, tmp=0, i=0, tmp___0=0, P_1_st=0, \result=0, P_1_i=1, e=0, C_1_ev=0, __retres1=0, num=0, NULL=0, timer=0, P_1_ev=0, \result=0, kernel_st=1, tmp___0=0, C_1_pc=0, \result=0, \result=1} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 279]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L25] int max_loop ; [L26] int num ; [L27] int i ; [L28] int e ; [L29] int timer ; [L30] char data_0 ; [L31] char data_1 ; [L74] int P_1_pc; [L75] int P_1_st ; [L76] int P_1_i ; [L77] int P_1_ev ; [L132] int C_1_pc ; [L133] int C_1_st ; [L134] int C_1_i ; [L135] int C_1_ev ; [L136] int C_1_pr ; [L500] int count ; [L501] int __retres2 ; [L505] num = 0 [L506] i = 0 [L507] max_loop = 2 [L509] timer = 0 [L510] P_1_pc = 0 [L511] C_1_pc = 0 [L513] count = 0 [L514] CALL init_model() [L493] P_1_i = 1 [L494] C_1_i = 1 [L514] RET init_model() [L515] CALL start_simulation() [L431] int kernel_st ; [L432] int tmp ; [L433] int tmp___0 ; [L437] kernel_st = 0 [L438] FCALL update_channels() [L439] CALL init_threads() [L236] COND TRUE (int )P_1_i == 1 [L237] P_1_st = 0 [L241] COND TRUE (int )C_1_i == 1 [L242] C_1_st = 0 [L439] RET init_threads() [L440] FCALL fire_delta_events() [L441] CALL activate_threads() [L375] int tmp ; [L376] int tmp___0 ; [L377] int tmp___1 ; [L381] CALL, EXPR is_P_1_triggered() [L114] int __retres1 ; [L117] COND FALSE !((int )P_1_pc == 1) [L127] __retres1 = 0 [L129] return (__retres1); [L381] RET, EXPR is_P_1_triggered() [L381] tmp = is_P_1_triggered() [L383] COND FALSE !(\read(tmp)) [L389] CALL, EXPR is_C_1_triggered() [L196] int __retres1 ; [L199] COND FALSE !((int )C_1_pc == 1) [L209] COND FALSE !((int )C_1_pc == 2) [L219] __retres1 = 0 [L221] return (__retres1); [L389] RET, EXPR is_C_1_triggered() [L389] tmp___1 = is_C_1_triggered() [L391] COND FALSE !(\read(tmp___1)) [L441] RET activate_threads() [L442] FCALL reset_delta_events() [L445] COND TRUE 1 [L448] kernel_st = 1 [L449] CALL eval() [L272] int tmp ; [L273] int tmp___0 ; [L274] int tmp___1 ; [L275] int tmp___2 ; Loop: [L279] COND TRUE 1 [L282] CALL, EXPR exists_runnable_thread() [L251] int __retres1 ; [L254] COND TRUE (int )P_1_st == 0 [L255] __retres1 = 1 [L268] return (__retres1); [L282] RET, EXPR exists_runnable_thread() [L282] tmp___2 = exists_runnable_thread() [L284] COND TRUE \read(tmp___2) [L289] COND TRUE (int )P_1_st == 0 [L291] tmp = __VERIFIER_nondet_int() [L293] COND FALSE !(\read(tmp)) [L304] COND TRUE (int )C_1_st == 0 [L306] tmp___1 = __VERIFIER_nondet_int() [L308] COND FALSE !(\read(tmp___1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-12-21 22:37:58,652 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)