./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm --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 316774e4a8e293c2c0b70ac26e94e33d5e8afc33717b38a6ad3763b9517d337b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:52:34,449 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:52:34,531 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 20:52:34,543 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:52:34,543 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:52:34,588 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:52:34,589 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:52:34,589 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:52:34,590 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:52:34,590 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:52:34,591 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:52:34,592 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:52:34,592 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:52:34,592 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:52:34,592 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:52:34,593 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:52:34,593 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:52:34,593 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:52:34,593 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:52:34,594 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:52:34,594 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:52:34,594 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:52:34,594 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:52:34,594 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:52:34,595 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:52:34,595 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:52:34,595 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:52:34,595 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:52:34,596 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:52:34,596 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:52:34,596 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:52:34,596 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:52:34,596 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm 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 -> 316774e4a8e293c2c0b70ac26e94e33d5e8afc33717b38a6ad3763b9517d337b [2024-11-13 20:52:34,966 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:52:34,979 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:52:34,983 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:52:34,985 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:52:34,985 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:52:34,987 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i Unable to find full path for "g++" [2024-11-13 20:52:36,977 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:52:37,585 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:52:37,586 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i [2024-11-13 20:52:37,619 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data/6baa349ae/87e75f5cb6dd47f0a955f3270dbd2638/FLAG495885f99 [2024-11-13 20:52:37,637 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data/6baa349ae/87e75f5cb6dd47f0a955f3270dbd2638 [2024-11-13 20:52:37,640 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:52:37,642 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:52:37,644 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:52:37,644 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:52:37,650 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:52:37,652 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:52:37" (1/1) ... [2024-11-13 20:52:37,654 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@29f50298 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:37, skipping insertion in model container [2024-11-13 20:52:37,654 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:52:37" (1/1) ... [2024-11-13 20:52:37,737 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:52:39,020 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:52:39,035 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:52:39,152 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:52:39,405 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:52:39,407 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39 WrapperNode [2024-11-13 20:52:39,409 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:52:39,410 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:52:39,410 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:52:39,410 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:52:39,418 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,460 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,509 INFO L138 Inliner]: procedures = 501, calls = 27, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 107 [2024-11-13 20:52:39,509 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:52:39,510 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:52:39,510 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:52:39,510 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:52:39,519 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,520 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,523 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,523 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,529 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,532 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,534 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,535 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,538 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:52:39,539 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:52:39,539 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:52:39,539 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:52:39,540 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:39" (1/1) ... [2024-11-13 20:52:39,551 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:52:39,586 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:52:39,605 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:52:39,614 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:52:39,646 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:52:39,646 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:52:39,646 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:52:39,646 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:52:39,647 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:52:39,862 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:52:39,864 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:52:40,225 INFO L? ?]: Removed 65 outVars from TransFormulas that were not future-live. [2024-11-13 20:52:40,225 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:52:40,612 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:52:40,612 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:52:40,613 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:52:40 BoogieIcfgContainer [2024-11-13 20:52:40,613 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:52:40,614 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:52:40,614 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:52:40,630 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:52:40,632 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:52:40" (1/1) ... [2024-11-13 20:52:40,646 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:52:40,699 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:52:40,709 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 20:52:40,710 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 20:52:40,714 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 20:52:40,715 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:52:40,715 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:52:41,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:41,138 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:52:41,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:41,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:41,398 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:52:41,438 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:41,470 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 20:52:41,515 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:52:41 ImpRootNode [2024-11-13 20:52:41,515 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:52:41,518 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:52:41,518 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:52:41,518 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:52:41,519 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:52:40" (3/4) ... [2024-11-13 20:52:41,523 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:52:41,524 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:52:41,526 INFO L158 Benchmark]: Toolchain (without parser) took 3883.55ms. Allocated memory is still 117.4MB. Free memory was 90.4MB in the beginning and 54.5MB in the end (delta: 35.9MB). Peak memory consumption was 40.8MB. Max. memory is 16.1GB. [2024-11-13 20:52:41,526 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 167.8MB. Free memory is still 103.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:41,527 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1765.47ms. Allocated memory is still 117.4MB. Free memory was 90.4MB in the beginning and 80.4MB in the end (delta: 10.0MB). Peak memory consumption was 66.6MB. Max. memory is 16.1GB. [2024-11-13 20:52:41,527 INFO L158 Benchmark]: Boogie Procedure Inliner took 99.62ms. Allocated memory is still 117.4MB. Free memory was 79.9MB in the beginning and 77.5MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:41,528 INFO L158 Benchmark]: Boogie Preprocessor took 27.88ms. Allocated memory is still 117.4MB. Free memory was 77.5MB in the beginning and 76.4MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:41,528 INFO L158 Benchmark]: RCFGBuilder took 1074.48ms. Allocated memory is still 117.4MB. Free memory was 75.8MB in the beginning and 88.1MB in the end (delta: -12.3MB). Peak memory consumption was 46.0MB. Max. memory is 16.1GB. [2024-11-13 20:52:41,529 INFO L158 Benchmark]: CodeCheck took 901.44ms. Allocated memory is still 117.4MB. Free memory was 88.1MB in the beginning and 55.2MB in the end (delta: 32.9MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 20:52:41,530 INFO L158 Benchmark]: Witness Printer took 8.08ms. Allocated memory is still 117.4MB. Free memory was 55.2MB in the beginning and 54.5MB in the end (delta: 673.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:41,533 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, 12 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.8s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 6 NumberOfCodeBlocks, 6 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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 - UnprovableResult [Line: 1582]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1559, overapproximation of bitwiseOr at line 1553. 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); [L1559] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1559] RET 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] [L1560] CALL CWE191_Integer_Underflow__int_rand_postdec_54_bad() [L1551] int data; [L1552] data = 0 [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1553] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] CALL CWE191_Integer_Underflow__int_rand_postdec_54b_badSink(data) [L1567] CALL CWE191_Integer_Underflow__int_rand_postdec_54c_badSink(data) [L1572] CALL CWE191_Integer_Underflow__int_rand_postdec_54d_badSink(data) [L1577] CALL CWE191_Integer_Underflow__int_rand_postdec_54e_badSink(data) [L1582] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29ms. Allocated memory is still 167.8MB. Free memory is still 103.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1765.47ms. Allocated memory is still 117.4MB. Free memory was 90.4MB in the beginning and 80.4MB in the end (delta: 10.0MB). Peak memory consumption was 66.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 99.62ms. Allocated memory is still 117.4MB. Free memory was 79.9MB in the beginning and 77.5MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 27.88ms. Allocated memory is still 117.4MB. Free memory was 77.5MB in the beginning and 76.4MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 1074.48ms. Allocated memory is still 117.4MB. Free memory was 75.8MB in the beginning and 88.1MB in the end (delta: -12.3MB). Peak memory consumption was 46.0MB. Max. memory is 16.1GB. * CodeCheck took 901.44ms. Allocated memory is still 117.4MB. Free memory was 88.1MB in the beginning and 55.2MB in the end (delta: 32.9MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Witness Printer took 8.08ms. Allocated memory is still 117.4MB. Free memory was 55.2MB in the beginning and 54.5MB in the end (delta: 673.2kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 20:52:41,567 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with 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/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm --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 316774e4a8e293c2c0b70ac26e94e33d5e8afc33717b38a6ad3763b9517d337b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:52:45,026 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:52:45,183 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 20:52:45,246 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:52:45,247 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:52:45,247 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:52:45,248 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:52:45,248 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:52:45,248 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:52:45,248 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:52:45,248 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:52:45,248 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:52:45,248 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:52:45,249 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:52:45,249 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 20:52:45,249 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 20:52:45,249 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:52:45,249 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:52:45,251 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 20:52:45,251 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:52:45,251 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:52:45,251 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:52:45,252 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:52:45,252 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:52:45,252 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:52:45,252 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:52:45,252 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 20:52:45,252 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:52:45,252 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:52:45,253 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:52:45,253 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:52:45,253 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:52:45,253 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 20:52:45,253 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:52:45,254 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 20:52:45,254 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm 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 -> 316774e4a8e293c2c0b70ac26e94e33d5e8afc33717b38a6ad3763b9517d337b [2024-11-13 20:52:45,649 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:52:45,659 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:52:45,661 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:52:45,663 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:52:45,663 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:52:45,665 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i Unable to find full path for "g++" [2024-11-13 20:52:47,785 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:52:48,225 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:52:48,230 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_54_bad.i [2024-11-13 20:52:48,275 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data/5ad0119f6/37c9b94a78af46c8890c89490b61be36/FLAGf86d59292 [2024-11-13 20:52:48,357 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/data/5ad0119f6/37c9b94a78af46c8890c89490b61be36 [2024-11-13 20:52:48,361 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:52:48,363 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:52:48,366 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:52:48,367 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:52:48,373 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:52:48,374 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:52:48" (1/1) ... [2024-11-13 20:52:48,375 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@613198fb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:48, skipping insertion in model container [2024-11-13 20:52:48,378 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:52:48" (1/1) ... [2024-11-13 20:52:48,454 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:52:49,730 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:52:49,747 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:52:49,893 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:52:50,143 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:52:50,144 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50 WrapperNode [2024-11-13 20:52:50,144 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:52:50,145 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:52:50,145 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:52:50,145 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:52:50,151 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,190 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,218 INFO L138 Inliner]: procedures = 506, calls = 27, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 67 [2024-11-13 20:52:50,218 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:52:50,221 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:52:50,221 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:52:50,221 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:52:50,228 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,228 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,231 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,232 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,246 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,255 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,257 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,259 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,266 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:52:50,267 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:52:50,271 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:52:50,271 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:52:50,272 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,285 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:52:50,311 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:52:50,335 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:52:50,347 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:52:50,394 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:52:50,395 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:52:50,395 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:52:50,395 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:52:50,395 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:52:50,562 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:52:50,564 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:52:50,759 INFO L? ?]: Removed 36 outVars from TransFormulas that were not future-live. [2024-11-13 20:52:50,760 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:52:50,878 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:52:50,879 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:52:50,879 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:52:50 BoogieIcfgContainer [2024-11-13 20:52:50,879 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:52:50,880 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:52:50,880 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:52:50,891 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:52:50,892 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:52:50" (1/1) ... [2024-11-13 20:52:50,900 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:52:50,949 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:52:50,961 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 20:52:50,963 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 20:52:50,968 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 20:52:50,969 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:52:50,970 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:52:50,971 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:52:50,977 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:52:50,979 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 20:52:51,187 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:51,187 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:52:51,271 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:51,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:51,350 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:52:51,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:52:51,408 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 20:52:51,412 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 20:52:51,451 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:52:51 ImpRootNode [2024-11-13 20:52:51,452 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:52:51,454 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:52:51,454 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:52:51,454 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:52:51,455 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:52:50" (3/4) ... [2024-11-13 20:52:51,457 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:52:51,459 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:52:51,463 INFO L158 Benchmark]: Toolchain (without parser) took 3097.13ms. Allocated memory is still 83.9MB. Free memory was 57.7MB in the beginning and 37.3MB in the end (delta: 20.4MB). Peak memory consumption was 19.0MB. Max. memory is 16.1GB. [2024-11-13 20:52:51,463 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 83.9MB. Free memory is still 65.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:51,464 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1778.00ms. Allocated memory is still 83.9MB. Free memory was 57.7MB in the beginning and 50.3MB in the end (delta: 7.4MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. [2024-11-13 20:52:51,465 INFO L158 Benchmark]: Boogie Procedure Inliner took 73.15ms. Allocated memory is still 83.9MB. Free memory was 50.3MB in the beginning and 47.2MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:51,468 INFO L158 Benchmark]: Boogie Preprocessor took 45.76ms. Allocated memory is still 83.9MB. Free memory was 47.2MB in the beginning and 45.8MB in the end (delta: 1.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:52:51,468 INFO L158 Benchmark]: RCFGBuilder took 612.41ms. Allocated memory is still 83.9MB. Free memory was 45.8MB in the beginning and 50.8MB in the end (delta: -5.0MB). Peak memory consumption was 17.9MB. Max. memory is 16.1GB. [2024-11-13 20:52:51,468 INFO L158 Benchmark]: CodeCheck took 572.35ms. Allocated memory is still 83.9MB. Free memory was 50.8MB in the beginning and 37.3MB in the end (delta: 13.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:52:51,469 INFO L158 Benchmark]: Witness Printer took 5.46ms. Allocated memory is still 83.9MB. Free memory was 37.3MB in the beginning and 37.3MB in the end (delta: 3.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:52:51,473 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, 12 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 6 NumberOfCodeBlocks, 6 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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 - UnprovableResult [Line: 1582]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1559. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1559] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1559] RET 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] [L1560] CALL CWE191_Integer_Underflow__int_rand_postdec_54_bad() [L1551] int data; [L1552] data = 0 [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] CALL CWE191_Integer_Underflow__int_rand_postdec_54b_badSink(data) [L1567] CALL CWE191_Integer_Underflow__int_rand_postdec_54c_badSink(data) [L1572] CALL CWE191_Integer_Underflow__int_rand_postdec_54d_badSink(data) [L1577] CALL CWE191_Integer_Underflow__int_rand_postdec_54e_badSink(data) [L1582] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 83.9MB. Free memory is still 65.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1778.00ms. Allocated memory is still 83.9MB. Free memory was 57.7MB in the beginning and 50.3MB in the end (delta: 7.4MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 73.15ms. Allocated memory is still 83.9MB. Free memory was 50.3MB in the beginning and 47.2MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 45.76ms. Allocated memory is still 83.9MB. Free memory was 47.2MB in the beginning and 45.8MB in the end (delta: 1.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 612.41ms. Allocated memory is still 83.9MB. Free memory was 45.8MB in the beginning and 50.8MB in the end (delta: -5.0MB). Peak memory consumption was 17.9MB. Max. memory is 16.1GB. * CodeCheck took 572.35ms. Allocated memory is still 83.9MB. Free memory was 50.8MB in the beginning and 37.3MB in the end (delta: 13.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 5.46ms. Allocated memory is still 83.9MB. Free memory was 37.3MB in the beginning and 37.3MB in the end (delta: 3.4kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 20:52:51,507 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3aba008c-71c4-4abd-bd32-93ac44672698/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample