./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 e943c265 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/systemc/kundu1.cil.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be --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 6883d2b914af80a56a19e9a300f45f4d4f22580418e1399c45e995dc6afd242a ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.1-dev-e943c26 [2021-10-21 19:10:50,895 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-21 19:10:50,897 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-21 19:10:50,949 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-21 19:10:50,949 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-21 19:10:50,951 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-21 19:10:50,952 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-21 19:10:50,954 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-21 19:10:50,957 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-21 19:10:50,958 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-21 19:10:50,959 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-21 19:10:50,961 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-21 19:10:50,961 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-21 19:10:50,963 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-21 19:10:50,964 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-21 19:10:50,966 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-21 19:10:50,967 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-21 19:10:50,968 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-21 19:10:50,971 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-21 19:10:50,973 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-21 19:10:50,976 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-21 19:10:50,984 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-21 19:10:50,986 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-21 19:10:50,987 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-21 19:10:50,990 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-21 19:10:50,991 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-21 19:10:50,991 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-21 19:10:50,992 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-21 19:10:50,993 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-21 19:10:50,994 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-21 19:10:50,994 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-21 19:10:50,995 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-21 19:10:50,996 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-21 19:10:50,997 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-21 19:10:50,998 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-21 19:10:50,999 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-21 19:10:51,008 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-21 19:10:51,009 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-21 19:10:51,009 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-21 19:10:51,011 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-21 19:10:51,011 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-21 19:10:51,012 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-21 19:10:51,070 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-21 19:10:51,073 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-21 19:10:51,074 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-21 19:10:51,074 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-21 19:10:51,075 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-21 19:10:51,076 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-21 19:10:51,077 INFO L138 SettingsManager]: * Use SBE=true [2021-10-21 19:10:51,077 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-21 19:10:51,077 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-21 19:10:51,077 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-21 19:10:51,078 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-21 19:10:51,079 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-21 19:10:51,079 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-21 19:10:51,079 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-21 19:10:51,079 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-21 19:10:51,080 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-21 19:10:51,080 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-21 19:10:51,080 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-21 19:10:51,080 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-21 19:10:51,081 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-21 19:10:51,081 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-21 19:10:51,081 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-21 19:10:51,081 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-21 19:10:51,081 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-21 19:10:51,082 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-21 19:10:51,082 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-21 19:10:51,082 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-21 19:10:51,082 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-21 19:10:51,083 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-21 19:10:51,083 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-21 19:10:51,083 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-21 19:10:51,083 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-21 19:10:51,084 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-21 19:10:51,085 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be 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 -> 6883d2b914af80a56a19e9a300f45f4d4f22580418e1399c45e995dc6afd242a [2021-10-21 19:10:51,347 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-21 19:10:51,371 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-21 19:10:51,373 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-21 19:10:51,375 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-21 19:10:51,376 INFO L275 PluginConnector]: CDTParser initialized [2021-10-21 19:10:51,377 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/../../sv-benchmarks/c/systemc/kundu1.cil.c [2021-10-21 19:10:51,438 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/data/a1bdc291a/e97a80dc0e894357ac93f6f0f06e8631/FLAG3c3f8d2d0 [2021-10-21 19:10:51,894 INFO L306 CDTParser]: Found 1 translation units. [2021-10-21 19:10:51,895 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/sv-benchmarks/c/systemc/kundu1.cil.c [2021-10-21 19:10:51,905 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/data/a1bdc291a/e97a80dc0e894357ac93f6f0f06e8631/FLAG3c3f8d2d0 [2021-10-21 19:10:52,267 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/data/a1bdc291a/e97a80dc0e894357ac93f6f0f06e8631 [2021-10-21 19:10:52,269 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-21 19:10:52,271 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-21 19:10:52,274 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-21 19:10:52,274 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-21 19:10:52,285 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-21 19:10:52,286 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,288 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@579139ee and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52, skipping insertion in model container [2021-10-21 19:10:52,288 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,295 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-21 19:10:52,348 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-21 19:10:52,516 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/sv-benchmarks/c/systemc/kundu1.cil.c[331,344] [2021-10-21 19:10:52,564 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-21 19:10:52,574 INFO L203 MainTranslator]: Completed pre-run [2021-10-21 19:10:52,586 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/sv-benchmarks/c/systemc/kundu1.cil.c[331,344] [2021-10-21 19:10:52,611 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-21 19:10:52,627 INFO L208 MainTranslator]: Completed translation [2021-10-21 19:10:52,628 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52 WrapperNode [2021-10-21 19:10:52,628 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-21 19:10:52,629 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-21 19:10:52,630 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-21 19:10:52,630 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-21 19:10:52,637 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,646 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,680 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-21 19:10:52,681 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-21 19:10:52,681 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-21 19:10:52,681 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-21 19:10:52,690 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,690 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,693 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,694 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,701 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,708 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,711 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,716 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-21 19:10:52,728 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-21 19:10:52,728 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-21 19:10:52,729 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-21 19:10:52,730 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (1/1) ... [2021-10-21 19:10:52,738 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-21 19:10:52,750 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/z3 [2021-10-21 19:10:52,777 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-21 19:10:52,816 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-21 19:10:52,833 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-21 19:10:52,833 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-21 19:10:52,833 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-21 19:10:52,833 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-21 19:10:53,249 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-21 19:10:53,249 INFO L299 CfgBuilder]: Removed 72 assume(true) statements. [2021-10-21 19:10:53,251 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 07:10:53 BoogieIcfgContainer [2021-10-21 19:10:53,252 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-21 19:10:53,253 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-21 19:10:53,253 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-21 19:10:53,256 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-21 19:10:53,257 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 19:10:53,257 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 21.10 07:10:52" (1/3) ... [2021-10-21 19:10:53,258 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@75c45adb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.10 07:10:53, skipping insertion in model container [2021-10-21 19:10:53,258 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 19:10:53,259 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 07:10:52" (2/3) ... [2021-10-21 19:10:53,259 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@75c45adb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.10 07:10:53, skipping insertion in model container [2021-10-21 19:10:53,259 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 19:10:53,259 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 07:10:53" (3/3) ... [2021-10-21 19:10:53,261 INFO L389 chiAutomizerObserver]: Analyzing ICFG kundu1.cil.c [2021-10-21 19:10:53,303 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-21 19:10:53,303 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-21 19:10:53,304 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-21 19:10:53,304 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-21 19:10:53,304 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-21 19:10:53,304 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-21 19:10:53,304 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-21 19:10:53,304 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-21 19:10:53,325 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 114 states, 113 states have (on average 1.5398230088495575) internal successors, (174), 113 states have internal predecessors, (174), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:53,357 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 89 [2021-10-21 19:10:53,357 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:53,357 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:53,366 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:53,367 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:53,367 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-21 19:10:53,368 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 114 states, 113 states have (on average 1.5398230088495575) internal successors, (174), 113 states have internal predecessors, (174), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:53,400 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 89 [2021-10-21 19:10:53,400 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:53,400 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:53,403 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:53,403 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:53,416 INFO L791 eck$LassoCheckResult]: Stem: 106#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 33#L-1true havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 56#L488true havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 76#L221true assume !(1 == ~P_1_i~0);~P_1_st~0 := 2; 48#L228-1true assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 54#L233-1true havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 101#L109true assume 1 == ~P_1_pc~0; 59#L110true assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 40#L120true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 24#L121true activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 13#L375true assume !(0 != activate_threads_~tmp~1); 34#L375-2true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 72#L191true assume 1 == ~C_1_pc~0; 88#L192true assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 67#L212true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 112#L213true activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 45#L383true assume !(0 != activate_threads_~tmp___1~1); 28#L437-1true [2021-10-21 19:10:53,417 INFO L793 eck$LassoCheckResult]: Loop: 28#L437-1true assume !false; 84#L438true start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 47#L296true assume false; 114#L312true start_simulation_~kernel_st~0 := 2; 51#L221-1true start_simulation_~kernel_st~0 := 3; 7#L323true havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 4#L109-3true assume 1 == ~P_1_pc~0; 19#L110-1true assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 41#L120-1true is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 96#L121-1true activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 107#L375-3true assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 37#L375-5true havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 22#L191-3true assume 1 == ~C_1_pc~0; 115#L192-1true assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 92#L212-1true is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 105#L213-1true activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 30#L383-3true assume !(0 != activate_threads_~tmp___1~1); 14#L383-5true havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 20#L246-1true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 52#L259-1true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 73#L260-1true start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 99#L456true assume !(0 == start_simulation_~tmp~3); 85#L456-1true havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 16#L246-2true assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 103#L259-2true exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 86#L260-2true stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 49#L411true assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 17#L418true stop_simulation_#res := stop_simulation_~__retres2~0; 8#L419true start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 12#L469true assume !(0 != start_simulation_~tmp___0~2); 28#L437-1true [2021-10-21 19:10:53,423 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:53,447 INFO L82 PathProgramCache]: Analyzing trace with hash -1468371184, now seen corresponding path program 1 times [2021-10-21 19:10:53,456 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:53,457 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1765131488] [2021-10-21 19:10:53,457 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:53,458 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:53,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:53,687 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:53,688 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:53,689 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1765131488] [2021-10-21 19:10:53,690 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1765131488] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:53,691 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:53,691 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-21 19:10:53,693 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1575525907] [2021-10-21 19:10:53,699 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 19:10:53,704 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:53,706 INFO L82 PathProgramCache]: Analyzing trace with hash 101330720, now seen corresponding path program 1 times [2021-10-21 19:10:53,707 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:53,707 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1135147942] [2021-10-21 19:10:53,708 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:53,708 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:53,720 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:53,751 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:53,753 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:53,754 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1135147942] [2021-10-21 19:10:53,754 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1135147942] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:53,754 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:53,755 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-21 19:10:53,755 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [174510135] [2021-10-21 19:10:53,759 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 19:10:53,760 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:53,777 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-21 19:10:53,779 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-21 19:10:53,784 INFO L87 Difference]: Start difference. First operand has 114 states, 113 states have (on average 1.5398230088495575) internal successors, (174), 113 states have internal predecessors, (174), 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 5.666666666666667) internal successors, (17), 3 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:53,826 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:53,829 INFO L93 Difference]: Finished difference Result 113 states and 163 transitions. [2021-10-21 19:10:53,829 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-21 19:10:53,831 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 113 states and 163 transitions. [2021-10-21 19:10:53,847 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 85 [2021-10-21 19:10:53,858 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 113 states to 106 states and 156 transitions. [2021-10-21 19:10:53,859 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 106 [2021-10-21 19:10:53,860 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 106 [2021-10-21 19:10:53,860 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 156 transitions. [2021-10-21 19:10:53,861 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:53,862 INFO L681 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2021-10-21 19:10:53,906 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 156 transitions. [2021-10-21 19:10:53,920 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 106. [2021-10-21 19:10:53,921 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 106 states, 106 states have (on average 1.471698113207547) internal successors, (156), 105 states have internal predecessors, (156), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:53,922 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 106 states to 106 states and 156 transitions. [2021-10-21 19:10:53,924 INFO L704 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2021-10-21 19:10:53,924 INFO L587 BuchiCegarLoop]: Abstraction has 106 states and 156 transitions. [2021-10-21 19:10:53,924 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-21 19:10:53,924 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 106 states and 156 transitions. [2021-10-21 19:10:53,927 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 85 [2021-10-21 19:10:53,927 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:53,927 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:53,929 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:53,929 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:53,929 INFO L791 eck$LassoCheckResult]: Stem: 341#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 287#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 288#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 316#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 305#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 306#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 314#L109 assume 1 == ~P_1_pc~0; 318#L110 assume 1 == ~P_1_ev~0;is_P_1_triggered_~__retres1~0 := 1; 297#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 276#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 253#L375 assume !(0 != activate_threads_~tmp~1); 254#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 289#L191 assume 1 == ~C_1_pc~0; 332#L192 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 329#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 330#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 302#L383 assume !(0 != activate_threads_~tmp___1~1); 252#L437-1 [2021-10-21 19:10:53,930 INFO L793 eck$LassoCheckResult]: Loop: 252#L437-1 assume !false; 281#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 259#L296 assume !false; 295#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 296#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 312#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 315#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 241#L276 assume !(0 != eval_~tmp___2~0); 243#L312 start_simulation_~kernel_st~0 := 2; 310#L221-1 start_simulation_~kernel_st~0 := 3; 244#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 236#L109-3 assume !(1 == ~P_1_pc~0); 237#L109-5 is_P_1_triggered_~__retres1~0 := 0; 249#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 298#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 338#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 294#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 273#L191-3 assume 1 == ~C_1_pc~0; 274#L192-1 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 301#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 337#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 284#L383-3 assume !(0 != activate_threads_~tmp___1~1); 255#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 256#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 267#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 311#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 333#L456 assume !(0 == start_simulation_~tmp~3); 334#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 260#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 261#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 336#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 307#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 263#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 245#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 246#L469 assume !(0 != start_simulation_~tmp___0~2); 252#L437-1 [2021-10-21 19:10:53,931 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:53,931 INFO L82 PathProgramCache]: Analyzing trace with hash -457253934, now seen corresponding path program 1 times [2021-10-21 19:10:53,931 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:53,953 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1066494890] [2021-10-21 19:10:53,953 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:53,953 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:53,994 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:54,057 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:54,057 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:54,057 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1066494890] [2021-10-21 19:10:54,058 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1066494890] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:54,058 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:54,058 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-21 19:10:54,059 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2124890286] [2021-10-21 19:10:54,060 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 19:10:54,063 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,064 INFO L82 PathProgramCache]: Analyzing trace with hash -1076710775, now seen corresponding path program 1 times [2021-10-21 19:10:54,064 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,067 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1780629422] [2021-10-21 19:10:54,067 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,067 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:54,158 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:54,159 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:54,159 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1780629422] [2021-10-21 19:10:54,159 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1780629422] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:54,160 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:54,160 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-21 19:10:54,160 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [362407224] [2021-10-21 19:10:54,161 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 19:10:54,161 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:54,162 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-21 19:10:54,162 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-21 19:10:54,162 INFO L87 Difference]: Start difference. First operand 106 states and 156 transitions. cyclomatic complexity: 51 Second operand has 3 states, 3 states have (on average 5.666666666666667) internal successors, (17), 3 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:54,224 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:54,224 INFO L93 Difference]: Finished difference Result 187 states and 270 transitions. [2021-10-21 19:10:54,225 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-21 19:10:54,226 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 187 states and 270 transitions. [2021-10-21 19:10:54,229 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 167 [2021-10-21 19:10:54,232 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 187 states to 187 states and 270 transitions. [2021-10-21 19:10:54,232 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 187 [2021-10-21 19:10:54,233 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 187 [2021-10-21 19:10:54,233 INFO L73 IsDeterministic]: Start isDeterministic. Operand 187 states and 270 transitions. [2021-10-21 19:10:54,234 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:54,234 INFO L681 BuchiCegarLoop]: Abstraction has 187 states and 270 transitions. [2021-10-21 19:10:54,235 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 187 states and 270 transitions. [2021-10-21 19:10:54,245 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 187 to 183. [2021-10-21 19:10:54,246 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 183 states, 183 states have (on average 1.4480874316939891) internal successors, (265), 182 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:54,247 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 183 states to 183 states and 265 transitions. [2021-10-21 19:10:54,248 INFO L704 BuchiCegarLoop]: Abstraction has 183 states and 265 transitions. [2021-10-21 19:10:54,248 INFO L587 BuchiCegarLoop]: Abstraction has 183 states and 265 transitions. [2021-10-21 19:10:54,248 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-21 19:10:54,248 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 183 states and 265 transitions. [2021-10-21 19:10:54,250 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 163 [2021-10-21 19:10:54,251 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:54,251 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:54,252 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:54,252 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:54,253 INFO L791 eck$LassoCheckResult]: Stem: 653#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 592#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 593#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 623#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 612#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 613#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 621#L109 assume !(1 == ~P_1_pc~0); 650#L109-2 is_P_1_triggered_~__retres1~0 := 0; 602#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 580#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 554#L375 assume !(0 != activate_threads_~tmp~1); 555#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 598#L191 assume 1 == ~C_1_pc~0; 640#L192 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 635#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 636#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 607#L383 assume !(0 != activate_threads_~tmp___1~1); 553#L437-1 [2021-10-21 19:10:54,253 INFO L793 eck$LassoCheckResult]: Loop: 553#L437-1 assume !false; 585#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 560#L296 assume !false; 668#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 666#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 665#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 622#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 542#L276 assume !(0 != eval_~tmp___2~0); 544#L312 start_simulation_~kernel_st~0 := 2; 616#L221-1 start_simulation_~kernel_st~0 := 3; 547#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 538#L109-3 assume !(1 == ~P_1_pc~0); 539#L109-5 is_P_1_triggered_~__retres1~0 := 0; 550#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 603#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 648#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 599#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 577#L191-3 assume 1 == ~C_1_pc~0; 578#L192-1 assume 1 == ~e~0;is_C_1_triggered_~__retres1~1 := 1; 606#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 647#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 588#L383-3 assume !(0 != activate_threads_~tmp___1~1); 589#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 708#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 617#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 618#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 641#L456 assume !(0 == start_simulation_~tmp~3); 643#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 561#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 562#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 645#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 611#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 564#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 545#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 546#L469 assume !(0 != start_simulation_~tmp___0~2); 553#L437-1 [2021-10-21 19:10:54,253 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,254 INFO L82 PathProgramCache]: Analyzing trace with hash -1330092589, now seen corresponding path program 1 times [2021-10-21 19:10:54,254 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,254 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1854274113] [2021-10-21 19:10:54,254 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,255 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,268 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:54,314 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:54,315 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:54,315 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1854274113] [2021-10-21 19:10:54,315 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1854274113] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:54,315 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:54,315 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-21 19:10:54,316 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [185830990] [2021-10-21 19:10:54,316 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 19:10:54,317 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,317 INFO L82 PathProgramCache]: Analyzing trace with hash -1076710775, now seen corresponding path program 2 times [2021-10-21 19:10:54,317 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,317 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2028442132] [2021-10-21 19:10:54,318 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,318 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,344 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:54,400 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:54,400 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:54,401 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2028442132] [2021-10-21 19:10:54,401 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2028442132] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:54,401 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:54,401 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-21 19:10:54,401 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [530071783] [2021-10-21 19:10:54,402 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 19:10:54,402 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:54,403 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-21 19:10:54,403 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-21 19:10:54,403 INFO L87 Difference]: Start difference. First operand 183 states and 265 transitions. cyclomatic complexity: 83 Second operand has 4 states, 4 states have (on average 4.25) internal successors, (17), 4 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:54,518 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:54,518 INFO L93 Difference]: Finished difference Result 409 states and 574 transitions. [2021-10-21 19:10:54,518 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-10-21 19:10:54,519 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 409 states and 574 transitions. [2021-10-21 19:10:54,523 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 378 [2021-10-21 19:10:54,528 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 409 states to 409 states and 574 transitions. [2021-10-21 19:10:54,528 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 409 [2021-10-21 19:10:54,529 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 409 [2021-10-21 19:10:54,529 INFO L73 IsDeterministic]: Start isDeterministic. Operand 409 states and 574 transitions. [2021-10-21 19:10:54,532 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:54,532 INFO L681 BuchiCegarLoop]: Abstraction has 409 states and 574 transitions. [2021-10-21 19:10:54,533 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 409 states and 574 transitions. [2021-10-21 19:10:54,550 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 409 to 315. [2021-10-21 19:10:54,551 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 315 states, 315 states have (on average 1.4222222222222223) internal successors, (448), 314 states have internal predecessors, (448), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:54,553 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 315 states to 315 states and 448 transitions. [2021-10-21 19:10:54,554 INFO L704 BuchiCegarLoop]: Abstraction has 315 states and 448 transitions. [2021-10-21 19:10:54,554 INFO L587 BuchiCegarLoop]: Abstraction has 315 states and 448 transitions. [2021-10-21 19:10:54,554 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-21 19:10:54,554 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 315 states and 448 transitions. [2021-10-21 19:10:54,556 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 296 [2021-10-21 19:10:54,556 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:54,556 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:54,557 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:54,558 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:54,558 INFO L791 eck$LassoCheckResult]: Stem: 1254#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 1194#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 1195#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 1224#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 1214#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 1215#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 1222#L109 assume !(1 == ~P_1_pc~0); 1252#L109-2 is_P_1_triggered_~__retres1~0 := 0; 1205#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1183#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1161#L375 assume !(0 != activate_threads_~tmp~1); 1162#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 1201#L191 assume !(1 == ~C_1_pc~0); 1230#L191-2 assume !(2 == ~C_1_pc~0); 1231#L201-1 is_C_1_triggered_~__retres1~1 := 0; 1234#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 1235#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1210#L383 assume !(0 != activate_threads_~tmp___1~1); 1158#L437-1 [2021-10-21 19:10:54,558 INFO L793 eck$LassoCheckResult]: Loop: 1158#L437-1 assume !false; 1188#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 1165#L296 assume !false; 1203#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1204#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 1220#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1223#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 1147#L276 assume !(0 != eval_~tmp___2~0); 1149#L312 start_simulation_~kernel_st~0 := 2; 1218#L221-1 start_simulation_~kernel_st~0 := 3; 1152#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 1143#L109-3 assume !(1 == ~P_1_pc~0); 1144#L109-5 is_P_1_triggered_~__retres1~0 := 0; 1155#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 1206#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 1250#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 1202#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 1179#L191-3 assume !(1 == ~C_1_pc~0); 1180#L191-5 assume 2 == ~C_1_pc~0; 1238#L202-1 assume 1 == ~C_1_ev~0;is_C_1_triggered_~__retres1~1 := 1; 1209#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 1249#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 1191#L383-3 assume !(0 != activate_threads_~tmp___1~1); 1159#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1160#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 1175#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1219#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 1239#L456 assume !(0 == start_simulation_~tmp~3); 1241#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 1166#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 1167#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 1245#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 1213#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 1169#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 1150#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 1151#L469 assume !(0 != start_simulation_~tmp___0~2); 1158#L437-1 [2021-10-21 19:10:54,559 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,559 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 1 times [2021-10-21 19:10:54,559 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,559 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [695898100] [2021-10-21 19:10:54,560 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,560 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,572 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:54,572 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:54,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:54,607 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:54,607 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,608 INFO L82 PathProgramCache]: Analyzing trace with hash 2030427419, now seen corresponding path program 1 times [2021-10-21 19:10:54,608 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,608 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [209451263] [2021-10-21 19:10:54,608 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,608 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,617 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:54,657 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:54,658 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:54,659 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [209451263] [2021-10-21 19:10:54,659 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [209451263] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:54,661 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:54,664 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-21 19:10:54,665 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [515138072] [2021-10-21 19:10:54,665 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 19:10:54,666 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:54,666 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-21 19:10:54,667 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-21 19:10:54,668 INFO L87 Difference]: Start difference. First operand 315 states and 448 transitions. cyclomatic complexity: 134 Second operand has 5 states, 5 states have (on average 7.2) internal successors, (36), 5 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:54,757 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:54,757 INFO L93 Difference]: Finished difference Result 549 states and 768 transitions. [2021-10-21 19:10:54,757 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-21 19:10:54,763 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 549 states and 768 transitions. [2021-10-21 19:10:54,777 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 530 [2021-10-21 19:10:54,784 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 549 states to 549 states and 768 transitions. [2021-10-21 19:10:54,784 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 549 [2021-10-21 19:10:54,785 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 549 [2021-10-21 19:10:54,786 INFO L73 IsDeterministic]: Start isDeterministic. Operand 549 states and 768 transitions. [2021-10-21 19:10:54,788 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:54,788 INFO L681 BuchiCegarLoop]: Abstraction has 549 states and 768 transitions. [2021-10-21 19:10:54,790 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 549 states and 768 transitions. [2021-10-21 19:10:54,818 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 549 to 327. [2021-10-21 19:10:54,818 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 327 states, 327 states have (on average 1.4067278287461773) internal successors, (460), 326 states have internal predecessors, (460), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:54,820 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 327 states to 327 states and 460 transitions. [2021-10-21 19:10:54,820 INFO L704 BuchiCegarLoop]: Abstraction has 327 states and 460 transitions. [2021-10-21 19:10:54,820 INFO L587 BuchiCegarLoop]: Abstraction has 327 states and 460 transitions. [2021-10-21 19:10:54,820 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-10-21 19:10:54,821 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 327 states and 460 transitions. [2021-10-21 19:10:54,825 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 308 [2021-10-21 19:10:54,825 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:54,825 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:54,826 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:54,826 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-10-21 19:10:54,827 INFO L791 eck$LassoCheckResult]: Stem: 2157#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 2077#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 2078#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 2111#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 2098#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 2099#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 2109#L109 assume !(1 == ~P_1_pc~0); 2151#L109-2 is_P_1_triggered_~__retres1~0 := 0; 2088#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2063#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 2038#L375 assume !(0 != activate_threads_~tmp~1); 2039#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 2079#L191 assume !(1 == ~C_1_pc~0); 2120#L191-2 assume !(2 == ~C_1_pc~0); 2121#L201-1 is_C_1_triggered_~__retres1~1 := 0; 2124#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 2125#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2093#L383 assume !(0 != activate_threads_~tmp___1~1); 2094#L437-1 [2021-10-21 19:10:54,827 INFO L793 eck$LassoCheckResult]: Loop: 2094#L437-1 assume !false; 2265#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 2213#L296 assume !false; 2211#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2210#L246 assume !(0 == ~P_1_st~0); 2207#L250 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~2 := 0; 2205#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2202#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 2200#L276 assume !(0 != eval_~tmp___2~0); 2199#L312 start_simulation_~kernel_st~0 := 2; 2198#L221-1 start_simulation_~kernel_st~0 := 3; 2029#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 2023#L109-3 assume !(1 == ~P_1_pc~0); 2024#L109-5 is_P_1_triggered_~__retres1~0 := 0; 2034#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 2089#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 2147#L375-3 assume 0 != activate_threads_~tmp~1;~P_1_st~0 := 0; 2085#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 2061#L191-3 assume !(1 == ~C_1_pc~0); 2062#L191-5 assume !(2 == ~C_1_pc~0); 2128#L201-3 is_C_1_triggered_~__retres1~1 := 0; 2307#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 2306#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 2305#L383-3 assume !(0 != activate_threads_~tmp___1~1); 2304#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2302#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 2300#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2298#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 2297#L456 assume !(0 == start_simulation_~tmp~3); 2292#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 2290#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 2289#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 2285#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 2282#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 2277#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 2274#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 2272#L469 assume !(0 != start_simulation_~tmp___0~2); 2094#L437-1 [2021-10-21 19:10:54,827 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,827 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 2 times [2021-10-21 19:10:54,828 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,828 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [206790952] [2021-10-21 19:10:54,828 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,828 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,844 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:54,844 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:54,857 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:54,871 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:54,874 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:54,875 INFO L82 PathProgramCache]: Analyzing trace with hash -409531438, now seen corresponding path program 1 times [2021-10-21 19:10:54,876 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:54,876 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [778240236] [2021-10-21 19:10:54,876 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:54,877 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:54,893 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:54,980 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:54,981 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:54,981 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [778240236] [2021-10-21 19:10:54,982 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [778240236] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:54,982 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:54,982 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-21 19:10:54,982 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2012122196] [2021-10-21 19:10:54,983 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 19:10:54,983 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:54,984 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-21 19:10:54,984 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-21 19:10:54,984 INFO L87 Difference]: Start difference. First operand 327 states and 460 transitions. cyclomatic complexity: 134 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-10-21 19:10:55,083 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:55,083 INFO L93 Difference]: Finished difference Result 723 states and 1015 transitions. [2021-10-21 19:10:55,084 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-10-21 19:10:55,084 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 723 states and 1015 transitions. [2021-10-21 19:10:55,091 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 704 [2021-10-21 19:10:55,100 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 723 states to 723 states and 1015 transitions. [2021-10-21 19:10:55,100 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 723 [2021-10-21 19:10:55,101 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 723 [2021-10-21 19:10:55,101 INFO L73 IsDeterministic]: Start isDeterministic. Operand 723 states and 1015 transitions. [2021-10-21 19:10:55,102 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:55,103 INFO L681 BuchiCegarLoop]: Abstraction has 723 states and 1015 transitions. [2021-10-21 19:10:55,104 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 723 states and 1015 transitions. [2021-10-21 19:10:55,113 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 723 to 339. [2021-10-21 19:10:55,114 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 339 states, 339 states have (on average 1.3775811209439528) internal successors, (467), 338 states have internal predecessors, (467), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:55,144 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 339 states to 339 states and 467 transitions. [2021-10-21 19:10:55,144 INFO L704 BuchiCegarLoop]: Abstraction has 339 states and 467 transitions. [2021-10-21 19:10:55,144 INFO L587 BuchiCegarLoop]: Abstraction has 339 states and 467 transitions. [2021-10-21 19:10:55,144 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-10-21 19:10:55,145 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 339 states and 467 transitions. [2021-10-21 19:10:55,147 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 320 [2021-10-21 19:10:55,148 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:55,148 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:55,152 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:55,152 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-10-21 19:10:55,152 INFO L791 eck$LassoCheckResult]: Stem: 3206#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 3137#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 3138#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 3168#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 3157#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 3158#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 3166#L109 assume !(1 == ~P_1_pc~0); 3202#L109-2 is_P_1_triggered_~__retres1~0 := 0; 3148#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3126#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3103#L375 assume !(0 != activate_threads_~tmp~1); 3104#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 3139#L191 assume !(1 == ~C_1_pc~0); 3175#L191-2 assume !(2 == ~C_1_pc~0); 3176#L201-1 is_C_1_triggered_~__retres1~1 := 0; 3179#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 3180#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3153#L383 assume !(0 != activate_threads_~tmp___1~1); 3154#L437-1 [2021-10-21 19:10:55,154 INFO L793 eck$LassoCheckResult]: Loop: 3154#L437-1 assume !false; 3349#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 3347#L296 assume !false; 3346#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3345#L246 assume !(0 == ~P_1_st~0); 3342#L250 assume !(0 == ~C_1_st~0);exists_runnable_thread_~__retres1~2 := 0; 3340#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3335#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 3328#L276 assume !(0 != eval_~tmp___2~0); 3279#L312 start_simulation_~kernel_st~0 := 2; 3267#L221-1 start_simulation_~kernel_st~0 := 3; 3221#L323 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 3222#L109-3 assume !(1 == ~P_1_pc~0); 3262#L109-5 is_P_1_triggered_~__retres1~0 := 0; 3260#L120-1 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3258#L121-1 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3256#L375-3 assume !(0 != activate_threads_~tmp~1); 3254#L375-5 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 3252#L191-3 assume !(1 == ~C_1_pc~0); 3250#L191-5 assume !(2 == ~C_1_pc~0); 3248#L201-3 is_C_1_triggered_~__retres1~1 := 0; 3246#L212-1 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 3245#L213-1 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3244#L383-3 assume !(0 != activate_threads_~tmp___1~1); 3243#L383-5 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3241#L246-1 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 3240#L259-1 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3239#L260-1 start_simulation_#t~ret14 := exists_runnable_thread_#res;start_simulation_~tmp~3 := start_simulation_#t~ret14;havoc start_simulation_#t~ret14; 3237#L456 assume !(0 == start_simulation_~tmp~3); 3238#L456-1 havoc stop_simulation_#res;havoc stop_simulation_#t~ret13, stop_simulation_~tmp~2, stop_simulation_~__retres2~0;havoc stop_simulation_~tmp~2;havoc stop_simulation_~__retres2~0;havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 3370#L246-2 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 3369#L259-2 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 3368#L260-2 stop_simulation_#t~ret13 := exists_runnable_thread_#res;stop_simulation_~tmp~2 := stop_simulation_#t~ret13;havoc stop_simulation_#t~ret13; 3367#L411 assume 0 != stop_simulation_~tmp~2;stop_simulation_~__retres2~0 := 0; 3366#L418 stop_simulation_#res := stop_simulation_~__retres2~0; 3365#L419 start_simulation_#t~ret15 := stop_simulation_#res;start_simulation_~tmp___0~2 := start_simulation_#t~ret15;havoc start_simulation_#t~ret15; 3364#L469 assume !(0 != start_simulation_~tmp___0~2); 3154#L437-1 [2021-10-21 19:10:55,159 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,159 INFO L82 PathProgramCache]: Analyzing trace with hash 1930997989, now seen corresponding path program 3 times [2021-10-21 19:10:55,160 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,160 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1033619381] [2021-10-21 19:10:55,160 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,160 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,195 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,196 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,248 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:55,251 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,252 INFO L82 PathProgramCache]: Analyzing trace with hash 13170388, now seen corresponding path program 1 times [2021-10-21 19:10:55,252 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,252 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1525877542] [2021-10-21 19:10:55,253 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,253 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:55,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-10-21 19:10:55,286 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:55,286 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1525877542] [2021-10-21 19:10:55,287 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1525877542] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:55,287 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:55,287 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-21 19:10:55,287 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [302693191] [2021-10-21 19:10:55,287 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 19:10:55,288 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:55,289 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-21 19:10:55,289 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-21 19:10:55,289 INFO L87 Difference]: Start difference. First operand 339 states and 467 transitions. cyclomatic complexity: 129 Second operand has 3 states, 3 states have (on average 12.333333333333334) internal successors, (37), 3 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-10-21 19:10:55,324 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:55,325 INFO L93 Difference]: Finished difference Result 493 states and 667 transitions. [2021-10-21 19:10:55,325 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-21 19:10:55,325 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 493 states and 667 transitions. [2021-10-21 19:10:55,330 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 468 [2021-10-21 19:10:55,334 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 493 states to 493 states and 667 transitions. [2021-10-21 19:10:55,335 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 493 [2021-10-21 19:10:55,335 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 493 [2021-10-21 19:10:55,336 INFO L73 IsDeterministic]: Start isDeterministic. Operand 493 states and 667 transitions. [2021-10-21 19:10:55,337 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:55,337 INFO L681 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2021-10-21 19:10:55,338 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 493 states and 667 transitions. [2021-10-21 19:10:55,347 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 493 to 493. [2021-10-21 19:10:55,348 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 493 states, 493 states have (on average 1.3529411764705883) internal successors, (667), 492 states have internal predecessors, (667), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:55,350 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 493 states to 493 states and 667 transitions. [2021-10-21 19:10:55,350 INFO L704 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2021-10-21 19:10:55,350 INFO L587 BuchiCegarLoop]: Abstraction has 493 states and 667 transitions. [2021-10-21 19:10:55,350 INFO L425 BuchiCegarLoop]: ======== Iteration 7============ [2021-10-21 19:10:55,351 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 493 states and 667 transitions. [2021-10-21 19:10:55,354 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 468 [2021-10-21 19:10:55,356 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:55,356 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:55,358 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] [2021-10-21 19:10:55,358 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:55,358 INFO L791 eck$LassoCheckResult]: Stem: 4051#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 3974#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 3975#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 4007#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 3996#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 3997#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 4005#L109 assume !(1 == ~P_1_pc~0); 4047#L109-2 is_P_1_triggered_~__retres1~0 := 0; 3986#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 3963#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 3940#L375 assume !(0 != activate_threads_~tmp~1); 3941#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 3976#L191 assume !(1 == ~C_1_pc~0); 4016#L191-2 assume !(2 == ~C_1_pc~0); 4017#L201-1 is_C_1_triggered_~__retres1~1 := 0; 4020#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 4021#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 3992#L383 assume !(0 != activate_threads_~tmp___1~1); 3993#L437-1 assume !false; 4371#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 4010#L296 [2021-10-21 19:10:55,359 INFO L793 eck$LassoCheckResult]: Loop: 4010#L296 assume !false; 4369#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 4367#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 4368#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 4378#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 4377#L276 assume 0 != eval_~tmp___2~0; 4375#L276-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 4049#L285 assume !(0 != eval_~tmp~0); 4050#L281 assume !(0 == ~C_1_st~0); 4010#L296 [2021-10-21 19:10:55,359 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,359 INFO L82 PathProgramCache]: Analyzing trace with hash 263198343, now seen corresponding path program 1 times [2021-10-21 19:10:55,360 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,360 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [861477938] [2021-10-21 19:10:55,360 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,360 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,387 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,407 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:55,413 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,413 INFO L82 PathProgramCache]: Analyzing trace with hash 1487904191, now seen corresponding path program 1 times [2021-10-21 19:10:55,414 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,414 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2027814628] [2021-10-21 19:10:55,414 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,414 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,419 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,421 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,426 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:55,428 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,428 INFO L82 PathProgramCache]: Analyzing trace with hash 489258489, now seen corresponding path program 1 times [2021-10-21 19:10:55,428 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,431 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2058542483] [2021-10-21 19:10:55,434 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,435 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:55,473 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:55,473 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:55,473 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2058542483] [2021-10-21 19:10:55,474 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2058542483] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:55,474 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:55,474 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-21 19:10:55,474 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2132227571] [2021-10-21 19:10:55,564 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:55,564 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-21 19:10:55,564 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-21 19:10:55,565 INFO L87 Difference]: Start difference. First operand 493 states and 667 transitions. cyclomatic complexity: 177 Second operand has 3 states, 2 states have (on average 14.5) internal successors, (29), 3 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:55,607 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:55,607 INFO L93 Difference]: Finished difference Result 801 states and 1061 transitions. [2021-10-21 19:10:55,624 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-21 19:10:55,624 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 801 states and 1061 transitions. [2021-10-21 19:10:55,631 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2021-10-21 19:10:55,637 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 801 states to 801 states and 1061 transitions. [2021-10-21 19:10:55,638 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 801 [2021-10-21 19:10:55,638 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 801 [2021-10-21 19:10:55,639 INFO L73 IsDeterministic]: Start isDeterministic. Operand 801 states and 1061 transitions. [2021-10-21 19:10:55,640 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:55,640 INFO L681 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2021-10-21 19:10:55,641 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 801 states and 1061 transitions. [2021-10-21 19:10:55,652 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 801 to 801. [2021-10-21 19:10:55,654 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 801 states, 801 states have (on average 1.3245942571785267) internal successors, (1061), 800 states have internal predecessors, (1061), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:55,657 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 801 states to 801 states and 1061 transitions. [2021-10-21 19:10:55,657 INFO L704 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2021-10-21 19:10:55,657 INFO L587 BuchiCegarLoop]: Abstraction has 801 states and 1061 transitions. [2021-10-21 19:10:55,657 INFO L425 BuchiCegarLoop]: ======== Iteration 8============ [2021-10-21 19:10:55,658 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 801 states and 1061 transitions. [2021-10-21 19:10:55,663 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2021-10-21 19:10:55,663 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:55,663 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:55,663 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] [2021-10-21 19:10:55,664 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:55,664 INFO L791 eck$LassoCheckResult]: Stem: 5364#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 5277#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 5278#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 5314#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 5300#L228-1 assume !(1 == ~C_1_i~0);~C_1_st~0 := 2; 5301#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 5312#L109 assume !(1 == ~P_1_pc~0); 5366#L109-2 is_P_1_triggered_~__retres1~0 := 0; 5367#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 5263#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 5264#L375 assume !(0 != activate_threads_~tmp~1); 5596#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 5593#L191 assume !(1 == ~C_1_pc~0); 5591#L191-2 assume !(2 == ~C_1_pc~0); 5580#L201-1 is_C_1_triggered_~__retres1~1 := 0; 5579#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 5578#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 5576#L383 assume 0 != activate_threads_~tmp___1~1;~C_1_st~0 := 0; 5295#L437-1 assume !false; 5745#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 5706#L296 [2021-10-21 19:10:55,664 INFO L793 eck$LassoCheckResult]: Loop: 5706#L296 assume !false; 5738#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 5734#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 5730#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 5725#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 5721#L276 assume 0 != eval_~tmp___2~0; 5718#L276-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 5715#L285 assume !(0 != eval_~tmp~0); 5713#L281 assume 0 == ~C_1_st~0;eval_~tmp___1~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 5504#L300 assume !(0 != eval_~tmp___1~0); 5706#L296 [2021-10-21 19:10:55,665 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,665 INFO L82 PathProgramCache]: Analyzing trace with hash -757871933, now seen corresponding path program 1 times [2021-10-21 19:10:55,665 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,665 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [20732467] [2021-10-21 19:10:55,665 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,665 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,670 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 19:10:55,687 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 19:10:55,687 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 19:10:55,687 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [20732467] [2021-10-21 19:10:55,687 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [20732467] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 19:10:55,688 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 19:10:55,688 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-21 19:10:55,688 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [707136557] [2021-10-21 19:10:55,700 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 19:10:55,700 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,700 INFO L82 PathProgramCache]: Analyzing trace with hash -1119612439, now seen corresponding path program 1 times [2021-10-21 19:10:55,700 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,700 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [807041286] [2021-10-21 19:10:55,701 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,701 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,703 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,704 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,708 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:55,792 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 19:10:55,793 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-10-21 19:10:55,793 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-10-21 19:10:55,793 INFO L87 Difference]: Start difference. First operand 801 states and 1061 transitions. cyclomatic complexity: 263 Second operand has 3 states, 3 states have (on average 6.666666666666667) internal successors, (20), 3 states have internal predecessors, (20), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:55,802 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 19:10:55,815 INFO L93 Difference]: Finished difference Result 785 states and 1041 transitions. [2021-10-21 19:10:55,816 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-10-21 19:10:55,816 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 785 states and 1041 transitions. [2021-10-21 19:10:55,822 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2021-10-21 19:10:55,828 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 785 states to 785 states and 1041 transitions. [2021-10-21 19:10:55,831 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 785 [2021-10-21 19:10:55,848 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 785 [2021-10-21 19:10:55,848 INFO L73 IsDeterministic]: Start isDeterministic. Operand 785 states and 1041 transitions. [2021-10-21 19:10:55,849 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 19:10:55,849 INFO L681 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2021-10-21 19:10:55,850 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 785 states and 1041 transitions. [2021-10-21 19:10:55,861 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 785 to 785. [2021-10-21 19:10:55,863 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 785 states, 785 states have (on average 1.3261146496815286) internal successors, (1041), 784 states have internal predecessors, (1041), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 19:10:55,866 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 785 states to 785 states and 1041 transitions. [2021-10-21 19:10:55,866 INFO L704 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2021-10-21 19:10:55,866 INFO L587 BuchiCegarLoop]: Abstraction has 785 states and 1041 transitions. [2021-10-21 19:10:55,866 INFO L425 BuchiCegarLoop]: ======== Iteration 9============ [2021-10-21 19:10:55,866 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 785 states and 1041 transitions. [2021-10-21 19:10:55,871 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 756 [2021-10-21 19:10:55,871 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 19:10:55,871 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 19:10:55,877 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] [2021-10-21 19:10:55,877 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 19:10:55,877 INFO L791 eck$LassoCheckResult]: Stem: 6949#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(13);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12);~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; 6867#L-1 havoc main_#res;havoc main_~count~0, main_~__retres2~1;havoc main_~count~0;havoc main_~__retres2~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 := 0;~P_1_i~0 := 1;~C_1_i~0 := 1; 6868#L488 havoc start_simulation_#t~ret14, start_simulation_#t~ret15, start_simulation_~kernel_st~0, start_simulation_~tmp~3, start_simulation_~tmp___0~2;havoc start_simulation_~kernel_st~0;havoc start_simulation_~tmp~3;havoc start_simulation_~tmp___0~2;start_simulation_~kernel_st~0 := 0; 6903#L221 assume 1 == ~P_1_i~0;~P_1_st~0 := 0; 6890#L228-1 assume 1 == ~C_1_i~0;~C_1_st~0 := 0; 6891#L233-1 havoc activate_threads_#t~ret11, activate_threads_#t~ret12, activate_threads_~tmp~1, activate_threads_~tmp___0~1, activate_threads_~tmp___1~1;havoc activate_threads_~tmp~1;havoc activate_threads_~tmp___0~1;havoc activate_threads_~tmp___1~1;havoc is_P_1_triggered_#res;havoc is_P_1_triggered_~__retres1~0;havoc is_P_1_triggered_~__retres1~0; 6899#L109 assume !(1 == ~P_1_pc~0); 6942#L109-2 is_P_1_triggered_~__retres1~0 := 0; 6879#L120 is_P_1_triggered_#res := is_P_1_triggered_~__retres1~0; 6855#L121 activate_threads_#t~ret11 := is_P_1_triggered_#res;activate_threads_~tmp~1 := activate_threads_#t~ret11;havoc activate_threads_#t~ret11; 6835#L375 assume !(0 != activate_threads_~tmp~1); 6836#L375-2 havoc is_C_1_triggered_#res;havoc is_C_1_triggered_~__retres1~1;havoc is_C_1_triggered_~__retres1~1; 6874#L191 assume !(1 == ~C_1_pc~0); 6909#L191-2 assume !(2 == ~C_1_pc~0); 6910#L201-1 is_C_1_triggered_~__retres1~1 := 0; 6913#L212 is_C_1_triggered_#res := is_C_1_triggered_~__retres1~1; 6914#L213 activate_threads_#t~ret12 := is_C_1_triggered_#res;activate_threads_~tmp___1~1 := activate_threads_#t~ret12;havoc activate_threads_#t~ret12; 6884#L383 assume !(0 != activate_threads_~tmp___1~1); 6885#L437-1 assume !false; 7179#L438 start_simulation_~kernel_st~0 := 1;havoc eval_#t~ret8, eval_#t~nondet9, eval_#t~nondet10, eval_~tmp~0, eval_~tmp___0~0, eval_~tmp___1~0, eval_~tmp___2~0;havoc eval_~tmp~0;havoc eval_~tmp___0~0;havoc eval_~tmp___1~0;havoc eval_~tmp___2~0; 7156#L296 [2021-10-21 19:10:55,878 INFO L793 eck$LassoCheckResult]: Loop: 7156#L296 assume !false; 7177#L272 havoc exists_runnable_thread_#res;havoc exists_runnable_thread_~__retres1~2;havoc exists_runnable_thread_~__retres1~2; 7175#L246 assume 0 == ~P_1_st~0;exists_runnable_thread_~__retres1~2 := 1; 7173#L259 exists_runnable_thread_#res := exists_runnable_thread_~__retres1~2; 7171#L260 eval_#t~ret8 := exists_runnable_thread_#res;eval_~tmp___2~0 := eval_#t~ret8;havoc eval_#t~ret8; 7169#L276 assume 0 != eval_~tmp___2~0; 7167#L276-1 assume 0 == ~P_1_st~0;eval_~tmp~0 := eval_#t~nondet9;havoc eval_#t~nondet9; 7164#L285 assume !(0 != eval_~tmp~0); 7161#L281 assume 0 == ~C_1_st~0;eval_~tmp___1~0 := eval_#t~nondet10;havoc eval_#t~nondet10; 7155#L300 assume !(0 != eval_~tmp___1~0); 7156#L296 [2021-10-21 19:10:55,878 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,878 INFO L82 PathProgramCache]: Analyzing trace with hash 263198343, now seen corresponding path program 2 times [2021-10-21 19:10:55,878 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,878 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [275861996] [2021-10-21 19:10:55,879 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,879 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,896 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,896 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,900 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,908 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:55,917 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,917 INFO L82 PathProgramCache]: Analyzing trace with hash -1119612439, now seen corresponding path program 2 times [2021-10-21 19:10:55,917 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,917 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [474461106] [2021-10-21 19:10:55,918 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,918 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,921 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,921 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,924 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,927 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:55,928 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 19:10:55,928 INFO L82 PathProgramCache]: Analyzing trace with hash -2012858129, now seen corresponding path program 1 times [2021-10-21 19:10:55,928 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 19:10:55,928 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2090351084] [2021-10-21 19:10:55,929 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 19:10:55,929 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 19:10:55,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,938 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 19:10:55,946 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 19:10:55,957 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 19:10:57,059 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 21.10 07:10:57 BoogieIcfgContainer [2021-10-21 19:10:57,059 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-21 19:10:57,060 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-21 19:10:57,060 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-21 19:10:57,060 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-21 19:10:57,061 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 07:10:53" (3/4) ... [2021-10-21 19:10:57,063 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-21 19:10:57,105 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/witness.graphml [2021-10-21 19:10:57,106 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-21 19:10:57,107 INFO L168 Benchmark]: Toolchain (without parser) took 4835.68 ms. Allocated memory was 109.1 MB in the beginning and 138.4 MB in the end (delta: 29.4 MB). Free memory was 67.6 MB in the beginning and 45.9 MB in the end (delta: 21.7 MB). Peak memory consumption was 51.0 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,108 INFO L168 Benchmark]: CDTParser took 0.26 ms. Allocated memory is still 109.1 MB. Free memory is still 84.3 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-21 19:10:57,108 INFO L168 Benchmark]: CACSL2BoogieTranslator took 355.13 ms. Allocated memory is still 109.1 MB. Free memory was 67.4 MB in the beginning and 81.4 MB in the end (delta: -14.0 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,109 INFO L168 Benchmark]: Boogie Procedure Inliner took 50.94 ms. Allocated memory is still 109.1 MB. Free memory was 81.4 MB in the beginning and 79.0 MB in the end (delta: 2.4 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,109 INFO L168 Benchmark]: Boogie Preprocessor took 46.38 ms. Allocated memory is still 109.1 MB. Free memory was 79.0 MB in the beginning and 77.1 MB in the end (delta: 1.9 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,109 INFO L168 Benchmark]: RCFGBuilder took 523.65 ms. Allocated memory is still 109.1 MB. Free memory was 77.1 MB in the beginning and 60.3 MB in the end (delta: 16.8 MB). Peak memory consumption was 16.8 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,110 INFO L168 Benchmark]: BuchiAutomizer took 3806.59 ms. Allocated memory was 109.1 MB in the beginning and 138.4 MB in the end (delta: 29.4 MB). Free memory was 60.1 MB in the beginning and 49.0 MB in the end (delta: 11.1 MB). Peak memory consumption was 53.0 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,110 INFO L168 Benchmark]: Witness Printer took 46.11 ms. Allocated memory is still 138.4 MB. Free memory was 49.0 MB in the beginning and 45.9 MB in the end (delta: 3.1 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-21 19:10:57,113 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.26 ms. Allocated memory is still 109.1 MB. Free memory is still 84.3 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 355.13 ms. Allocated memory is still 109.1 MB. Free memory was 67.4 MB in the beginning and 81.4 MB in the end (delta: -14.0 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 50.94 ms. Allocated memory is still 109.1 MB. Free memory was 81.4 MB in the beginning and 79.0 MB in the end (delta: 2.4 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 46.38 ms. Allocated memory is still 109.1 MB. Free memory was 79.0 MB in the beginning and 77.1 MB in the end (delta: 1.9 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 523.65 ms. Allocated memory is still 109.1 MB. Free memory was 77.1 MB in the beginning and 60.3 MB in the end (delta: 16.8 MB). Peak memory consumption was 16.8 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 3806.59 ms. Allocated memory was 109.1 MB in the beginning and 138.4 MB in the end (delta: 29.4 MB). Free memory was 60.1 MB in the beginning and 49.0 MB in the end (delta: 11.1 MB). Peak memory consumption was 53.0 MB. Max. memory is 16.1 GB. * Witness Printer took 46.11 ms. Allocated memory is still 138.4 MB. Free memory was 49.0 MB in the beginning and 45.9 MB in the end (delta: 3.1 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 8 terminating modules (8 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.8 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 785 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.7s and 9 iterations. TraceHistogramMax:1. Analysis of lassos took 2.6s. Construction of modules took 0.2s. Büchi inclusion checks took 0.3s. Highest rank in rank-based complementation 0. Minimization of det autom 8. Minimization of nondet autom 0. Automata minimization 201.8ms AutomataMinimizationTime, 8 MinimizatonAttempts, 704 StatesRemovedByMinimization, 4 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 801 states and ocurred in iteration 7. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 1213 SDtfs, 1658 SDslu, 1640 SDs, 0 SdLazy, 174 SolverSat, 61 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 218.0ms Time LassoAnalysisResults: nont1 unkn0 SFLI3 SFLT0 conc1 concLT0 SILN1 SILU0 SILI3 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: 271]: 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 {count=0, NULL=0, \result=0, P_1_pc=0, NULL=1, C_1_i=1, tmp=0, C_1_st=0, data_0=0, kernel_st=1, tmp___2=1, tmp___0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@42de4e64=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3f31e628=0, NULL=0, NULL=0, \result=0, i=0, P_1_i=1, e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@69a155d0=0, __retres1=0, tmp___0=0, num=0, NULL=0, P_1_ev=0, tmp=0, C_1_pc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@49d6eae=0, NULL=3, \result=0, __retres1=0, tmp___0=0, tmp___1=0, data_1=0, __retres1=1, max_loop=2, NULL=5, NULL=0, tmp=0, NULL=4, C_1_pr=0, P_1_st=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@57d0f28b=0, C_1_ev=0, tmp___1=0, timer=0, __retres2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2a5cee7a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@30678d9e=0, \result=1} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 271]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L17] int max_loop ; [L18] int num ; [L19] int i ; [L20] int e ; [L21] int timer ; [L22] char data_0 ; [L23] char data_1 ; [L66] int P_1_pc; [L67] int P_1_st ; [L68] int P_1_i ; [L69] int P_1_ev ; [L124] int C_1_pc ; [L125] int C_1_st ; [L126] int C_1_i ; [L127] int C_1_ev ; [L128] int C_1_pr ; [L492] int count ; [L493] int __retres2 ; [L497] num = 0 [L498] i = 0 [L499] max_loop = 2 [L501] timer = 0 [L502] P_1_pc = 0 [L503] C_1_pc = 0 [L505] count = 0 [L485] P_1_i = 1 [L486] C_1_i = 1 [L423] int kernel_st ; [L424] int tmp ; [L425] int tmp___0 ; [L429] kernel_st = 0 [L228] COND TRUE (int )P_1_i == 1 [L229] P_1_st = 0 [L233] COND TRUE (int )C_1_i == 1 [L234] C_1_st = 0 [L367] int tmp ; [L368] int tmp___0 ; [L369] int tmp___1 ; [L106] int __retres1 ; [L109] COND FALSE !((int )P_1_pc == 1) [L119] __retres1 = 0 [L121] return (__retres1); [L373] tmp = is_P_1_triggered() [L375] COND FALSE !(\read(tmp)) [L188] int __retres1 ; [L191] COND FALSE !((int )C_1_pc == 1) [L201] COND FALSE !((int )C_1_pc == 2) [L211] __retres1 = 0 [L213] return (__retres1); [L381] tmp___1 = is_C_1_triggered() [L383] COND FALSE !(\read(tmp___1)) [L437] COND TRUE 1 [L440] kernel_st = 1 [L264] int tmp ; [L265] int tmp___0 ; [L266] int tmp___1 ; [L267] int tmp___2 ; Loop: [L271] COND TRUE 1 [L243] int __retres1 ; [L246] COND TRUE (int )P_1_st == 0 [L247] __retres1 = 1 [L260] return (__retres1); [L274] tmp___2 = exists_runnable_thread() [L276] COND TRUE \read(tmp___2) [L281] COND TRUE (int )P_1_st == 0 [L283] tmp = __VERIFIER_nondet_int() [L285] COND FALSE !(\read(tmp)) [L296] COND TRUE (int )C_1_st == 0 [L298] tmp___1 = __VERIFIER_nondet_int() [L300] COND FALSE !(\read(tmp___1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-10-21 19:10:57,170 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54d88236-6f88-4c46-ba40-53eb6ca77a26/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...