./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 2329fc70 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/config/AutomizerReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/config/svcomp-Overflow-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8 --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-2329fc7 [2022-12-13 18:01:44,845 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-12-13 18:01:44,847 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-12-13 18:01:44,859 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-12-13 18:01:44,860 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-12-13 18:01:44,861 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-12-13 18:01:44,862 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-12-13 18:01:44,863 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-12-13 18:01:44,864 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-12-13 18:01:44,865 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-12-13 18:01:44,865 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-12-13 18:01:44,866 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-12-13 18:01:44,866 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-12-13 18:01:44,867 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-12-13 18:01:44,868 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-12-13 18:01:44,869 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-12-13 18:01:44,869 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-12-13 18:01:44,870 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-12-13 18:01:44,871 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-12-13 18:01:44,873 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-12-13 18:01:44,874 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-12-13 18:01:44,875 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-12-13 18:01:44,876 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-12-13 18:01:44,876 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-12-13 18:01:44,879 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-12-13 18:01:44,879 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-12-13 18:01:44,879 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-12-13 18:01:44,880 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-12-13 18:01:44,880 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-12-13 18:01:44,881 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-12-13 18:01:44,881 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-12-13 18:01:44,882 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-12-13 18:01:44,883 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-12-13 18:01:44,883 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-12-13 18:01:44,884 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-12-13 18:01:44,884 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-12-13 18:01:44,885 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-12-13 18:01:44,885 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-12-13 18:01:44,885 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-12-13 18:01:44,886 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-12-13 18:01:44,886 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-12-13 18:01:44,887 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/config/svcomp-Overflow-64bit-Automizer_Default.epf [2022-12-13 18:01:44,903 INFO L113 SettingsManager]: Loading preferences was successful [2022-12-13 18:01:44,903 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-12-13 18:01:44,903 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-12-13 18:01:44,903 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-12-13 18:01:44,904 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-12-13 18:01:44,904 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-12-13 18:01:44,905 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-12-13 18:01:44,905 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-12-13 18:01:44,905 INFO L138 SettingsManager]: * Use SBE=true [2022-12-13 18:01:44,905 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-12-13 18:01:44,905 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-12-13 18:01:44,906 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-12-13 18:01:44,906 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-12-13 18:01:44,906 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-12-13 18:01:44,906 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-12-13 18:01:44,906 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-12-13 18:01:44,907 INFO L138 SettingsManager]: * Check absence of signed integer overflows=true [2022-12-13 18:01:44,907 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-12-13 18:01:44,907 INFO L138 SettingsManager]: * Use constant arrays=true [2022-12-13 18:01:44,907 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-12-13 18:01:44,907 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-12-13 18:01:44,907 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-12-13 18:01:44,907 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-12-13 18:01:44,908 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-12-13 18:01:44,908 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-12-13 18:01:44,908 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-12-13 18:01:44,908 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-12-13 18:01:44,908 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2022-12-13 18:01:44,909 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/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_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8 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(G ! overflow) ) 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 [2022-12-13 18:01:45,133 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-12-13 18:01:45,149 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-12-13 18:01:45,150 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-12-13 18:01:45,151 INFO L271 PluginConnector]: Initializing CDTParser... [2022-12-13 18:01:45,152 INFO L275 PluginConnector]: CDTParser initialized [2022-12-13 18:01:45,153 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2022-12-13 18:01:47,707 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-12-13 18:01:47,962 INFO L351 CDTParser]: Found 1 translation units. [2022-12-13 18:01:47,962 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2022-12-13 18:01:47,982 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data/e65644ee3/ea83c2334f914357b4d7f314ad460a11/FLAG38f5458f5 [2022-12-13 18:01:47,996 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data/e65644ee3/ea83c2334f914357b4d7f314ad460a11 [2022-12-13 18:01:47,998 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-12-13 18:01:47,999 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-12-13 18:01:48,000 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-12-13 18:01:48,000 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-12-13 18:01:48,003 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-12-13 18:01:48,004 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.12 06:01:47" (1/1) ... [2022-12-13 18:01:48,005 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1eb4afb9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:48, skipping insertion in model container [2022-12-13 18:01:48,005 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.12 06:01:47" (1/1) ... [2022-12-13 18:01:48,011 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-12-13 18:01:48,060 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-12-13 18:01:48,356 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2022-12-13 18:01:48,757 WARN L623 FunctionHandler]: Unknown extern function puts [2022-12-13 18:01:48,763 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:48,765 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:48,767 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:48,768 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:48,791 WARN L623 FunctionHandler]: Unknown extern function fgets [2022-12-13 18:01:48,795 WARN L623 FunctionHandler]: Unknown extern function time [2022-12-13 18:01:48,796 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-12-13 18:01:48,805 INFO L203 MainTranslator]: Completed pre-run [2022-12-13 18:01:48,823 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2022-12-13 18:01:48,866 WARN L623 FunctionHandler]: Unknown extern function puts [2022-12-13 18:01:48,868 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:48,869 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:48,871 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:48,872 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:48,877 WARN L623 FunctionHandler]: Unknown extern function fgets [2022-12-13 18:01:48,879 WARN L623 FunctionHandler]: Unknown extern function time [2022-12-13 18:01:48,880 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-12-13 18:01:49,014 INFO L208 MainTranslator]: Completed translation [2022-12-13 18:01:49,014 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49 WrapperNode [2022-12-13 18:01:49,014 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-12-13 18:01:49,015 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-12-13 18:01:49,016 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-12-13 18:01:49,016 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-12-13 18:01:49,022 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,039 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,054 INFO L138 Inliner]: procedures = 500, calls = 62, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 73 [2022-12-13 18:01:49,055 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-12-13 18:01:49,055 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-12-13 18:01:49,055 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-12-13 18:01:49,055 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-12-13 18:01:49,062 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,062 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,066 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,066 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,070 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,072 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,073 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,074 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,076 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-12-13 18:01:49,076 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-12-13 18:01:49,076 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-12-13 18:01:49,076 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-12-13 18:01:49,077 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (1/1) ... [2022-12-13 18:01:49,081 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-12-13 18:01:49,089 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 [2022-12-13 18:01:49,100 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-12-13 18:01:49,102 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-12-13 18:01:49,145 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2022-12-13 18:01:49,146 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-12-13 18:01:49,146 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-12-13 18:01:49,146 INFO L130 BoogieDeclarations]: Found specification of procedure time [2022-12-13 18:01:49,147 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-12-13 18:01:49,265 INFO L235 CfgBuilder]: Building ICFG [2022-12-13 18:01:49,267 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-12-13 18:01:49,374 INFO L276 CfgBuilder]: Performing block encoding [2022-12-13 18:01:49,378 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-12-13 18:01:49,378 INFO L300 CfgBuilder]: Removed 2 assume(true) statements. [2022-12-13 18:01:49,380 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 06:01:49 BoogieIcfgContainer [2022-12-13 18:01:49,380 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-12-13 18:01:49,383 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-12-13 18:01:49,383 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-12-13 18:01:49,386 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-12-13 18:01:49,386 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.12 06:01:47" (1/3) ... [2022-12-13 18:01:49,387 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@29db450a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.12 06:01:49, skipping insertion in model container [2022-12-13 18:01:49,387 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:49" (2/3) ... [2022-12-13 18:01:49,387 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@29db450a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.12 06:01:49, skipping insertion in model container [2022-12-13 18:01:49,387 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 06:01:49" (3/3) ... [2022-12-13 18:01:49,389 INFO L112 eAbstractionObserver]: Analyzing ICFG CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2022-12-13 18:01:49,406 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-12-13 18:01:49,407 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2022-12-13 18:01:49,444 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-12-13 18:01:49,450 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@1aa18a11, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-12-13 18:01:49,450 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2022-12-13 18:01:49,453 INFO L276 IsEmpty]: Start isEmpty. Operand has 35 states, 24 states have (on average 1.5) internal successors, (36), 31 states have internal predecessors, (36), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2022-12-13 18:01:49,458 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2022-12-13 18:01:49,458 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:49,458 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:49,459 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:49,462 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:49,462 INFO L85 PathProgramCache]: Analyzing trace with hash 14720671, now seen corresponding path program 1 times [2022-12-13 18:01:49,469 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 18:01:49,469 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1015270575] [2022-12-13 18:01:49,469 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:49,470 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 18:01:49,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:49,647 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2022-12-13 18:01:49,650 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:49,659 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 18:01:49,659 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-12-13 18:01:49,659 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1015270575] [2022-12-13 18:01:49,660 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1015270575] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 18:01:49,660 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 18:01:49,660 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-12-13 18:01:49,661 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [685880668] [2022-12-13 18:01:49,661 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 18:01:49,664 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-12-13 18:01:49,665 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-12-13 18:01:49,684 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-12-13 18:01:49,685 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 18:01:49,686 INFO L87 Difference]: Start difference. First operand has 35 states, 24 states have (on average 1.5) internal successors, (36), 31 states have internal predecessors, (36), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) Second operand has 3 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 3 states have internal predecessors, (10), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:49,713 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-12-13 18:01:49,713 INFO L93 Difference]: Finished difference Result 66 states and 79 transitions. [2022-12-13 18:01:49,715 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-12-13 18:01:49,715 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 3 states have internal predecessors, (10), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 12 [2022-12-13 18:01:49,716 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-12-13 18:01:49,720 INFO L225 Difference]: With dead ends: 66 [2022-12-13 18:01:49,720 INFO L226 Difference]: Without dead ends: 38 [2022-12-13 18:01:49,722 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 18:01:49,724 INFO L413 NwaCegarLoop]: 39 mSDtfsCounter, 8 mSDsluCounter, 35 mSDsCounter, 0 mSdLazyCounter, 6 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 9 SdHoareTripleChecker+Valid, 74 SdHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 6 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-12-13 18:01:49,724 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [9 Valid, 74 Invalid, 6 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 6 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-12-13 18:01:49,735 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 38 states. [2022-12-13 18:01:49,747 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 38 to 30. [2022-12-13 18:01:49,747 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 30 states, 21 states have (on average 1.4285714285714286) internal successors, (30), 27 states have internal predecessors, (30), 2 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2022-12-13 18:01:49,748 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 34 transitions. [2022-12-13 18:01:49,749 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 34 transitions. Word has length 12 [2022-12-13 18:01:49,749 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-12-13 18:01:49,749 INFO L495 AbstractCegarLoop]: Abstraction has 30 states and 34 transitions. [2022-12-13 18:01:49,749 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 3 states have internal predecessors, (10), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:49,749 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 34 transitions. [2022-12-13 18:01:49,750 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2022-12-13 18:01:49,750 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:49,750 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:49,750 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-12-13 18:01:49,751 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:49,751 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:49,751 INFO L85 PathProgramCache]: Analyzing trace with hash 457723184, now seen corresponding path program 1 times [2022-12-13 18:01:49,751 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 18:01:49,751 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1068947839] [2022-12-13 18:01:49,751 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:49,751 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 18:01:49,771 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:49,869 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2022-12-13 18:01:49,871 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:49,878 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 18:01:49,878 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-12-13 18:01:49,878 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1068947839] [2022-12-13 18:01:49,879 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1068947839] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 18:01:49,879 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 18:01:49,879 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-12-13 18:01:49,879 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1832826003] [2022-12-13 18:01:49,879 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 18:01:49,880 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-12-13 18:01:49,880 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-12-13 18:01:49,881 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-12-13 18:01:49,881 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-12-13 18:01:49,881 INFO L87 Difference]: Start difference. First operand 30 states and 34 transitions. Second operand has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:49,912 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-12-13 18:01:49,913 INFO L93 Difference]: Finished difference Result 38 states and 44 transitions. [2022-12-13 18:01:49,913 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-12-13 18:01:49,913 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 13 [2022-12-13 18:01:49,913 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-12-13 18:01:49,914 INFO L225 Difference]: With dead ends: 38 [2022-12-13 18:01:49,914 INFO L226 Difference]: Without dead ends: 36 [2022-12-13 18:01:49,915 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2022-12-13 18:01:49,916 INFO L413 NwaCegarLoop]: 30 mSDtfsCounter, 4 mSDsluCounter, 55 mSDsCounter, 0 mSdLazyCounter, 15 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 5 SdHoareTripleChecker+Valid, 85 SdHoareTripleChecker+Invalid, 16 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 15 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-12-13 18:01:49,917 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [5 Valid, 85 Invalid, 16 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 15 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-12-13 18:01:49,918 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 36 states. [2022-12-13 18:01:49,922 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 36 to 36. [2022-12-13 18:01:49,922 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 36 states, 26 states have (on average 1.3846153846153846) internal successors, (36), 33 states have internal predecessors, (36), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2022-12-13 18:01:49,923 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 36 states and 42 transitions. [2022-12-13 18:01:49,923 INFO L78 Accepts]: Start accepts. Automaton has 36 states and 42 transitions. Word has length 13 [2022-12-13 18:01:49,924 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-12-13 18:01:49,924 INFO L495 AbstractCegarLoop]: Abstraction has 36 states and 42 transitions. [2022-12-13 18:01:49,924 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:49,924 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 42 transitions. [2022-12-13 18:01:49,925 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2022-12-13 18:01:49,925 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:49,925 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:49,925 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-12-13 18:01:49,925 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:49,926 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:49,926 INFO L85 PathProgramCache]: Analyzing trace with hash 1818569638, now seen corresponding path program 1 times [2022-12-13 18:01:49,926 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 18:01:49,926 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [175699061] [2022-12-13 18:01:49,926 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:49,927 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 18:01:49,949 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:50,013 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2022-12-13 18:01:50,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:50,018 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 18:01:50,018 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-12-13 18:01:50,018 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [175699061] [2022-12-13 18:01:50,018 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [175699061] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 18:01:50,019 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 18:01:50,019 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-12-13 18:01:50,019 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [714927951] [2022-12-13 18:01:50,019 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 18:01:50,019 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-12-13 18:01:50,019 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-12-13 18:01:50,020 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-12-13 18:01:50,020 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 18:01:50,020 INFO L87 Difference]: Start difference. First operand 36 states and 42 transitions. Second operand has 3 states, 2 states have (on average 8.0) internal successors, (16), 3 states have internal predecessors, (16), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:50,029 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-12-13 18:01:50,030 INFO L93 Difference]: Finished difference Result 36 states and 42 transitions. [2022-12-13 18:01:50,030 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-12-13 18:01:50,030 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 8.0) internal successors, (16), 3 states have internal predecessors, (16), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 18 [2022-12-13 18:01:50,030 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-12-13 18:01:50,031 INFO L225 Difference]: With dead ends: 36 [2022-12-13 18:01:50,031 INFO L226 Difference]: Without dead ends: 35 [2022-12-13 18:01:50,031 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 18:01:50,032 INFO L413 NwaCegarLoop]: 29 mSDtfsCounter, 13 mSDsluCounter, 9 mSDsCounter, 0 mSdLazyCounter, 3 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 14 SdHoareTripleChecker+Valid, 38 SdHoareTripleChecker+Invalid, 4 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 3 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-12-13 18:01:50,033 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [14 Valid, 38 Invalid, 4 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 3 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-12-13 18:01:50,034 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 35 states. [2022-12-13 18:01:50,038 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 35 to 35. [2022-12-13 18:01:50,038 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 35 states, 26 states have (on average 1.3461538461538463) internal successors, (35), 32 states have internal predecessors, (35), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2022-12-13 18:01:50,039 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 41 transitions. [2022-12-13 18:01:50,039 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 41 transitions. Word has length 18 [2022-12-13 18:01:50,040 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-12-13 18:01:50,040 INFO L495 AbstractCegarLoop]: Abstraction has 35 states and 41 transitions. [2022-12-13 18:01:50,040 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 8.0) internal successors, (16), 3 states have internal predecessors, (16), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:50,040 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 41 transitions. [2022-12-13 18:01:50,041 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2022-12-13 18:01:50,041 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:50,041 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:50,041 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-12-13 18:01:50,041 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:50,042 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:50,042 INFO L85 PathProgramCache]: Analyzing trace with hash 541084010, now seen corresponding path program 1 times [2022-12-13 18:01:50,042 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 18:01:50,042 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1121907126] [2022-12-13 18:01:50,042 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:50,042 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 18:01:50,064 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 18:01:50,065 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-12-13 18:01:50,077 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 18:01:50,098 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-12-13 18:01:50,098 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-12-13 18:01:50,099 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW (5 of 6 remaining) [2022-12-13 18:01:50,101 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (4 of 6 remaining) [2022-12-13 18:01:50,101 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (3 of 6 remaining) [2022-12-13 18:01:50,101 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (2 of 6 remaining) [2022-12-13 18:01:50,101 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 6 remaining) [2022-12-13 18:01:50,101 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 6 remaining) [2022-12-13 18:01:50,102 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2022-12-13 18:01:50,105 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2022-12-13 18:01:50,108 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2022-12-13 18:01:50,135 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.12 06:01:50 BoogieIcfgContainer [2022-12-13 18:01:50,135 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-12-13 18:01:50,135 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-12-13 18:01:50,136 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-12-13 18:01:50,136 INFO L275 PluginConnector]: Witness Printer initialized [2022-12-13 18:01:50,136 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 06:01:49" (3/4) ... [2022-12-13 18:01:50,138 INFO L140 WitnessPrinter]: No result that supports witness generation found [2022-12-13 18:01:50,138 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-12-13 18:01:50,139 INFO L158 Benchmark]: Toolchain (without parser) took 2140.11ms. Allocated memory is still 161.5MB. Free memory was 117.5MB in the beginning and 112.1MB in the end (delta: 5.4MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. [2022-12-13 18:01:50,139 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 111.1MB. Free memory is still 85.2MB. There was no memory consumed. Max. memory is 16.1GB. [2022-12-13 18:01:50,140 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1014.59ms. Allocated memory is still 161.5MB. Free memory was 117.5MB in the beginning and 126.9MB in the end (delta: -9.4MB). Peak memory consumption was 70.2MB. Max. memory is 16.1GB. [2022-12-13 18:01:50,140 INFO L158 Benchmark]: Boogie Procedure Inliner took 39.31ms. Allocated memory is still 161.5MB. Free memory was 126.9MB in the beginning and 123.5MB in the end (delta: 3.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-12-13 18:01:50,141 INFO L158 Benchmark]: Boogie Preprocessor took 20.56ms. Allocated memory is still 161.5MB. Free memory was 123.5MB in the beginning and 122.0MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-12-13 18:01:50,141 INFO L158 Benchmark]: RCFGBuilder took 304.20ms. Allocated memory is still 161.5MB. Free memory was 122.0MB in the beginning and 108.8MB in the end (delta: 13.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2022-12-13 18:01:50,141 INFO L158 Benchmark]: TraceAbstraction took 752.35ms. Allocated memory is still 161.5MB. Free memory was 108.0MB in the beginning and 112.1MB in the end (delta: -4.1MB). There was no memory consumed. Max. memory is 16.1GB. [2022-12-13 18:01:50,142 INFO L158 Benchmark]: Witness Printer took 3.04ms. Allocated memory is still 161.5MB. Free memory is still 112.1MB. There was no memory consumed. Max. memory is 16.1GB. [2022-12-13 18:01:50,144 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.16ms. Allocated memory is still 111.1MB. Free memory is still 85.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1014.59ms. Allocated memory is still 161.5MB. Free memory was 117.5MB in the beginning and 126.9MB in the end (delta: -9.4MB). Peak memory consumption was 70.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 39.31ms. Allocated memory is still 161.5MB. Free memory was 126.9MB in the beginning and 123.5MB in the end (delta: 3.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 20.56ms. Allocated memory is still 161.5MB. Free memory was 123.5MB in the beginning and 122.0MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 304.20ms. Allocated memory is still 161.5MB. Free memory was 122.0MB in the beginning and 108.8MB in the end (delta: 13.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * TraceAbstraction took 752.35ms. Allocated memory is still 161.5MB. Free memory was 108.0MB in the beginning and 112.1MB in the end (delta: -4.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.04ms. Allocated memory is still 161.5MB. Free memory is still 112.1MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1578] RET printLine("Calling bad()...") VAL [\old(argc)=2147483652, argc=2147483652, argv={2147483648:2147483654}, argv={2147483648:2147483654}, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1579] CALL CWE190_Integer_Overflow__int_fgets_add_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [data=0, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] i++ VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1567] j = 0 VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1567] COND TRUE j < 1 VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1570] data + 1 VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] - UnprovableResult [Line: 1553]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1553]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1567]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1567]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 2 procedures, 35 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 28 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 25 mSDsluCounter, 197 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 99 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 24 IncrementalHoareTripleChecker+Invalid, 26 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 98 mSDtfsCounter, 24 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 15 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=36occurred in iteration=2, InterpolantAutomatonStates: 10, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 8 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 62 NumberOfCodeBlocks, 62 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 40 ConstructedInterpolants, 0 QuantifiedInterpolants, 84 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 1/1 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2022-12-13 18:01:50,156 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/config/AutomizerReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/config/svcomp-Overflow-64bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8 --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-2329fc7 [2022-12-13 18:01:51,954 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-12-13 18:01:51,956 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-12-13 18:01:51,970 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-12-13 18:01:51,970 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-12-13 18:01:51,971 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-12-13 18:01:51,972 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-12-13 18:01:51,973 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-12-13 18:01:51,975 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-12-13 18:01:51,975 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-12-13 18:01:51,976 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-12-13 18:01:51,977 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-12-13 18:01:51,977 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-12-13 18:01:51,978 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-12-13 18:01:51,979 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-12-13 18:01:51,979 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-12-13 18:01:51,980 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-12-13 18:01:51,981 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-12-13 18:01:51,982 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-12-13 18:01:51,983 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-12-13 18:01:51,984 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-12-13 18:01:51,985 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-12-13 18:01:51,986 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-12-13 18:01:51,986 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-12-13 18:01:51,989 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-12-13 18:01:51,989 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-12-13 18:01:51,989 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-12-13 18:01:51,990 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-12-13 18:01:51,990 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-12-13 18:01:51,991 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-12-13 18:01:51,991 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-12-13 18:01:51,992 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-12-13 18:01:51,993 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-12-13 18:01:51,993 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-12-13 18:01:51,994 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-12-13 18:01:51,994 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-12-13 18:01:51,995 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-12-13 18:01:51,995 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-12-13 18:01:51,995 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-12-13 18:01:51,996 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-12-13 18:01:51,996 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-12-13 18:01:51,997 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/config/svcomp-Overflow-64bit-Automizer_Bitvector.epf [2022-12-13 18:01:52,012 INFO L113 SettingsManager]: Loading preferences was successful [2022-12-13 18:01:52,013 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-12-13 18:01:52,013 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-12-13 18:01:52,013 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-12-13 18:01:52,014 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-12-13 18:01:52,014 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-12-13 18:01:52,014 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-12-13 18:01:52,014 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-12-13 18:01:52,015 INFO L138 SettingsManager]: * Use SBE=true [2022-12-13 18:01:52,015 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-12-13 18:01:52,015 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-12-13 18:01:52,015 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-12-13 18:01:52,015 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-12-13 18:01:52,015 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-12-13 18:01:52,016 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-12-13 18:01:52,016 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-12-13 18:01:52,016 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2022-12-13 18:01:52,016 INFO L138 SettingsManager]: * Check absence of signed integer overflows=true [2022-12-13 18:01:52,016 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2022-12-13 18:01:52,017 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-12-13 18:01:52,017 INFO L138 SettingsManager]: * Use constant arrays=true [2022-12-13 18:01:52,017 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-12-13 18:01:52,017 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-12-13 18:01:52,017 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-12-13 18:01:52,017 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-12-13 18:01:52,018 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-12-13 18:01:52,018 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-12-13 18:01:52,018 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-12-13 18:01:52,018 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-12-13 18:01:52,018 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2022-12-13 18:01:52,019 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2022-12-13 18:01:52,026 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2022-12-13 18:01:52,026 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-12-13 18:01:52,026 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2022-12-13 18:01:52,026 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-12-13 18:01:52,026 INFO L138 SettingsManager]: * Logic for external solver=AUFBV [2022-12-13 18:01:52,027 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2022-12-13 18:01:52,027 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/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_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8 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(G ! overflow) ) 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 [2022-12-13 18:01:52,232 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-12-13 18:01:52,246 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-12-13 18:01:52,248 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-12-13 18:01:52,249 INFO L271 PluginConnector]: Initializing CDTParser... [2022-12-13 18:01:52,249 INFO L275 PluginConnector]: CDTParser initialized [2022-12-13 18:01:52,250 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2022-12-13 18:01:54,887 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-12-13 18:01:55,157 INFO L351 CDTParser]: Found 1 translation units. [2022-12-13 18:01:55,158 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2022-12-13 18:01:55,184 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data/3cb6c8748/8b5cd8882775424ba97e9bcf258b1214/FLAGc3c4519eb [2022-12-13 18:01:55,197 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/data/3cb6c8748/8b5cd8882775424ba97e9bcf258b1214 [2022-12-13 18:01:55,200 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-12-13 18:01:55,201 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-12-13 18:01:55,202 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-12-13 18:01:55,202 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-12-13 18:01:55,205 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-12-13 18:01:55,206 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.12 06:01:55" (1/1) ... [2022-12-13 18:01:55,207 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3d3c4a49 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:55, skipping insertion in model container [2022-12-13 18:01:55,207 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.12 06:01:55" (1/1) ... [2022-12-13 18:01:55,213 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-12-13 18:01:55,263 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-12-13 18:01:55,501 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2022-12-13 18:01:55,850 WARN L623 FunctionHandler]: Unknown extern function puts [2022-12-13 18:01:55,853 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:55,855 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:55,857 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:55,857 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:55,878 WARN L623 FunctionHandler]: Unknown extern function fgets [2022-12-13 18:01:55,882 WARN L623 FunctionHandler]: Unknown extern function time [2022-12-13 18:01:55,883 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-12-13 18:01:55,895 INFO L203 MainTranslator]: Completed pre-run [2022-12-13 18:01:55,911 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2022-12-13 18:01:55,959 WARN L623 FunctionHandler]: Unknown extern function puts [2022-12-13 18:01:55,961 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:55,962 WARN L623 FunctionHandler]: Unknown extern function __ctype_b_loc [2022-12-13 18:01:55,964 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:55,965 WARN L623 FunctionHandler]: Unknown extern function iswxdigit [2022-12-13 18:01:55,969 WARN L623 FunctionHandler]: Unknown extern function fgets [2022-12-13 18:01:55,971 WARN L623 FunctionHandler]: Unknown extern function time [2022-12-13 18:01:55,972 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-12-13 18:01:56,071 INFO L208 MainTranslator]: Completed translation [2022-12-13 18:01:56,071 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56 WrapperNode [2022-12-13 18:01:56,071 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-12-13 18:01:56,072 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-12-13 18:01:56,072 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-12-13 18:01:56,072 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-12-13 18:01:56,079 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,101 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,121 INFO L138 Inliner]: procedures = 505, calls = 62, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 72 [2022-12-13 18:01:56,122 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-12-13 18:01:56,122 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-12-13 18:01:56,122 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-12-13 18:01:56,122 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-12-13 18:01:56,129 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,129 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,132 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,132 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,139 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,141 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,142 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,143 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,146 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-12-13 18:01:56,146 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-12-13 18:01:56,146 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-12-13 18:01:56,146 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-12-13 18:01:56,147 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (1/1) ... [2022-12-13 18:01:56,152 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-12-13 18:01:56,160 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 [2022-12-13 18:01:56,169 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-12-13 18:01:56,172 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-12-13 18:01:56,194 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2022-12-13 18:01:56,195 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-12-13 18:01:56,195 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure time [2022-12-13 18:01:56,195 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2022-12-13 18:01:56,317 INFO L235 CfgBuilder]: Building ICFG [2022-12-13 18:01:56,320 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-12-13 18:01:56,452 INFO L276 CfgBuilder]: Performing block encoding [2022-12-13 18:01:56,457 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-12-13 18:01:56,457 INFO L300 CfgBuilder]: Removed 2 assume(true) statements. [2022-12-13 18:01:56,458 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 06:01:56 BoogieIcfgContainer [2022-12-13 18:01:56,458 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-12-13 18:01:56,460 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-12-13 18:01:56,460 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-12-13 18:01:56,462 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-12-13 18:01:56,462 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.12 06:01:55" (1/3) ... [2022-12-13 18:01:56,463 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@112d55ce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.12 06:01:56, skipping insertion in model container [2022-12-13 18:01:56,463 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 06:01:56" (2/3) ... [2022-12-13 18:01:56,463 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@112d55ce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.12 06:01:56, skipping insertion in model container [2022-12-13 18:01:56,463 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 06:01:56" (3/3) ... [2022-12-13 18:01:56,464 INFO L112 eAbstractionObserver]: Analyzing ICFG CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2022-12-13 18:01:56,477 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-12-13 18:01:56,477 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2022-12-13 18:01:56,509 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-12-13 18:01:56,514 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@190c9abe, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-12-13 18:01:56,514 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2022-12-13 18:01:56,517 INFO L276 IsEmpty]: Start isEmpty. Operand has 35 states, 24 states have (on average 1.5) internal successors, (36), 31 states have internal predecessors, (36), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2022-12-13 18:01:56,522 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2022-12-13 18:01:56,522 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:56,523 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:56,523 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:56,526 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:56,527 INFO L85 PathProgramCache]: Analyzing trace with hash 14720671, now seen corresponding path program 1 times [2022-12-13 18:01:56,535 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-12-13 18:01:56,536 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1808945496] [2022-12-13 18:01:56,536 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:56,536 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:56,536 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat [2022-12-13 18:01:56,537 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-12-13 18:01:56,538 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2022-12-13 18:01:56,641 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:56,644 INFO L263 TraceCheckSpWp]: Trace formula consists of 49 conjuncts, 1 conjunts are in the unsatisfiable core [2022-12-13 18:01:56,648 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-12-13 18:01:56,668 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 18:01:56,669 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-12-13 18:01:56,669 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2022-12-13 18:01:56,669 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1808945496] [2022-12-13 18:01:56,670 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1808945496] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 18:01:56,670 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 18:01:56,670 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2022-12-13 18:01:56,672 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2028131333] [2022-12-13 18:01:56,672 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 18:01:56,676 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-12-13 18:01:56,676 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2022-12-13 18:01:56,702 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-12-13 18:01:56,702 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-12-13 18:01:56,704 INFO L87 Difference]: Start difference. First operand has 35 states, 24 states have (on average 1.5) internal successors, (36), 31 states have internal predecessors, (36), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) Second operand has 2 states, 1 states have (on average 10.0) internal successors, (10), 2 states have internal predecessors, (10), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:56,722 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-12-13 18:01:56,722 INFO L93 Difference]: Finished difference Result 55 states and 66 transitions. [2022-12-13 18:01:56,722 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-12-13 18:01:56,723 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 1 states have (on average 10.0) internal successors, (10), 2 states have internal predecessors, (10), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 12 [2022-12-13 18:01:56,724 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-12-13 18:01:56,729 INFO L225 Difference]: With dead ends: 55 [2022-12-13 18:01:56,729 INFO L226 Difference]: Without dead ends: 26 [2022-12-13 18:01:56,732 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 11 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-12-13 18:01:56,735 INFO L413 NwaCegarLoop]: 37 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 0 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 37 SdHoareTripleChecker+Invalid, 0 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 0 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-12-13 18:01:56,736 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 37 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-12-13 18:01:56,750 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2022-12-13 18:01:56,763 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 26. [2022-12-13 18:01:56,764 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 20 states have (on average 1.3) internal successors, (26), 23 states have internal predecessors, (26), 2 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2022-12-13 18:01:56,765 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 30 transitions. [2022-12-13 18:01:56,766 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 30 transitions. Word has length 12 [2022-12-13 18:01:56,767 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-12-13 18:01:56,767 INFO L495 AbstractCegarLoop]: Abstraction has 26 states and 30 transitions. [2022-12-13 18:01:56,767 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 1 states have (on average 10.0) internal successors, (10), 2 states have internal predecessors, (10), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:56,767 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2022-12-13 18:01:56,768 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2022-12-13 18:01:56,768 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:56,768 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:56,786 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2022-12-13 18:01:56,969 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:56,970 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:56,972 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:56,972 INFO L85 PathProgramCache]: Analyzing trace with hash 456340881, now seen corresponding path program 1 times [2022-12-13 18:01:56,974 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-12-13 18:01:56,974 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [523410231] [2022-12-13 18:01:56,975 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:56,975 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:56,976 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat [2022-12-13 18:01:56,979 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-12-13 18:01:56,981 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2022-12-13 18:01:57,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:57,109 INFO L263 TraceCheckSpWp]: Trace formula consists of 50 conjuncts, 2 conjunts are in the unsatisfiable core [2022-12-13 18:01:57,110 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-12-13 18:01:57,136 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 18:01:57,136 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-12-13 18:01:57,137 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2022-12-13 18:01:57,137 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [523410231] [2022-12-13 18:01:57,137 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleMathsat [523410231] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 18:01:57,137 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 18:01:57,137 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-12-13 18:01:57,137 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [941571741] [2022-12-13 18:01:57,137 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 18:01:57,138 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-12-13 18:01:57,138 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2022-12-13 18:01:57,139 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-12-13 18:01:57,139 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 18:01:57,139 INFO L87 Difference]: Start difference. First operand 26 states and 30 transitions. Second operand has 3 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 3 states have internal predecessors, (11), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:57,166 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-12-13 18:01:57,167 INFO L93 Difference]: Finished difference Result 44 states and 51 transitions. [2022-12-13 18:01:57,167 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-12-13 18:01:57,167 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 3 states have internal predecessors, (11), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 13 [2022-12-13 18:01:57,167 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-12-13 18:01:57,168 INFO L225 Difference]: With dead ends: 44 [2022-12-13 18:01:57,168 INFO L226 Difference]: Without dead ends: 34 [2022-12-13 18:01:57,168 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 12 GetRequests, 11 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 18:01:57,170 INFO L413 NwaCegarLoop]: 29 mSDtfsCounter, 7 mSDsluCounter, 25 mSDsCounter, 0 mSdLazyCounter, 6 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 8 SdHoareTripleChecker+Valid, 54 SdHoareTripleChecker+Invalid, 6 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 6 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-12-13 18:01:57,171 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [8 Valid, 54 Invalid, 6 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 6 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-12-13 18:01:57,172 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2022-12-13 18:01:57,176 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 27. [2022-12-13 18:01:57,176 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 27 states, 21 states have (on average 1.2857142857142858) internal successors, (27), 24 states have internal predecessors, (27), 2 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2022-12-13 18:01:57,177 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 31 transitions. [2022-12-13 18:01:57,177 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 31 transitions. Word has length 13 [2022-12-13 18:01:57,177 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-12-13 18:01:57,177 INFO L495 AbstractCegarLoop]: Abstraction has 27 states and 31 transitions. [2022-12-13 18:01:57,177 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 3 states have internal predecessors, (11), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:57,178 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 31 transitions. [2022-12-13 18:01:57,178 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2022-12-13 18:01:57,178 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:57,178 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:57,186 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Ended with exit code 0 [2022-12-13 18:01:57,379 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:57,381 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:57,382 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:57,382 INFO L85 PathProgramCache]: Analyzing trace with hash 1304516880, now seen corresponding path program 1 times [2022-12-13 18:01:57,383 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-12-13 18:01:57,384 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [777885938] [2022-12-13 18:01:57,384 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:57,385 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:57,385 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat [2022-12-13 18:01:57,388 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-12-13 18:01:57,391 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2022-12-13 18:01:57,508 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 18:01:57,510 INFO L263 TraceCheckSpWp]: Trace formula consists of 70 conjuncts, 3 conjunts are in the unsatisfiable core [2022-12-13 18:01:57,511 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-12-13 18:01:57,534 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 18:01:57,534 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-12-13 18:01:57,535 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2022-12-13 18:01:57,535 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [777885938] [2022-12-13 18:01:57,535 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleMathsat [777885938] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 18:01:57,535 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 18:01:57,535 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-12-13 18:01:57,535 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [188950423] [2022-12-13 18:01:57,535 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 18:01:57,536 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-12-13 18:01:57,536 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2022-12-13 18:01:57,536 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-12-13 18:01:57,537 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-12-13 18:01:57,537 INFO L87 Difference]: Start difference. First operand 27 states and 31 transitions. Second operand has 4 states, 3 states have (on average 4.0) internal successors, (12), 4 states have internal predecessors, (12), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:57,579 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-12-13 18:01:57,580 INFO L93 Difference]: Finished difference Result 34 states and 40 transitions. [2022-12-13 18:01:57,580 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-12-13 18:01:57,580 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 4.0) internal successors, (12), 4 states have internal predecessors, (12), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 14 [2022-12-13 18:01:57,581 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-12-13 18:01:57,581 INFO L225 Difference]: With dead ends: 34 [2022-12-13 18:01:57,581 INFO L226 Difference]: Without dead ends: 33 [2022-12-13 18:01:57,582 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 11 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2022-12-13 18:01:57,583 INFO L413 NwaCegarLoop]: 27 mSDtfsCounter, 3 mSDsluCounter, 50 mSDsCounter, 0 mSdLazyCounter, 14 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 4 SdHoareTripleChecker+Valid, 77 SdHoareTripleChecker+Invalid, 14 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 14 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-12-13 18:01:57,583 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [4 Valid, 77 Invalid, 14 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 14 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-12-13 18:01:57,583 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states. [2022-12-13 18:01:57,586 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 33. [2022-12-13 18:01:57,586 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 33 states, 26 states have (on average 1.2692307692307692) internal successors, (33), 30 states have internal predecessors, (33), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2022-12-13 18:01:57,586 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 33 states and 39 transitions. [2022-12-13 18:01:57,586 INFO L78 Accepts]: Start accepts. Automaton has 33 states and 39 transitions. Word has length 14 [2022-12-13 18:01:57,587 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-12-13 18:01:57,587 INFO L495 AbstractCegarLoop]: Abstraction has 33 states and 39 transitions. [2022-12-13 18:01:57,587 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 4.0) internal successors, (12), 4 states have internal predecessors, (12), 1 states have call successors, (1), 1 states have call predecessors, (1), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2022-12-13 18:01:57,587 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 39 transitions. [2022-12-13 18:01:57,587 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2022-12-13 18:01:57,587 INFO L187 NwaCegarLoop]: Found error trace [2022-12-13 18:01:57,587 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 18:01:57,600 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Ended with exit code 0 [2022-12-13 18:01:57,788 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:57,788 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 3 more)] === [2022-12-13 18:01:57,789 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 18:01:57,789 INFO L85 PathProgramCache]: Analyzing trace with hash 541084010, now seen corresponding path program 1 times [2022-12-13 18:01:57,789 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-12-13 18:01:57,789 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1592212002] [2022-12-13 18:01:57,789 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 18:01:57,789 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:57,789 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat [2022-12-13 18:01:57,790 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-12-13 18:01:57,791 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Waiting until timeout for monitored process [2022-12-13 18:01:57,860 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 18:01:57,860 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-12-13 18:01:57,890 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 18:01:57,919 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2022-12-13 18:01:57,919 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-12-13 18:01:57,920 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW (5 of 6 remaining) [2022-12-13 18:01:57,922 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (4 of 6 remaining) [2022-12-13 18:01:57,922 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (3 of 6 remaining) [2022-12-13 18:01:57,922 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (2 of 6 remaining) [2022-12-13 18:01:57,923 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 6 remaining) [2022-12-13 18:01:57,923 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 6 remaining) [2022-12-13 18:01:57,936 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Ended with exit code 0 [2022-12-13 18:01:58,123 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2022-12-13 18:01:58,129 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2022-12-13 18:01:58,135 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2022-12-13 18:01:58,176 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.12 06:01:58 BoogieIcfgContainer [2022-12-13 18:01:58,177 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-12-13 18:01:58,177 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-12-13 18:01:58,177 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-12-13 18:01:58,177 INFO L275 PluginConnector]: Witness Printer initialized [2022-12-13 18:01:58,178 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 06:01:56" (3/4) ... [2022-12-13 18:01:58,180 INFO L140 WitnessPrinter]: No result that supports witness generation found [2022-12-13 18:01:58,180 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-12-13 18:01:58,181 INFO L158 Benchmark]: Toolchain (without parser) took 2979.47ms. Allocated memory was 73.4MB in the beginning and 88.1MB in the end (delta: 14.7MB). Free memory was 48.2MB in the beginning and 35.6MB in the end (delta: 12.6MB). Peak memory consumption was 29.1MB. Max. memory is 16.1GB. [2022-12-13 18:01:58,181 INFO L158 Benchmark]: CDTParser took 0.11ms. Allocated memory is still 54.5MB. Free memory is still 33.4MB. There was no memory consumed. Max. memory is 16.1GB. [2022-12-13 18:01:58,181 INFO L158 Benchmark]: CACSL2BoogieTranslator took 869.01ms. Allocated memory was 73.4MB in the beginning and 88.1MB in the end (delta: 14.7MB). Free memory was 48.0MB in the beginning and 50.7MB in the end (delta: -2.8MB). Peak memory consumption was 26.5MB. Max. memory is 16.1GB. [2022-12-13 18:01:58,181 INFO L158 Benchmark]: Boogie Procedure Inliner took 49.95ms. Allocated memory is still 88.1MB. Free memory was 50.7MB in the beginning and 47.4MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2022-12-13 18:01:58,182 INFO L158 Benchmark]: Boogie Preprocessor took 23.51ms. Allocated memory is still 88.1MB. Free memory was 47.4MB in the beginning and 45.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-12-13 18:01:58,182 INFO L158 Benchmark]: RCFGBuilder took 312.29ms. Allocated memory is still 88.1MB. Free memory was 45.3MB in the beginning and 54.0MB in the end (delta: -8.7MB). Peak memory consumption was 10.0MB. Max. memory is 16.1GB. [2022-12-13 18:01:58,182 INFO L158 Benchmark]: TraceAbstraction took 1716.70ms. Allocated memory is still 88.1MB. Free memory was 53.4MB in the beginning and 35.6MB in the end (delta: 17.8MB). Peak memory consumption was 17.9MB. Max. memory is 16.1GB. [2022-12-13 18:01:58,182 INFO L158 Benchmark]: Witness Printer took 2.97ms. Allocated memory is still 88.1MB. Free memory is still 35.6MB. There was no memory consumed. Max. memory is 16.1GB. [2022-12-13 18:01:58,184 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.11ms. Allocated memory is still 54.5MB. Free memory is still 33.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 869.01ms. Allocated memory was 73.4MB in the beginning and 88.1MB in the end (delta: 14.7MB). Free memory was 48.0MB in the beginning and 50.7MB in the end (delta: -2.8MB). Peak memory consumption was 26.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 49.95ms. Allocated memory is still 88.1MB. Free memory was 50.7MB in the beginning and 47.4MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.51ms. Allocated memory is still 88.1MB. Free memory was 47.4MB in the beginning and 45.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 312.29ms. Allocated memory is still 88.1MB. Free memory was 45.3MB in the beginning and 54.0MB in the end (delta: -8.7MB). Peak memory consumption was 10.0MB. Max. memory is 16.1GB. * TraceAbstraction took 1716.70ms. Allocated memory is still 88.1MB. Free memory was 53.4MB in the beginning and 35.6MB in the end (delta: 17.8MB). Peak memory consumption was 17.9MB. Max. memory is 16.1GB. * Witness Printer took 2.97ms. Allocated memory is still 88.1MB. Free memory is still 35.6MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1578] RET printLine("Calling bad()...") VAL [\old(argc)=12, argc=12, argv={13:12}, argv={13:12}, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1579] CALL CWE190_Integer_Overflow__int_fgets_add_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [data=0, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] i++ VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1567] j = 0 VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1567] COND TRUE j < 1 VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1570] data + 1 VAL [data=2147483647, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] - UnprovableResult [Line: 1553]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1553]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1567]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - UnprovableResult [Line: 1567]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 2 procedures, 35 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.6s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 12 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 168 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 75 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 20 IncrementalHoareTripleChecker+Invalid, 20 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 93 mSDtfsCounter, 20 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 37 GetRequests, 33 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=35occurred in iteration=0, InterpolantAutomatonStates: 9, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 7 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 58 NumberOfCodeBlocks, 58 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 36 ConstructedInterpolants, 0 QuantifiedInterpolants, 50 SizeOfPredicates, 2 NumberOfNonLiveVariables, 169 ConjunctsInSsa, 6 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2022-12-13 18:01:58,198 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa5d4b3f-1450-497a-8c67-163973fd9ec2/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample