./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 30e01a73 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/config/TaipanReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Taipan --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash cab402ae7f6fc37ff81cd1633a6040486d6a881d5e9ad3bdd2642728ba2d2b73 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 21:13:35,115 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 21:13:35,231 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Default.epf [2023-11-23 21:13:35,238 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 21:13:35,239 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-23 21:13:35,276 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 21:13:35,277 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-23 21:13:35,277 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-23 21:13:35,278 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 21:13:35,283 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-23 21:13:35,284 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-23 21:13:35,285 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-23 21:13:35,286 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-23 21:13:35,288 INFO L153 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2023-11-23 21:13:35,288 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-23 21:13:35,288 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-23 21:13:35,289 INFO L153 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2023-11-23 21:13:35,289 INFO L153 SettingsManager]: * Use the RCFG-of-the-future interface=true [2023-11-23 21:13:35,290 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-23 21:13:35,290 INFO L151 SettingsManager]: Preferences of Sifa differ from their defaults: [2023-11-23 21:13:35,291 INFO L153 SettingsManager]: * Call Summarizer=TopInputCallSummarizer [2023-11-23 21:13:35,291 INFO L153 SettingsManager]: * Simplification Technique=POLY_PAC [2023-11-23 21:13:35,292 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 21:13:35,293 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 21:13:35,293 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 21:13:35,294 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 21:13:35,294 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 21:13:35,294 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 21:13:35,295 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 21:13:35,295 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 21:13:35,297 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 21:13:35,297 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 21:13:35,297 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 21:13:35,297 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 21:13:35,298 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-23 21:13:35,298 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-23 21:13:35,298 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:13:35,299 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 21:13:35,299 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 21:13:35,299 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 21:13:35,299 INFO L153 SettingsManager]: * Trace refinement strategy=SIFA_TAIPAN [2023-11-23 21:13:35,300 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 21:13:35,300 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-23 21:13:35,300 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 21:13:35,301 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-23 21:13:35,301 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 21:13:35,302 INFO L153 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> Taipan 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 -> cab402ae7f6fc37ff81cd1633a6040486d6a881d5e9ad3bdd2642728ba2d2b73 [2023-11-23 21:13:35,616 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 21:13:35,652 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 21:13:35,655 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 21:13:35,656 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 21:13:35,657 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 21:13:35,659 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i [2023-11-23 21:13:38,794 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 21:13:39,204 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 21:13:39,204 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i [2023-11-23 21:13:39,242 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data/7642c9b5f/798af75e3c224c18a8e35950e186ea83/FLAG722e8aca4 [2023-11-23 21:13:39,261 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data/7642c9b5f/798af75e3c224c18a8e35950e186ea83 [2023-11-23 21:13:39,266 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 21:13:39,268 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 21:13:39,271 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 21:13:39,271 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 21:13:39,276 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 21:13:39,277 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:13:39" (1/1) ... [2023-11-23 21:13:39,278 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7f4b375d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:39, skipping insertion in model container [2023-11-23 21:13:39,279 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:13:39" (1/1) ... [2023-11-23 21:13:39,358 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 21:13:39,777 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:13:40,371 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:13:40,383 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 21:13:40,419 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:13:40,530 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:13:40,756 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:40,756 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:40,756 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:40,756 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:40,757 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:40,757 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:40,765 INFO L206 MainTranslator]: Completed translation [2023-11-23 21:13:40,765 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40 WrapperNode [2023-11-23 21:13:40,766 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 21:13:40,767 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 21:13:40,767 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 21:13:40,767 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 21:13:40,775 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,836 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,878 INFO L138 Inliner]: procedures = 500, calls = 64, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 55 [2023-11-23 21:13:40,880 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 21:13:40,880 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 21:13:40,880 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 21:13:40,881 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 21:13:40,890 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,891 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,909 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,910 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,924 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,926 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,943 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,945 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,948 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 21:13:40,949 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 21:13:40,949 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 21:13:40,949 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 21:13:40,950 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (1/1) ... [2023-11-23 21:13:40,956 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:13:40,978 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/z3 [2023-11-23 21:13:40,991 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-23 21:13:41,003 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-23 21:13:41,026 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-23 21:13:41,027 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-23 21:13:41,027 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-23 21:13:41,027 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 21:13:41,027 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-23 21:13:41,027 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 21:13:41,027 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 21:13:41,028 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 21:13:41,028 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 21:13:41,028 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-23 21:13:41,028 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-23 21:13:41,190 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 21:13:41,193 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 21:13:41,305 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 21:13:41,359 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 21:13:41,369 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 21:13:41,371 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:13:41 BoogieIcfgContainer [2023-11-23 21:13:41,372 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 21:13:41,374 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-23 21:13:41,374 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-23 21:13:41,377 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-23 21:13:41,378 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 09:13:39" (1/3) ... [2023-11-23 21:13:41,379 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@d37402a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:13:41, skipping insertion in model container [2023-11-23 21:13:41,379 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:40" (2/3) ... [2023-11-23 21:13:41,380 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@d37402a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:13:41, skipping insertion in model container [2023-11-23 21:13:41,380 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:13:41" (3/3) ... [2023-11-23 21:13:41,381 INFO L112 eAbstractionObserver]: Analyzing ICFG CWE191_Integer_Underflow__int_fgets_sub_18_bad.i [2023-11-23 21:13:41,399 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-23 21:13:41,399 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2023-11-23 21:13:41,448 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:13:41,453 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=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@34f91c55, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:13:41,453 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-11-23 21:13:41,457 INFO L276 IsEmpty]: Start isEmpty. Operand has 15 states, 8 states have (on average 1.375) internal successors, (11), 11 states have internal predecessors, (11), 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) [2023-11-23 21:13:41,463 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-23 21:13:41,463 INFO L187 NwaCegarLoop]: Found error trace [2023-11-23 21:13:41,464 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-23 21:13:41,464 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW] === [2023-11-23 21:13:41,469 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:13:41,469 INFO L85 PathProgramCache]: Analyzing trace with hash 1836281584, now seen corresponding path program 1 times [2023-11-23 21:13:41,479 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-23 21:13:41,479 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1970470453] [2023-11-23 21:13:41,480 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:13:41,480 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:13:41,646 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:13:41,647 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:13:41,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:13:41,738 INFO L130 FreeRefinementEngine]: Strategy SIFA_TAIPAN found a feasible trace [2023-11-23 21:13:41,740 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:13:41,741 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 2 remaining) [2023-11-23 21:13:41,743 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 2 remaining) [2023-11-23 21:13:41,744 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-23 21:13:41,753 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-23 21:13:41,757 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-23 21:13:41,789 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 09:13:41 BoogieIcfgContainer [2023-11-23 21:13:41,789 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-23 21:13:41,791 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 21:13:41,792 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 21:13:41,792 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 21:13:41,792 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:13:41" (3/4) ... [2023-11-23 21:13:41,795 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 21:13:41,796 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 21:13:41,797 INFO L158 Benchmark]: Toolchain (without parser) took 2529.05ms. Allocated memory is still 174.1MB. Free memory was 123.5MB in the beginning and 87.0MB in the end (delta: 36.5MB). Peak memory consumption was 36.6MB. Max. memory is 16.1GB. [2023-11-23 21:13:41,798 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 113.2MB. Free memory is still 65.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:13:41,799 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1495.06ms. Allocated memory is still 174.1MB. Free memory was 123.1MB in the beginning and 124.0MB in the end (delta: -894.9kB). Peak memory consumption was 55.5MB. Max. memory is 16.1GB. [2023-11-23 21:13:41,800 INFO L158 Benchmark]: Boogie Procedure Inliner took 112.87ms. Allocated memory is still 174.1MB. Free memory was 124.0MB in the beginning and 120.5MB in the end (delta: 3.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-23 21:13:41,801 INFO L158 Benchmark]: Boogie Preprocessor took 67.96ms. Allocated memory is still 174.1MB. Free memory was 120.5MB in the beginning and 119.2MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:13:41,807 INFO L158 Benchmark]: RCFGBuilder took 422.86ms. Allocated memory is still 174.1MB. Free memory was 119.2MB in the beginning and 104.5MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-23 21:13:41,808 INFO L158 Benchmark]: TraceAbstraction took 414.78ms. Allocated memory is still 174.1MB. Free memory was 103.7MB in the beginning and 87.7MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-23 21:13:41,810 INFO L158 Benchmark]: Witness Printer took 4.43ms. Allocated memory is still 174.1MB. Free memory was 87.7MB in the beginning and 87.0MB in the end (delta: 745.2kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:13:41,820 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.31ms. Allocated memory is still 113.2MB. Free memory is still 65.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1495.06ms. Allocated memory is still 174.1MB. Free memory was 123.1MB in the beginning and 124.0MB in the end (delta: -894.9kB). Peak memory consumption was 55.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 112.87ms. Allocated memory is still 174.1MB. Free memory was 124.0MB in the beginning and 120.5MB in the end (delta: 3.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 67.96ms. Allocated memory is still 174.1MB. Free memory was 120.5MB in the beginning and 119.2MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 422.86ms. Allocated memory is still 174.1MB. Free memory was 119.2MB in the beginning and 104.5MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 414.78ms. Allocated memory is still 174.1MB. Free memory was 103.7MB in the beginning and 87.7MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Witness Printer took 4.43ms. Allocated memory is still 174.1MB. Free memory was 87.7MB in the beginning and 87.0MB in the end (delta: 745.2kB). Peak memory consumption was 2.1MB. 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: 1568]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558. 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); [L1575] 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) [L1575] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=1073741827, argc=1073741827, argv={1073741830:1073741828}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1576] CALL CWE191_Integer_Underflow__int_fgets_sub_18_bad() [L1550] int data; [L1551] data = 0 [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1568] data - 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] - UnprovableResult [Line: 1568]: 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, 15 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.3s, OverallIterations: 1, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=15occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 8 NumberOfCodeBlocks, 8 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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 [2023-11-23 21:13:41,867 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/config/TaipanReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Taipan --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash cab402ae7f6fc37ff81cd1633a6040486d6a881d5e9ad3bdd2642728ba2d2b73 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 21:13:44,465 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 21:13:44,582 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Bitvector.epf [2023-11-23 21:13:44,590 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 21:13:44,591 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-23 21:13:44,637 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 21:13:44,638 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-23 21:13:44,638 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-23 21:13:44,639 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 21:13:44,644 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-23 21:13:44,645 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-23 21:13:44,645 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-23 21:13:44,645 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-23 21:13:44,647 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-23 21:13:44,648 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-23 21:13:44,648 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-23 21:13:44,649 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 21:13:44,650 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 21:13:44,650 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 21:13:44,651 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 21:13:44,651 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 21:13:44,652 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 21:13:44,652 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-23 21:13:44,653 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-23 21:13:44,653 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 21:13:44,653 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-23 21:13:44,654 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 21:13:44,654 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 21:13:44,655 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 21:13:44,655 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 21:13:44,656 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-23 21:13:44,657 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-23 21:13:44,657 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-23 21:13:44,657 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:13:44,658 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 21:13:44,658 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 21:13:44,658 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 21:13:44,658 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-23 21:13:44,659 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-23 21:13:44,660 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-23 21:13:44,660 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 21:13:44,660 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-23 21:13:44,660 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 21:13:44,661 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> Taipan 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 -> cab402ae7f6fc37ff81cd1633a6040486d6a881d5e9ad3bdd2642728ba2d2b73 [2023-11-23 21:13:45,097 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 21:13:45,120 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 21:13:45,122 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 21:13:45,124 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 21:13:45,124 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 21:13:45,126 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i [2023-11-23 21:13:48,356 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 21:13:48,858 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 21:13:48,859 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_18_bad.i [2023-11-23 21:13:48,898 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data/8d6fd9d28/bf670ebb0aa74038bb80613905b652f5/FLAG093a1bd96 [2023-11-23 21:13:48,915 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/data/8d6fd9d28/bf670ebb0aa74038bb80613905b652f5 [2023-11-23 21:13:48,920 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 21:13:48,922 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 21:13:48,926 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 21:13:48,927 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 21:13:48,932 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 21:13:48,935 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:13:48" (1/1) ... [2023-11-23 21:13:48,936 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@22157028 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:48, skipping insertion in model container [2023-11-23 21:13:48,936 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:13:48" (1/1) ... [2023-11-23 21:13:49,028 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 21:13:49,495 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:13:50,031 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:13:50,046 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 21:13:50,068 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:13:50,184 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:13:50,350 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:50,351 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:50,351 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:50,351 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:50,351 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:50,351 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:13:50,359 INFO L206 MainTranslator]: Completed translation [2023-11-23 21:13:50,360 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50 WrapperNode [2023-11-23 21:13:50,360 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 21:13:50,361 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 21:13:50,361 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 21:13:50,362 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 21:13:50,367 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,405 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,434 INFO L138 Inliner]: procedures = 505, calls = 64, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 54 [2023-11-23 21:13:50,435 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 21:13:50,435 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 21:13:50,435 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 21:13:50,435 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 21:13:50,445 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,445 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,449 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,450 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,459 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,461 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,464 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,466 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,471 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 21:13:50,472 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 21:13:50,472 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 21:13:50,472 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 21:13:50,473 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (1/1) ... [2023-11-23 21:13:50,479 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:13:50,499 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/z3 [2023-11-23 21:13:50,516 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-23 21:13:50,535 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-23 21:13:50,562 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-23 21:13:50,562 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-23 21:13:50,562 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-23 21:13:50,563 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 21:13:50,563 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-23 21:13:50,563 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 21:13:50,563 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 21:13:50,563 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 21:13:50,564 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 21:13:50,564 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-23 21:13:50,564 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-23 21:13:50,780 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 21:13:50,782 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 21:13:51,004 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 21:13:51,050 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 21:13:51,054 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 21:13:51,055 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:13:51 BoogieIcfgContainer [2023-11-23 21:13:51,055 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 21:13:51,057 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-23 21:13:51,058 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-23 21:13:51,061 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-23 21:13:51,061 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 09:13:48" (1/3) ... [2023-11-23 21:13:51,062 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@74242d42 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:13:51, skipping insertion in model container [2023-11-23 21:13:51,062 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:13:50" (2/3) ... [2023-11-23 21:13:51,062 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@74242d42 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:13:51, skipping insertion in model container [2023-11-23 21:13:51,063 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:13:51" (3/3) ... [2023-11-23 21:13:51,064 INFO L112 eAbstractionObserver]: Analyzing ICFG CWE191_Integer_Underflow__int_fgets_sub_18_bad.i [2023-11-23 21:13:51,085 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-23 21:13:51,085 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2023-11-23 21:13:51,131 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:13:51,136 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=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@2d08858f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:13:51,136 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-11-23 21:13:51,140 INFO L276 IsEmpty]: Start isEmpty. Operand has 17 states, 10 states have (on average 1.4) internal successors, (14), 13 states have internal predecessors, (14), 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) [2023-11-23 21:13:51,147 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-23 21:13:51,148 INFO L187 NwaCegarLoop]: Found error trace [2023-11-23 21:13:51,148 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-23 21:13:51,149 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW] === [2023-11-23 21:13:51,154 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:13:51,154 INFO L85 PathProgramCache]: Analyzing trace with hash -1405460769, now seen corresponding path program 1 times [2023-11-23 21:13:51,173 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-23 21:13:51,174 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1966746696] [2023-11-23 21:13:51,174 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:13:51,174 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 [2023-11-23 21:13:51,175 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/mathsat [2023-11-23 21:13:51,176 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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) [2023-11-23 21:13:51,178 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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 [2023-11-23 21:13:51,359 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:13:51,359 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:13:51,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:13:51,421 INFO L130 FreeRefinementEngine]: Strategy WALRUS found a feasible trace [2023-11-23 21:13:51,423 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:13:51,424 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 2 remaining) [2023-11-23 21:13:51,426 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 2 remaining) [2023-11-23 21:13:51,436 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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 [2023-11-23 21:13:51,627 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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 [2023-11-23 21:13:51,631 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-23 21:13:51,635 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-23 21:13:51,658 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 09:13:51 BoogieIcfgContainer [2023-11-23 21:13:51,658 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-23 21:13:51,659 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 21:13:51,659 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 21:13:51,659 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 21:13:51,660 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:13:51" (3/4) ... [2023-11-23 21:13:51,662 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 21:13:51,663 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 21:13:51,664 INFO L158 Benchmark]: Toolchain (without parser) took 2741.75ms. Allocated memory was 81.8MB in the beginning and 130.0MB in the end (delta: 48.2MB). Free memory was 54.0MB in the beginning and 93.9MB in the end (delta: -39.9MB). Peak memory consumption was 9.4MB. Max. memory is 16.1GB. [2023-11-23 21:13:51,665 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 81.8MB. Free memory was 58.5MB in the beginning and 58.4MB in the end (delta: 141.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:13:51,666 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1434.13ms. Allocated memory was 81.8MB in the beginning and 130.0MB in the end (delta: 48.2MB). Free memory was 53.7MB in the beginning and 93.9MB in the end (delta: -40.2MB). Peak memory consumption was 38.9MB. Max. memory is 16.1GB. [2023-11-23 21:13:51,666 INFO L158 Benchmark]: Boogie Procedure Inliner took 73.43ms. Allocated memory is still 130.0MB. Free memory was 93.3MB in the beginning and 90.3MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-23 21:13:51,667 INFO L158 Benchmark]: Boogie Preprocessor took 35.87ms. Allocated memory is still 130.0MB. Free memory was 90.3MB in the beginning and 88.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:13:51,667 INFO L158 Benchmark]: RCFGBuilder took 583.36ms. Allocated memory is still 130.0MB. Free memory was 88.3MB in the beginning and 72.3MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-23 21:13:51,668 INFO L158 Benchmark]: TraceAbstraction took 601.14ms. Allocated memory is still 130.0MB. Free memory was 71.5MB in the beginning and 94.6MB in the end (delta: -23.1MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:13:51,668 INFO L158 Benchmark]: Witness Printer took 3.82ms. Allocated memory is still 130.0MB. Free memory was 94.6MB in the beginning and 93.9MB in the end (delta: 741.8kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:13:51,677 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.34ms. Allocated memory is still 81.8MB. Free memory was 58.5MB in the beginning and 58.4MB in the end (delta: 141.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1434.13ms. Allocated memory was 81.8MB in the beginning and 130.0MB in the end (delta: 48.2MB). Free memory was 53.7MB in the beginning and 93.9MB in the end (delta: -40.2MB). Peak memory consumption was 38.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 73.43ms. Allocated memory is still 130.0MB. Free memory was 93.3MB in the beginning and 90.3MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 35.87ms. Allocated memory is still 130.0MB. Free memory was 90.3MB in the beginning and 88.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 583.36ms. Allocated memory is still 130.0MB. Free memory was 88.3MB in the beginning and 72.3MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 601.14ms. Allocated memory is still 130.0MB. Free memory was 71.5MB in the beginning and 94.6MB in the end (delta: -23.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.82ms. Allocated memory is still 130.0MB. Free memory was 94.6MB in the beginning and 93.9MB in the end (delta: 741.8kB). 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: 1568]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558. 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); [L1575] 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) [L1575] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=12, argc=12, argv={13:12}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1576] CALL CWE191_Integer_Underflow__int_fgets_sub_18_bad() [L1550] int data; [L1551] data = 0 [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1568] data - 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] - UnprovableResult [Line: 1568]: 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, 17 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=17occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 10 NumberOfCodeBlocks, 10 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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 [2023-11-23 21:13:51,719 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ac8abb07-1a33-4486-ac63-a3258627b3cf/bin/utaipan-verify-mE87zJ7Ire/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample