./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_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_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/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_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/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_b0109bd0-b52c-4324-b809-7652ffcb5527/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 cd252ccdd33cb28a72311bc5806e71daa7097df1d938c60a8b8ba00de5c4a768 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:25:58,327 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:25:58,415 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:25:58,425 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:25:58,426 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:25:58,460 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:25:58,461 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:25:58,462 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:25:58,463 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:25:58,463 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:25:58,463 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:25:58,464 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:25:58,464 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:25:58,464 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:25:58,465 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:25:58,465 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:25:58,465 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:25:58,465 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:25:58,465 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:25:58,465 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_b0109bd0-b52c-4324-b809-7652ffcb5527/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 -> cd252ccdd33cb28a72311bc5806e71daa7097df1d938c60a8b8ba00de5c4a768 [2024-11-13 22:25:58,822 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:25:58,830 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:25:58,832 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:25:58,834 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:25:58,834 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:25:58,836 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_bad.i Unable to find full path for "g++" [2024-11-13 22:26:00,823 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:26:01,310 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:26:01,311 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_bad.i [2024-11-13 22:26:01,357 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data/02e457f19/06436e5b57e2482bb74519daec697044/FLAG0a63df798 [2024-11-13 22:26:01,386 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data/02e457f19/06436e5b57e2482bb74519daec697044 [2024-11-13 22:26:01,389 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:26:01,393 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:26:01,394 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:26:01,395 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:26:01,401 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:26:01,402 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:26:01" (1/1) ... [2024-11-13 22:26:01,405 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@414741 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:01, skipping insertion in model container [2024-11-13 22:26:01,405 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:26:01" (1/1) ... [2024-11-13 22:26:01,485 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:26:02,605 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:26:02,621 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:26:02,781 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:26:02,969 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:26:02,970 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02 WrapperNode [2024-11-13 22:26:02,970 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:26:02,971 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:26:02,971 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:26:02,971 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:26:02,977 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,005 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,037 INFO L138 Inliner]: procedures = 497, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 137 [2024-11-13 22:26:03,037 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:26:03,038 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:26:03,038 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:26:03,038 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:26:03,048 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,048 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,052 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,052 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,059 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,062 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,064 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,065 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,069 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:26:03,070 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:26:03,070 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:26:03,070 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:26:03,071 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:02" (1/1) ... [2024-11-13 22:26:03,080 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:26:03,101 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:26:03,117 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:26:03,120 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:26:03,149 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:26:03,149 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:26:03,149 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:26:03,149 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:26:03,149 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:26:03,396 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:26:03,398 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:26:03,782 INFO L? ?]: Removed 63 outVars from TransFormulas that were not future-live. [2024-11-13 22:26:03,783 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:26:04,146 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:26:04,148 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:26:04,148 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:26:04 BoogieIcfgContainer [2024-11-13 22:26:04,149 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:26:04,151 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:26:04,151 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:26:04,164 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:26:04,164 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:26:04" (1/1) ... [2024-11-13 22:26:04,177 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:26:04,242 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:26:04,253 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 21 states and 28 transitions. [2024-11-13 22:26:04,254 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 28 transitions. [2024-11-13 22:26:04,259 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 22:26:04,260 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:26:04,261 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:26:04,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:04,632 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:26:04,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:04,900 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:04,900 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:26:04,947 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:05,019 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:26:05,063 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:26:05 ImpRootNode [2024-11-13 22:26:05,064 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:26:05,065 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:26:05,065 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:26:05,065 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:26:05,066 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:26:04" (3/4) ... [2024-11-13 22:26:05,071 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:26:05,072 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:26:05,073 INFO L158 Benchmark]: Toolchain (without parser) took 3681.41ms. Allocated memory is still 109.1MB. Free memory was 80.2MB in the beginning and 75.8MB in the end (delta: 4.4MB). Peak memory consumption was 9.4MB. Max. memory is 16.1GB. [2024-11-13 22:26:05,076 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 83.9MB. Free memory is still 41.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:05,076 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1576.05ms. Allocated memory is still 109.1MB. Free memory was 80.2MB in the beginning and 64.0MB in the end (delta: 16.2MB). Peak memory consumption was 57.8MB. Max. memory is 16.1GB. [2024-11-13 22:26:05,077 INFO L158 Benchmark]: Boogie Procedure Inliner took 66.53ms. Allocated memory is still 109.1MB. Free memory was 64.0MB in the beginning and 61.2MB in the end (delta: 2.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:26:05,078 INFO L158 Benchmark]: Boogie Preprocessor took 30.92ms. Allocated memory is still 109.1MB. Free memory was 61.2MB in the beginning and 60.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:05,079 INFO L158 Benchmark]: RCFGBuilder took 1079.10ms. Allocated memory is still 109.1MB. Free memory was 60.0MB in the beginning and 72.4MB in the end (delta: -12.5MB). Peak memory consumption was 38.8MB. Max. memory is 16.1GB. [2024-11-13 22:26:05,081 INFO L158 Benchmark]: CodeCheck took 913.18ms. Allocated memory is still 109.1MB. Free memory was 72.4MB in the beginning and 76.5MB in the end (delta: -4.0MB). Peak memory consumption was 43.8MB. Max. memory is 16.1GB. [2024-11-13 22:26:05,082 INFO L158 Benchmark]: Witness Printer took 7.96ms. Allocated memory is still 109.1MB. Free memory was 76.5MB in the beginning and 75.8MB in the end (delta: 693.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:05,088 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, 21 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, 10 NumberOfCodeBlocks, 10 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, 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: 1566]: 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 1578, 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); [L1578] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1578] 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] [L1579] CALL CWE191_Integer_Underflow__int_rand_multiply_15_bad() [L1550] int data; [L1551] data = 0 [L1554] case 6: [L1554] case 6: [L1554] case 6: [L1555] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1554] case 6: [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)) 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] [L1563] case 7: 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] [L1566] data * 2 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.32ms. Allocated memory is still 83.9MB. Free memory is still 41.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1576.05ms. Allocated memory is still 109.1MB. Free memory was 80.2MB in the beginning and 64.0MB in the end (delta: 16.2MB). Peak memory consumption was 57.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 66.53ms. Allocated memory is still 109.1MB. Free memory was 64.0MB in the beginning and 61.2MB in the end (delta: 2.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 30.92ms. Allocated memory is still 109.1MB. Free memory was 61.2MB in the beginning and 60.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 1079.10ms. Allocated memory is still 109.1MB. Free memory was 60.0MB in the beginning and 72.4MB in the end (delta: -12.5MB). Peak memory consumption was 38.8MB. Max. memory is 16.1GB. * CodeCheck took 913.18ms. Allocated memory is still 109.1MB. Free memory was 72.4MB in the beginning and 76.5MB in the end (delta: -4.0MB). Peak memory consumption was 43.8MB. Max. memory is 16.1GB. * Witness Printer took 7.96ms. Allocated memory is still 109.1MB. Free memory was 76.5MB in the beginning and 75.8MB in the end (delta: 693.9kB). 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 22:26:05,132 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/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_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/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_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/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_b0109bd0-b52c-4324-b809-7652ffcb5527/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 cd252ccdd33cb28a72311bc5806e71daa7097df1d938c60a8b8ba00de5c4a768 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:26:08,213 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:26:08,360 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:26:08,446 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:26:08,448 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:26:08,448 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:26:08,449 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:26:08,449 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:26:08,450 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:26:08,450 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:26:08,452 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:26:08,453 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:26:08,453 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:26:08,453 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:26:08,454 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:26:08,454 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:26:08,454 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:26:08,454 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:26:08,454 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:26:08,454 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:26:08,454 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:26:08,454 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_b0109bd0-b52c-4324-b809-7652ffcb5527/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 -> cd252ccdd33cb28a72311bc5806e71daa7097df1d938c60a8b8ba00de5c4a768 [2024-11-13 22:26:08,886 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:26:08,895 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:26:08,898 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:26:08,899 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:26:08,900 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:26:08,901 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_bad.i Unable to find full path for "g++" [2024-11-13 22:26:11,330 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:26:11,790 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:26:11,791 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_15_bad.i [2024-11-13 22:26:11,826 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data/e5ba05843/9a4c62b3b6554a079c5d5c75f35fc5ac/FLAGdc2013267 [2024-11-13 22:26:11,848 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/data/e5ba05843/9a4c62b3b6554a079c5d5c75f35fc5ac [2024-11-13 22:26:11,851 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:26:11,853 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:26:11,855 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:26:11,855 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:26:11,860 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:26:11,862 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:26:11" (1/1) ... [2024-11-13 22:26:11,863 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6c14afde and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:11, skipping insertion in model container [2024-11-13 22:26:11,863 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:26:11" (1/1) ... [2024-11-13 22:26:11,948 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:26:13,244 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:26:13,260 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:26:13,428 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:26:13,634 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:26:13,635 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13 WrapperNode [2024-11-13 22:26:13,635 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:26:13,637 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:26:13,637 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:26:13,638 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:26:13,647 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,675 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,702 INFO L138 Inliner]: procedures = 502, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 93 [2024-11-13 22:26:13,703 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:26:13,704 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:26:13,704 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:26:13,704 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:26:13,717 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,717 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,721 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,722 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,731 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,734 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,736 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,738 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,741 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:26:13,742 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:26:13,742 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:26:13,743 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:26:13,744 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:26:13" (1/1) ... [2024-11-13 22:26:13,751 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:26:13,768 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:26:13,788 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:26:13,795 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:26:13,820 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:26:13,821 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:26:13,821 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:26:13,821 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:26:13,821 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:26:14,027 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:26:14,029 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:26:14,288 INFO L? ?]: Removed 35 outVars from TransFormulas that were not future-live. [2024-11-13 22:26:14,288 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:26:14,401 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:26:14,401 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:26:14,404 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:26:14 BoogieIcfgContainer [2024-11-13 22:26:14,404 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:26:14,405 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:26:14,405 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:26:14,417 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:26:14,418 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:26:14" (1/1) ... [2024-11-13 22:26:14,431 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:26:14,487 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:26:14,501 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 21 states and 28 transitions. [2024-11-13 22:26:14,501 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 28 transitions. [2024-11-13 22:26:14,506 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 22:26:14,507 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:26:14,507 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:26:14,508 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:26:14,511 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:26:14,515 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:26:14,827 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:14,828 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:26:14,934 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:15,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:15,049 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:26:15,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:26:15,115 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:26:15,120 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:26:15,156 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:26:15 ImpRootNode [2024-11-13 22:26:15,157 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:26:15,158 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:26:15,158 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:26:15,158 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:26:15,159 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:26:14" (3/4) ... [2024-11-13 22:26:15,162 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:26:15,163 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:26:15,164 INFO L158 Benchmark]: Toolchain (without parser) took 3311.33ms. Allocated memory is still 117.4MB. Free memory was 89.9MB in the beginning and 78.8MB in the end (delta: 11.0MB). Peak memory consumption was 16.2MB. Max. memory is 16.1GB. [2024-11-13 22:26:15,165 INFO L158 Benchmark]: CDTParser took 0.46ms. Allocated memory is still 117.4MB. Free memory was 84.8MB in the beginning and 84.7MB in the end (delta: 51.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:15,166 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1781.08ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 67.5MB in the end (delta: 22.1MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. [2024-11-13 22:26:15,166 INFO L158 Benchmark]: Boogie Procedure Inliner took 66.43ms. Allocated memory is still 117.4MB. Free memory was 67.5MB in the beginning and 65.0MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:15,167 INFO L158 Benchmark]: Boogie Preprocessor took 37.74ms. Allocated memory is still 117.4MB. Free memory was 64.5MB in the beginning and 63.0MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:15,167 INFO L158 Benchmark]: RCFGBuilder took 662.10ms. Allocated memory is still 117.4MB. Free memory was 63.0MB in the beginning and 45.2MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:26:15,168 INFO L158 Benchmark]: CodeCheck took 751.93ms. Allocated memory is still 117.4MB. Free memory was 44.7MB in the beginning and 78.9MB in the end (delta: -34.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:26:15,168 INFO L158 Benchmark]: Witness Printer took 5.57ms. Allocated memory is still 117.4MB. Free memory was 78.9MB in the beginning and 78.8MB in the end (delta: 35.5kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:26:15,171 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, 21 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, 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, 10 NumberOfCodeBlocks, 10 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, 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: 1566]: 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 1578. 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); [L1578] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1578] 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] [L1579] CALL CWE191_Integer_Underflow__int_rand_multiply_15_bad() [L1550] int data; [L1551] data = 0 [L1554] case 6: [L1554] case 6: [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)) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1563] case 7: VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1566] data * 2 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.46ms. Allocated memory is still 117.4MB. Free memory was 84.8MB in the beginning and 84.7MB in the end (delta: 51.3kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1781.08ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 67.5MB in the end (delta: 22.1MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 66.43ms. Allocated memory is still 117.4MB. Free memory was 67.5MB in the beginning and 65.0MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 37.74ms. Allocated memory is still 117.4MB. Free memory was 64.5MB in the beginning and 63.0MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 662.10ms. Allocated memory is still 117.4MB. Free memory was 63.0MB in the beginning and 45.2MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 751.93ms. Allocated memory is still 117.4MB. Free memory was 44.7MB in the beginning and 78.9MB in the end (delta: -34.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.57ms. Allocated memory is still 117.4MB. Free memory was 78.9MB in the beginning and 78.8MB in the end (delta: 35.5kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:26:15,210 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b0109bd0-b52c-4324-b809-7652ffcb5527/bin/ukojak-verify-EEHR8qb7sm/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 Result: UNKNOWN: Overapproximated counterexample