./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 9bd2c7ff 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_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL --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 Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 8ea3a6c4c5d282a54dd1474f835d1a4f2cafe118865b5b50411e3ca4c801360b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:41:56,788 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:41:56,879 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-19 03:41:56,885 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 03:41:56,886 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 03:41:56,920 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:41:56,921 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:41:56,922 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:41:56,923 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:41:56,924 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:41:56,925 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:41:56,925 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:41:56,926 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 03:41:56,927 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:41:56,928 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:41:56,928 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:41:56,929 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:41:56,930 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:41:56,931 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:41:56,931 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:41:56,932 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:41:56,933 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:41:56,934 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:41:56,934 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:41:56,935 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:41:56,936 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:41:56,936 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:41:56,937 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:41:56,938 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:41:56,938 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 03:41:56,939 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 03:41:56,939 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:41:56,940 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/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_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL 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 -> Kojak 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 -> 8ea3a6c4c5d282a54dd1474f835d1a4f2cafe118865b5b50411e3ca4c801360b [2023-11-19 03:41:57,262 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:41:57,291 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:41:57,294 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:41:57,296 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:41:57,297 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:41:57,298 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i [2023-11-19 03:42:01,137 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:42:01,574 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:42:01,575 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i [2023-11-19 03:42:01,605 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data/8a25206a6/54376d6e56ec4192afc060982e747c84/FLAGb7ae69406 [2023-11-19 03:42:01,620 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data/8a25206a6/54376d6e56ec4192afc060982e747c84 [2023-11-19 03:42:01,631 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:42:01,634 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:42:01,640 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:42:01,640 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:42:01,647 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:42:01,650 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:42:01" (1/1) ... [2023-11-19 03:42:01,652 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2d41a444 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:01, skipping insertion in model container [2023-11-19 03:42:01,653 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:42:01" (1/1) ... [2023-11-19 03:42:01,758 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:42:02,239 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:42:02,948 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:42:02,961 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:42:02,987 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:42:03,071 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:42:03,335 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:03,335 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:03,335 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:03,336 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:03,336 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:03,346 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:42:03,347 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03 WrapperNode [2023-11-19 03:42:03,347 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:42:03,349 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:42:03,349 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:42:03,350 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:42:03,359 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,424 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,479 INFO L138 Inliner]: procedures = 499, calls = 56, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 111 [2023-11-19 03:42:03,479 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:42:03,480 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:42:03,481 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:42:03,481 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:42:03,493 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,493 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,515 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,516 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,532 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,537 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,540 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,543 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,561 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:42:03,562 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:42:03,562 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:42:03,562 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:42:03,563 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:03" (1/1) ... [2023-11-19 03:42:03,570 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:42:03,592 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:42:03,608 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:42:03,637 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:42:03,669 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:42:03,671 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:42:03,671 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:42:03,671 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:42:03,672 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:42:03,672 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:42:03,672 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 03:42:03,928 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:42:03,930 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:42:04,307 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:42:04,595 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:42:04,596 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-19 03:42:04,601 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:42:04 BoogieIcfgContainer [2023-11-19 03:42:04,602 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:42:04,603 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:42:04,603 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:42:04,616 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:42:04,616 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:42:04" (1/1) ... [2023-11-19 03:42:04,628 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:42:04,692 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:04,700 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 22 states and 24 transitions. [2023-11-19 03:42:04,700 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 24 transitions. [2023-11-19 03:42:04,706 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-19 03:42:04,706 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:04,707 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:42:04,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:05,455 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:42:05,560 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:05,561 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 24 states and 27 transitions. [2023-11-19 03:42:05,561 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 27 transitions. [2023-11-19 03:42:05,562 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-19 03:42:05,562 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:05,563 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:42:05,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:05,965 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:42:05,986 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:05,987 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 25 states and 28 transitions. [2023-11-19 03:42:05,987 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 28 transitions. [2023-11-19 03:42:05,988 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-19 03:42:05,988 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:05,989 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:42:06,047 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:06,418 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:42:06,513 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:06,514 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 21 states and 22 transitions. [2023-11-19 03:42:06,514 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2023-11-19 03:42:06,515 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:42:06,515 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:06,515 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:42:06,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:06,633 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:42:06,767 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:06,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:06,875 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:42:06,925 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:06,960 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:42:07,022 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:42:07 ImpRootNode [2023-11-19 03:42:07,022 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:42:07,023 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:42:07,023 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:42:07,024 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:42:07,024 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:42:04" (3/4) ... [2023-11-19 03:42:07,027 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:42:07,028 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:42:07,030 INFO L158 Benchmark]: Toolchain (without parser) took 5395.15ms. Allocated memory was 151.0MB in the beginning and 192.9MB in the end (delta: 41.9MB). Free memory was 107.6MB in the beginning and 112.6MB in the end (delta: -5.0MB). Peak memory consumption was 39.2MB. Max. memory is 16.1GB. [2023-11-19 03:42:07,030 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 151.0MB. Free memory is still 95.7MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:42:07,031 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1708.02ms. Allocated memory was 151.0MB in the beginning and 192.9MB in the end (delta: 41.9MB). Free memory was 107.2MB in the beginning and 136.4MB in the end (delta: -29.2MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2023-11-19 03:42:07,032 INFO L158 Benchmark]: Boogie Procedure Inliner took 130.71ms. Allocated memory is still 192.9MB. Free memory was 136.4MB in the beginning and 133.1MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 03:42:07,033 INFO L158 Benchmark]: Boogie Preprocessor took 80.67ms. Allocated memory is still 192.9MB. Free memory was 133.1MB in the beginning and 132.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:42:07,034 INFO L158 Benchmark]: RCFGBuilder took 1040.02ms. Allocated memory is still 192.9MB. Free memory was 131.0MB in the beginning and 93.3MB in the end (delta: 37.7MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2023-11-19 03:42:07,035 INFO L158 Benchmark]: CodeCheck took 2419.75ms. Allocated memory is still 192.9MB. Free memory was 93.3MB in the beginning and 113.7MB in the end (delta: -20.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:42:07,035 INFO L158 Benchmark]: Witness Printer took 5.34ms. Allocated memory is still 192.9MB. Free memory is still 112.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:42:07,039 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 22 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 2.3s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 42 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 4 mSDsluCounter, 15 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 22 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 56 IncrementalHoareTripleChecker+Invalid, 78 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 22 mSolverCounterUnsat, 15 mSDtfsCounter, 56 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 169 GetRequests, 161 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.3s InterpolantComputationTime, 36 NumberOfCodeBlocks, 36 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 22 ConstructedInterpolants, 0 QuantifiedInterpolants, 40 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 2 PerfectInterpolantSequences, 1/2 InterpolantCoveringCapability, 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: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1560]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of bitwiseOr at line 1555. 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); [L1569] 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={2:0}] [L1414] COND TRUE line != ((void *)0) [L1569] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=13, argc=13, argv={12:14}, argv={12:14}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL CWE191_Integer_Underflow__int_rand_predec_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1555] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1555] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1555] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1555] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1555] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1553] i++ 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, i=1] [L1553] COND FALSE !(i < 1) [L1557] j = 0 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, i=1, j=0] [L1557] COND TRUE j < 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, i=1, j=0] [L1560] --data 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, i=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.28ms. Allocated memory is still 151.0MB. Free memory is still 95.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1708.02ms. Allocated memory was 151.0MB in the beginning and 192.9MB in the end (delta: 41.9MB). Free memory was 107.2MB in the beginning and 136.4MB in the end (delta: -29.2MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 130.71ms. Allocated memory is still 192.9MB. Free memory was 136.4MB in the beginning and 133.1MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 80.67ms. Allocated memory is still 192.9MB. Free memory was 133.1MB in the beginning and 132.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 1040.02ms. Allocated memory is still 192.9MB. Free memory was 131.0MB in the beginning and 93.3MB in the end (delta: 37.7MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. * CodeCheck took 2419.75ms. Allocated memory is still 192.9MB. Free memory was 93.3MB in the beginning and 113.7MB in the end (delta: -20.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.34ms. Allocated memory is still 192.9MB. Free memory is still 112.6MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-19 03:42:07,083 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (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_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL --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 Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 8ea3a6c4c5d282a54dd1474f835d1a4f2cafe118865b5b50411e3ca4c801360b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:42:10,177 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:42:10,303 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-19 03:42:10,353 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:42:10,355 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:42:10,356 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:42:10,358 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:42:10,358 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:42:10,359 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:42:10,361 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:42:10,362 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:42:10,363 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:42:10,363 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:42:10,369 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:42:10,370 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 03:42:10,371 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 03:42:10,372 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:42:10,373 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 03:42:10,374 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:42:10,374 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:42:10,375 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:42:10,375 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:42:10,376 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:42:10,377 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:42:10,377 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:42:10,378 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-19 03:42:10,379 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:42:10,379 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:42:10,380 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:42:10,380 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:42:10,382 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:42:10,382 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 03:42:10,382 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:42:10,383 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:42:10,383 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-19 03:42:10,384 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 03:42:10,384 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_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/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_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL 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 -> Kojak 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 -> 8ea3a6c4c5d282a54dd1474f835d1a4f2cafe118865b5b50411e3ca4c801360b [2023-11-19 03:42:10,849 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:42:10,880 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:42:10,884 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:42:10,886 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:42:10,887 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:42:10,889 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i [2023-11-19 03:42:14,334 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:42:14,958 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:42:14,958 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_17_bad.i [2023-11-19 03:42:14,989 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data/38ac4dc99/f5e1eeacc7bf48e3b5ec7d2440c388f3/FLAG8b9972bf6 [2023-11-19 03:42:15,008 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/data/38ac4dc99/f5e1eeacc7bf48e3b5ec7d2440c388f3 [2023-11-19 03:42:15,015 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:42:15,018 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:42:15,024 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:42:15,026 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:42:15,031 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:42:15,032 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:42:15" (1/1) ... [2023-11-19 03:42:15,034 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5cead306 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:15, skipping insertion in model container [2023-11-19 03:42:15,034 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:42:15" (1/1) ... [2023-11-19 03:42:15,140 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:42:15,685 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:42:16,515 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:42:16,549 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:42:16,573 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:42:16,649 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:42:16,835 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:16,835 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:16,835 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:16,836 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:16,836 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:42:16,845 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:42:16,846 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16 WrapperNode [2023-11-19 03:42:16,846 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:42:16,848 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:42:16,848 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:42:16,848 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:42:16,857 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,900 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,936 INFO L138 Inliner]: procedures = 504, calls = 56, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 79 [2023-11-19 03:42:16,936 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:42:16,937 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:42:16,937 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:42:16,937 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:42:16,947 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,948 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,953 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,954 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,981 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,985 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,989 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,992 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:16,998 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:42:16,999 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:42:16,999 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:42:16,999 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:42:17,000 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:42:16" (1/1) ... [2023-11-19 03:42:17,007 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:42:17,027 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:42:17,042 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:42:17,081 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:42:17,116 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:42:17,117 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:42:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 03:42:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:42:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:42:17,117 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:42:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:42:17,347 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:42:17,349 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:42:17,539 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:42:17,615 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:42:17,616 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-19 03:42:17,621 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:42:17 BoogieIcfgContainer [2023-11-19 03:42:17,621 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:42:17,622 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:42:17,623 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:42:17,635 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:42:17,635 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:42:17" (1/1) ... [2023-11-19 03:42:17,647 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:42:17,706 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:17,713 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 22 states and 24 transitions. [2023-11-19 03:42:17,714 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 24 transitions. [2023-11-19 03:42:17,719 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-19 03:42:17,720 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:17,720 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:42:17,721 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:42:17,724 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:42:17,780 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-19 03:42:17,984 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:17,988 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:42:18,052 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:18,055 INFO L262 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-19 03:42:18,060 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:42:18,107 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:42:18,109 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:42:18,123 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-19 03:42:18,195 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:18,196 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 21 states and 23 transitions. [2023-11-19 03:42:18,197 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 23 transitions. [2023-11-19 03:42:18,197 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-19 03:42:18,198 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:18,198 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:42:18,198 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:42:18,202 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:42:18,232 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-19 03:42:18,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:18,388 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:42:18,418 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:18,421 INFO L262 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-19 03:42:18,423 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:42:18,456 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:42:18,459 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:42:18,465 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-19 03:42:18,516 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:18,517 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 24 states and 30 transitions. [2023-11-19 03:42:18,517 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 30 transitions. [2023-11-19 03:42:18,518 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-19 03:42:18,518 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:18,519 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:42:18,519 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:42:18,520 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:42:18,541 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-19 03:42:18,742 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:18,743 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:42:18,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:42:18,791 INFO L262 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-19 03:42:18,793 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:42:18,861 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:42:18,864 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:42:18,870 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2023-11-19 03:42:19,086 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:42:19,088 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 27 states and 36 transitions. [2023-11-19 03:42:19,088 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 36 transitions. [2023-11-19 03:42:19,090 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:42:19,090 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:42:19,091 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:42:19,091 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:42:19,092 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:42:19,098 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-19 03:42:19,313 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:19,313 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:42:19,419 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:19,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:19,516 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:42:19,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:42:19,577 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:42:19,585 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2023-11-19 03:42:19,586 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:42:19,647 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:42:19 ImpRootNode [2023-11-19 03:42:19,648 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:42:19,649 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:42:19,649 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:42:19,649 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:42:19,650 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:42:17" (3/4) ... [2023-11-19 03:42:19,652 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-19 03:42:19,741 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/witness.graphml [2023-11-19 03:42:19,748 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:42:19,749 INFO L158 Benchmark]: Toolchain (without parser) took 4731.19ms. Allocated memory was 81.8MB in the beginning and 109.1MB in the end (delta: 27.3MB). Free memory was 54.0MB in the beginning and 44.3MB in the end (delta: 9.7MB). Peak memory consumption was 38.9MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,750 INFO L158 Benchmark]: CDTParser took 0.69ms. Allocated memory is still 81.8MB. Free memory was 58.1MB in the beginning and 57.9MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:42:19,751 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1822.70ms. Allocated memory was 81.8MB in the beginning and 109.1MB in the end (delta: 27.3MB). Free memory was 54.0MB in the beginning and 57.5MB in the end (delta: -3.5MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,751 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.55ms. Allocated memory is still 109.1MB. Free memory was 57.5MB in the beginning and 54.0MB in the end (delta: 3.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,752 INFO L158 Benchmark]: Boogie Preprocessor took 60.99ms. Allocated memory is still 109.1MB. Free memory was 54.0MB in the beginning and 81.2MB in the end (delta: -27.2MB). Peak memory consumption was 4.4MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,758 INFO L158 Benchmark]: RCFGBuilder took 622.55ms. Allocated memory is still 109.1MB. Free memory was 81.2MB in the beginning and 61.4MB in the end (delta: 19.8MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,759 INFO L158 Benchmark]: CodeCheck took 2025.61ms. Allocated memory is still 109.1MB. Free memory was 61.4MB in the beginning and 46.4MB in the end (delta: 15.0MB). Peak memory consumption was 16.4MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,760 INFO L158 Benchmark]: Witness Printer took 99.95ms. Allocated memory is still 109.1MB. Free memory was 46.4MB in the beginning and 44.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:42:19,763 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 22 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.9s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 64 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 37 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 12 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 56 IncrementalHoareTripleChecker+Invalid, 66 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 25 mSDtfsCounter, 56 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 176 GetRequests, 166 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 34 NumberOfCodeBlocks, 34 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 20 ConstructedInterpolants, 0 QuantifiedInterpolants, 32 SizeOfPredicates, 1 NumberOfNonLiveVariables, 128 ConjunctsInSsa, 6 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, 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: No data available, ReuseStatistics: No data available - CounterExampleResult [Line: 1560]: integer overflow possible integer overflow possible We found a 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); [L1569] 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={2:0}] [L1414] COND TRUE line != ((void *)0) [L1569] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=0, argc=0, argv={0:0}, argv={0:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL CWE191_Integer_Underflow__int_rand_predec_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1555] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1555] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1555] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1553] i++ 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, i=1] [L1553] COND FALSE !(i < 1) [L1557] j = 0 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, i=1, j=0] [L1557] COND TRUE j < 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, i=1, j=0] [L1560] --data 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, i=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.69ms. Allocated memory is still 81.8MB. Free memory was 58.1MB in the beginning and 57.9MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1822.70ms. Allocated memory was 81.8MB in the beginning and 109.1MB in the end (delta: 27.3MB). Free memory was 54.0MB in the beginning and 57.5MB in the end (delta: -3.5MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 88.55ms. Allocated memory is still 109.1MB. Free memory was 57.5MB in the beginning and 54.0MB in the end (delta: 3.5MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 60.99ms. Allocated memory is still 109.1MB. Free memory was 54.0MB in the beginning and 81.2MB in the end (delta: -27.2MB). Peak memory consumption was 4.4MB. Max. memory is 16.1GB. * RCFGBuilder took 622.55ms. Allocated memory is still 109.1MB. Free memory was 81.2MB in the beginning and 61.4MB in the end (delta: 19.8MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 2025.61ms. Allocated memory is still 109.1MB. Free memory was 61.4MB in the beginning and 46.4MB in the end (delta: 15.0MB). Peak memory consumption was 16.4MB. Max. memory is 16.1GB. * Witness Printer took 99.95ms. Allocated memory is still 109.1MB. Free memory was 46.4MB in the beginning and 44.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2023-11-19 03:42:19,817 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7b73b872-fa53-47fe-8ea6-c605282eaef1/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(OVERFLOW)