./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_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_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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_b1ca2785-db03-4068-a014-6b41408a331b/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 859d586f3554689b3afe31eff4b970ea908eb1b9e630b17b4d6babe089c9ea31 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:22:52,774 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:22:52,866 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:22:52,874 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:22:52,876 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:22:52,902 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:22:52,905 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:22:52,905 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:22:52,905 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:22:52,906 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:22:52,906 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:22:52,906 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:22:52,906 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:22:52,906 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:22:52,906 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:22:52,907 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:22:52,908 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:22:52,908 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:22:52,908 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:22:52,908 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:22:52,908 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:22:52,909 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:22:52,909 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:22:52,909 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:22:52,909 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:22:52,909 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:22:52,909 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_b1ca2785-db03-4068-a014-6b41408a331b/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 -> 859d586f3554689b3afe31eff4b970ea908eb1b9e630b17b4d6babe089c9ea31 [2024-11-13 22:22:53,240 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:22:53,250 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:22:53,256 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:22:53,257 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:22:53,258 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:22:53,262 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_bad.i Unable to find full path for "g++" [2024-11-13 22:22:55,149 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:22:55,597 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:22:55,597 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_bad.i [2024-11-13 22:22:55,626 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data/1f0ff12b5/9b3440a4bc6f411e923956d58bcf8cd6/FLAG60a09c01f [2024-11-13 22:22:55,724 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data/1f0ff12b5/9b3440a4bc6f411e923956d58bcf8cd6 [2024-11-13 22:22:55,727 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:22:55,728 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:22:55,730 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:22:55,730 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:22:55,734 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:22:55,735 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:22:55" (1/1) ... [2024-11-13 22:22:55,736 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@299482ed and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:55, skipping insertion in model container [2024-11-13 22:22:55,736 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:22:55" (1/1) ... [2024-11-13 22:22:55,809 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:22:56,838 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:22:56,845 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:22:56,935 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:22:57,075 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:22:57,077 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57 WrapperNode [2024-11-13 22:22:57,078 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:22:57,079 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:22:57,079 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:22:57,079 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:22:57,089 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:22:57" (1/1) ... [2024-11-13 22:22:57,118 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:22:57" (1/1) ... [2024-11-13 22:22:57,142 INFO L138 Inliner]: procedures = 498, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 106 [2024-11-13 22:22:57,143 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:22:57,143 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:22:57,143 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:22:57,143 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:22:57,151 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,151 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,154 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,154 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,159 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,161 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,163 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,164 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,166 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:22:57,167 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:22:57,167 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:22:57,167 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:22:57,168 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,174 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:22:57,188 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:22:57,202 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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:22:57,204 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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:22:57,224 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:22:57,224 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:22:57,224 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:22:57,224 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:22:57,224 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:22:57,370 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:22:57,371 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:22:57,607 INFO L? ?]: Removed 61 outVars from TransFormulas that were not future-live. [2024-11-13 22:22:57,607 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:22:57,811 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:22:57,812 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:22:57,812 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:22:57 BoogieIcfgContainer [2024-11-13 22:22:57,812 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:22:57,813 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:22:57,813 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:22:57,824 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:22:57,825 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:22:57" (1/1) ... [2024-11-13 22:22:57,836 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:22:57,883 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:22:57,894 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:22:57,895 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:22:57,899 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:22:57,899 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:22:57,900 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:22:58,164 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:22:58,165 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:22:58,319 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:22:58,411 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:22:58,411 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:22:58,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:22:58,468 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:22:58,507 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:22:58 ImpRootNode [2024-11-13 22:22:58,507 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:22:58,508 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:22:58,508 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:22:58,508 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:22:58,509 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:22:57" (3/4) ... [2024-11-13 22:22:58,514 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:22:58,515 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:22:58,516 INFO L158 Benchmark]: Toolchain (without parser) took 2787.79ms. Allocated memory is still 142.6MB. Free memory was 116.2MB in the beginning and 52.1MB in the end (delta: 64.1MB). Peak memory consumption was 64.3MB. Max. memory is 16.1GB. [2024-11-13 22:22:58,516 INFO L158 Benchmark]: CDTParser took 0.48ms. Allocated memory is still 167.8MB. Free memory is still 104.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:22:58,517 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1348.71ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 56.1MB in the end (delta: 59.7MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2024-11-13 22:22:58,517 INFO L158 Benchmark]: Boogie Procedure Inliner took 63.81ms. Allocated memory is still 142.6MB. Free memory was 56.1MB in the beginning and 53.2MB in the end (delta: 3.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:22:58,518 INFO L158 Benchmark]: Boogie Preprocessor took 22.85ms. Allocated memory is still 142.6MB. Free memory was 53.2MB in the beginning and 52.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:22:58,521 INFO L158 Benchmark]: RCFGBuilder took 645.40ms. Allocated memory is still 142.6MB. Free memory was 52.0MB in the beginning and 82.9MB in the end (delta: -30.9MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. [2024-11-13 22:22:58,521 INFO L158 Benchmark]: CodeCheck took 694.62ms. Allocated memory is still 142.6MB. Free memory was 82.9MB in the beginning and 52.1MB in the end (delta: 30.8MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 22:22:58,521 INFO L158 Benchmark]: Witness Printer took 7.08ms. Allocated memory is still 142.6MB. Free memory is still 52.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:22:58,524 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.6s, 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: 1559]: 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 1567, overapproximation of bitwiseOr at line 1550. 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); [L1567] 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) [L1567] 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] [L1568] CALL CWE191_Integer_Underflow__int_rand_postdec_42_bad() [L1555] int data; [L1556] data = 0 [L1557] CALL, EXPR badSource(data) [L1550] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1550] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1550] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1550] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1550] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1551] return data; [L1557] RET, EXPR badSource(data) [L1557] data = badSource(data) [L1559] 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.48ms. Allocated memory is still 167.8MB. Free memory is still 104.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1348.71ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 56.1MB in the end (delta: 59.7MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 63.81ms. Allocated memory is still 142.6MB. Free memory was 56.1MB in the beginning and 53.2MB in the end (delta: 3.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 22.85ms. Allocated memory is still 142.6MB. Free memory was 53.2MB in the beginning and 52.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 645.40ms. Allocated memory is still 142.6MB. Free memory was 52.0MB in the beginning and 82.9MB in the end (delta: -30.9MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. * CodeCheck took 694.62ms. Allocated memory is still 142.6MB. Free memory was 82.9MB in the beginning and 52.1MB in the end (delta: 30.8MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Witness Printer took 7.08ms. Allocated memory is still 142.6MB. Free memory is still 52.1MB. 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:22:58,560 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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_b1ca2785-db03-4068-a014-6b41408a331b/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 859d586f3554689b3afe31eff4b970ea908eb1b9e630b17b4d6babe089c9ea31 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:23:01,241 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:23:01,372 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:23:01,416 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:23:01,417 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:23:01,417 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:23:01,419 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:23:01,419 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:23:01,420 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:23:01,420 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:23:01,420 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:23:01,420 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:23:01,420 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:23:01,421 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:23:01,421 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:23:01,421 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:23:01,422 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:23:01,422 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:23:01,422 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:23:01,422 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:23:01,422 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:23:01,423 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:23:01,423 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:23:01,423 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:23:01,423 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:23:01,423 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:23:01,423 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:23:01,423 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:23:01,424 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:23:01,424 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:23:01,424 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:23:01,424 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:23:01,424 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:23:01,424 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:23:01,424 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:23:01,424 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_b1ca2785-db03-4068-a014-6b41408a331b/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 -> 859d586f3554689b3afe31eff4b970ea908eb1b9e630b17b4d6babe089c9ea31 [2024-11-13 22:23:01,763 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:23:01,774 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:23:01,777 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:23:01,780 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:23:01,780 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:23:01,785 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_bad.i Unable to find full path for "g++" [2024-11-13 22:23:03,683 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:23:04,210 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:23:04,211 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_postdec_42_bad.i [2024-11-13 22:23:04,235 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data/d3cf0f34e/b32bca5618044a79a85d3061cb38e499/FLAG6c1852c6f [2024-11-13 22:23:04,279 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/data/d3cf0f34e/b32bca5618044a79a85d3061cb38e499 [2024-11-13 22:23:04,282 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:23:04,283 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:23:04,286 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:23:04,288 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:23:04,293 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:23:04,294 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:23:04" (1/1) ... [2024-11-13 22:23:04,295 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2c4fb04f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:04, skipping insertion in model container [2024-11-13 22:23:04,295 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:23:04" (1/1) ... [2024-11-13 22:23:04,359 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:23:05,265 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:23:05,278 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:23:05,390 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:23:05,537 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:23:05,537 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05 WrapperNode [2024-11-13 22:23:05,538 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:23:05,539 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:23:05,539 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:23:05,539 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:23:05,545 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:23:05" (1/1) ... [2024-11-13 22:23:05,568 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:23:05" (1/1) ... [2024-11-13 22:23:05,588 INFO L138 Inliner]: procedures = 503, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 65 [2024-11-13 22:23:05,589 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:23:05,589 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:23:05,589 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:23:05,590 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:23:05,597 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,597 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,600 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,600 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,613 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,615 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,617 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,618 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,621 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:23:05,622 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:23:05,622 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:23:05,622 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:23:05,624 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:23:05" (1/1) ... [2024-11-13 22:23:05,628 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:23:05,638 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:23:05,649 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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:23:05,653 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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:23:05,677 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:23:05,677 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:23:05,677 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:23:05,677 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:23:05,677 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:23:05,837 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:23:05,840 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:23:05,998 INFO L? ?]: Removed 32 outVars from TransFormulas that were not future-live. [2024-11-13 22:23:05,998 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:23:06,062 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:23:06,062 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:23:06,063 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:23:06 BoogieIcfgContainer [2024-11-13 22:23:06,063 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:23:06,063 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:23:06,064 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:23:06,074 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:23:06,075 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:23:06" (1/1) ... [2024-11-13 22:23:06,083 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:23:06,123 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:23:06,132 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:23:06,133 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:23:06,137 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:23:06,137 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:23:06,138 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:23:06,138 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:23:06,141 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:23:06,143 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:23:06,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:23:06,362 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:23:06,449 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:23:06,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:23:06,558 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:23:06,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:23:06,614 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:23:06,615 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:23:06,652 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:23:06 ImpRootNode [2024-11-13 22:23:06,652 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:23:06,653 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:23:06,654 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:23:06,654 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:23:06,656 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:23:06" (3/4) ... [2024-11-13 22:23:06,658 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:23:06,659 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:23:06,662 INFO L158 Benchmark]: Toolchain (without parser) took 2376.91ms. Allocated memory is still 117.4MB. Free memory was 91.9MB in the beginning and 80.7MB in the end (delta: 11.3MB). Peak memory consumption was 12.3MB. Max. memory is 16.1GB. [2024-11-13 22:23:06,663 INFO L158 Benchmark]: CDTParser took 3.99ms. Allocated memory is still 83.9MB. Free memory is still 49.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:23:06,664 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1251.72ms. Allocated memory is still 117.4MB. Free memory was 91.7MB in the beginning and 80.2MB in the end (delta: 11.5MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. [2024-11-13 22:23:06,664 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.25ms. Allocated memory is still 117.4MB. Free memory was 80.2MB in the beginning and 77.4MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:23:06,666 INFO L158 Benchmark]: Boogie Preprocessor took 32.12ms. Allocated memory is still 117.4MB. Free memory was 77.4MB in the beginning and 75.4MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:23:06,667 INFO L158 Benchmark]: RCFGBuilder took 440.65ms. Allocated memory is still 117.4MB. Free memory was 75.4MB in the beginning and 57.7MB in the end (delta: 17.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:23:06,667 INFO L158 Benchmark]: CodeCheck took 589.34ms. Allocated memory is still 117.4MB. Free memory was 57.7MB in the beginning and 80.7MB in the end (delta: -22.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:23:06,668 INFO L158 Benchmark]: Witness Printer took 6.10ms. Allocated memory is still 117.4MB. Free memory was 80.7MB in the beginning and 80.7MB in the end (delta: 28.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:23:06,670 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: 1559]: 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 1567. 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); [L1567] 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) [L1567] 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] [L1568] CALL CWE191_Integer_Underflow__int_rand_postdec_42_bad() [L1555] int data; [L1556] data = 0 [L1557] CALL, EXPR badSource(data) [L1550] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1550] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1550] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1551] return data; [L1557] RET, EXPR badSource(data) [L1557] data = badSource(data) [L1559] 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 3.99ms. Allocated memory is still 83.9MB. Free memory is still 49.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1251.72ms. Allocated memory is still 117.4MB. Free memory was 91.7MB in the beginning and 80.2MB in the end (delta: 11.5MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.25ms. Allocated memory is still 117.4MB. Free memory was 80.2MB in the beginning and 77.4MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 32.12ms. Allocated memory is still 117.4MB. Free memory was 77.4MB in the beginning and 75.4MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 440.65ms. Allocated memory is still 117.4MB. Free memory was 75.4MB in the beginning and 57.7MB in the end (delta: 17.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 589.34ms. Allocated memory is still 117.4MB. Free memory was 57.7MB in the beginning and 80.7MB in the end (delta: -22.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.10ms. Allocated memory is still 117.4MB. Free memory was 80.7MB in the beginning and 80.7MB in the end (delta: 28.0kB). 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:23:06,703 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b1ca2785-db03-4068-a014-6b41408a331b/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