./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_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_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/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_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/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_f4140355-9f49-409f-b756-70c44dbf298d/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 1961c4d1f9c145c1288b3656f173e58fdc3912fd4337f73fed3c3d72d011c676 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:46:44,391 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:46:44,452 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:46:44,457 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:46:44,459 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:46:44,497 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:46:44,499 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:46:44,500 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:46:44,500 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:46:44,501 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:46:44,501 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:46:44,502 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:46:44,502 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:46:44,502 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:46:44,502 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:46:44,502 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:46:44,503 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:46:44,503 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:46:44,503 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:46:44,503 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:46:44,504 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:46:44,504 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:46:44,504 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:46:44,504 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:46:44,504 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:46:44,504 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:46:44,505 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:44,505 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:46:44,505 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:46:44,505 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:46:44,505 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:46:44,506 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:46:44,506 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_f4140355-9f49-409f-b756-70c44dbf298d/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 -> 1961c4d1f9c145c1288b3656f173e58fdc3912fd4337f73fed3c3d72d011c676 [2024-11-13 21:46:44,823 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:46:44,832 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:46:44,834 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:46:44,836 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:46:44,836 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:46:44,838 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_bad.i Unable to find full path for "g++" [2024-11-13 21:46:46,784 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:46:47,212 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:46:47,213 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_bad.i [2024-11-13 21:46:47,247 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data/a8f388ad6/e263d66c0c8548a7b99bc8c9ab95bb68/FLAG61aac743f [2024-11-13 21:46:47,344 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data/a8f388ad6/e263d66c0c8548a7b99bc8c9ab95bb68 [2024-11-13 21:46:47,346 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:46:47,348 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:46:47,349 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:47,349 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:46:47,353 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:46:47,354 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:47" (1/1) ... [2024-11-13 21:46:47,355 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@ba21436 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:47, skipping insertion in model container [2024-11-13 21:46:47,355 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:47" (1/1) ... [2024-11-13 21:46:47,412 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:46:48,398 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:48,407 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:46:48,517 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:48,660 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:46:48,661 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48 WrapperNode [2024-11-13 21:46:48,661 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:48,662 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:48,662 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:46:48,662 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:46:48,669 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,688 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,709 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 89 [2024-11-13 21:46:48,709 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:48,710 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:46:48,710 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:46:48,710 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:46:48,717 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,717 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,720 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,720 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,724 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,726 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,728 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,729 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,731 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:46:48,731 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:46:48,731 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:46:48,732 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:46:48,732 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:48" (1/1) ... [2024-11-13 21:46:48,738 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:48,759 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:46:48,771 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:46:48,775 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:46:48,794 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:46:48,794 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:46:48,795 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:46:48,795 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:46:48,795 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:46:48,961 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:46:48,963 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:46:49,260 INFO L? ?]: Removed 58 outVars from TransFormulas that were not future-live. [2024-11-13 21:46:49,261 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:46:49,532 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:46:49,532 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:46:49,534 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:46:49 BoogieIcfgContainer [2024-11-13 21:46:49,534 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:46:49,535 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:46:49,535 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:46:49,548 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:46:49,548 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:46:49" (1/1) ... [2024-11-13 21:46:49,559 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:46:49,615 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:46:49,629 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 21:46:49,629 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 21:46:49,637 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:46:49,637 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:46:49,638 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:46:49,898 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:49,902 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:46:50,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:50,099 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:50,099 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:46:50,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:50,157 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 21:46:50,192 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:46:50 ImpRootNode [2024-11-13 21:46:50,192 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:46:50,194 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:46:50,195 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:46:50,195 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:46:50,196 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:46:49" (3/4) ... [2024-11-13 21:46:50,198 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:46:50,199 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:46:50,201 INFO L158 Benchmark]: Toolchain (without parser) took 2853.17ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 58.8MB in the end (delta: 32.0MB). Peak memory consumption was 32.9MB. Max. memory is 16.1GB. [2024-11-13 21:46:50,201 INFO L158 Benchmark]: CDTParser took 0.40ms. Allocated memory is still 167.8MB. Free memory is still 104.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:50,202 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1312.26ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 83.2MB in the end (delta: 7.6MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. [2024-11-13 21:46:50,202 INFO L158 Benchmark]: Boogie Procedure Inliner took 47.56ms. Allocated memory is still 117.4MB. Free memory was 83.2MB in the beginning and 80.9MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:50,202 INFO L158 Benchmark]: Boogie Preprocessor took 20.97ms. Allocated memory is still 117.4MB. Free memory was 80.9MB in the beginning and 79.9MB in the end (delta: 1.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:46:50,203 INFO L158 Benchmark]: RCFGBuilder took 803.06ms. Allocated memory is still 117.4MB. Free memory was 79.3MB in the beginning and 42.8MB in the end (delta: 36.5MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 21:46:50,206 INFO L158 Benchmark]: CodeCheck took 656.90ms. Allocated memory is still 117.4MB. Free memory was 42.8MB in the beginning and 59.5MB in the end (delta: -16.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:50,206 INFO L158 Benchmark]: Witness Printer took 5.60ms. Allocated memory is still 117.4MB. Free memory was 59.5MB in the beginning and 58.8MB in the end (delta: 676.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:50,208 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, 14 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, 7 NumberOfCodeBlocks, 7 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 1566, overapproximation of bitwiseOr at line 1554. 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); [L1566] 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) [L1566] 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] [L1567] CALL CWE191_Integer_Underflow__int_rand_multiply_18_bad() [L1550] int data; [L1551] data = 0 [L1554] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1554] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1554] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1554] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1554] 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] [L1557] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1559] 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.40ms. Allocated memory is still 167.8MB. Free memory is still 104.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1312.26ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 83.2MB in the end (delta: 7.6MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 47.56ms. Allocated memory is still 117.4MB. Free memory was 83.2MB in the beginning and 80.9MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 20.97ms. Allocated memory is still 117.4MB. Free memory was 80.9MB in the beginning and 79.9MB in the end (delta: 1.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 803.06ms. Allocated memory is still 117.4MB. Free memory was 79.3MB in the beginning and 42.8MB in the end (delta: 36.5MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * CodeCheck took 656.90ms. Allocated memory is still 117.4MB. Free memory was 42.8MB in the beginning and 59.5MB in the end (delta: -16.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.60ms. Allocated memory is still 117.4MB. Free memory was 59.5MB in the beginning and 58.8MB in the end (delta: 676.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 21:46:50,249 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/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_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/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_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/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_f4140355-9f49-409f-b756-70c44dbf298d/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 1961c4d1f9c145c1288b3656f173e58fdc3912fd4337f73fed3c3d72d011c676 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:46:53,039 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:46:53,144 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 21:46:53,172 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:46:53,173 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:46:53,173 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:46:53,174 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:46:53,174 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:46:53,174 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:46:53,175 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:46:53,177 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:46:53,177 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:46:53,177 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:46:53,177 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:46:53,177 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:46:53,177 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:46:53,178 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:46:53,178 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:46:53,178 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:46:53,178 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:46:53,178 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:46:53,178 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:46:53,178 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:53,179 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:46:53,179 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:46:53,179 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:46:53,179 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:46:53,179 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:46:53,179 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:46:53,179 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_f4140355-9f49-409f-b756-70c44dbf298d/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 -> 1961c4d1f9c145c1288b3656f173e58fdc3912fd4337f73fed3c3d72d011c676 [2024-11-13 21:46:53,504 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:46:53,511 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:46:53,514 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:46:53,515 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:46:53,515 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:46:53,517 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_bad.i Unable to find full path for "g++" [2024-11-13 21:46:55,621 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:46:56,127 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:46:56,132 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_multiply_18_bad.i [2024-11-13 21:46:56,162 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data/9f10d5ccf/3ed2901d04534a93ab6505b5ad7b22ac/FLAG6c82d3b5e [2024-11-13 21:46:56,182 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/data/9f10d5ccf/3ed2901d04534a93ab6505b5ad7b22ac [2024-11-13 21:46:56,184 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:46:56,186 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:46:56,188 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:56,188 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:46:56,193 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:46:56,194 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:56" (1/1) ... [2024-11-13 21:46:56,195 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4cb8fc71 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:56, skipping insertion in model container [2024-11-13 21:46:56,195 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:46:56" (1/1) ... [2024-11-13 21:46:56,257 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:46:57,282 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:57,294 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:46:57,424 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:46:57,591 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:46:57,592 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57 WrapperNode [2024-11-13 21:46:57,592 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:46:57,593 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:57,593 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:46:57,594 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:46:57,604 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,639 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,675 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 53 [2024-11-13 21:46:57,675 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:46:57,676 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:46:57,676 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:46:57,676 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:46:57,684 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,685 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,692 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,692 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,706 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,711 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,717 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,718 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,725 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:46:57,726 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:46:57,726 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:46:57,726 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:46:57,728 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:46:57" (1/1) ... [2024-11-13 21:46:57,737 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:46:57,754 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:46:57,769 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:46:57,776 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:46:57,805 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:46:57,806 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:46:57,806 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:46:57,806 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:46:57,806 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:46:57,995 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:46:57,997 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:46:58,141 INFO L? ?]: Removed 30 outVars from TransFormulas that were not future-live. [2024-11-13 21:46:58,142 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:46:58,228 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:46:58,228 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:46:58,229 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:46:58 BoogieIcfgContainer [2024-11-13 21:46:58,229 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:46:58,229 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:46:58,230 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:46:58,240 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:46:58,240 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:46:58" (1/1) ... [2024-11-13 21:46:58,248 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:46:58,294 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:46:58,305 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 21:46:58,305 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 21:46:58,309 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:46:58,309 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:46:58,311 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:46:58,311 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:46:58,315 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:46:58,319 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:46:58,553 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:58,553 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:46:58,612 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:58,745 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:58,745 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:46:58,769 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:46:58,804 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:46:58,805 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 21:46:58,841 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:46:58 ImpRootNode [2024-11-13 21:46:58,842 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:46:58,842 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:46:58,842 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:46:58,843 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:46:58,843 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:46:58" (3/4) ... [2024-11-13 21:46:58,847 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:46:58,848 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:46:58,851 INFO L158 Benchmark]: Toolchain (without parser) took 2663.20ms. Allocated memory was 117.4MB in the beginning and 234.9MB in the end (delta: 117.4MB). Free memory was 89.7MB in the beginning and 199.7MB in the end (delta: -109.9MB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. [2024-11-13 21:46:58,852 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 117.4MB. Free memory is still 85.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:58,852 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1405.05ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 68.5MB in the end (delta: 21.1MB). Peak memory consumption was 58.1MB. Max. memory is 16.1GB. [2024-11-13 21:46:58,852 INFO L158 Benchmark]: Boogie Procedure Inliner took 82.52ms. Allocated memory is still 117.4MB. Free memory was 68.5MB in the beginning and 65.8MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:58,853 INFO L158 Benchmark]: Boogie Preprocessor took 49.43ms. Allocated memory is still 117.4MB. Free memory was 65.8MB in the beginning and 63.8MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:58,853 INFO L158 Benchmark]: RCFGBuilder took 502.55ms. Allocated memory is still 117.4MB. Free memory was 63.8MB in the beginning and 46.7MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:46:58,854 INFO L158 Benchmark]: CodeCheck took 612.27ms. Allocated memory was 117.4MB in the beginning and 234.9MB in the end (delta: 117.4MB). Free memory was 46.7MB in the beginning and 199.7MB in the end (delta: -153.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:58,854 INFO L158 Benchmark]: Witness Printer took 5.92ms. Allocated memory is still 234.9MB. Free memory was 199.7MB in the beginning and 199.7MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:46:58,860 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, 14 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, 7 NumberOfCodeBlocks, 7 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 1566. 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); [L1566] 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) [L1566] 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] [L1567] CALL CWE191_Integer_Underflow__int_rand_multiply_18_bad() [L1550] int data; [L1551] data = 0 [L1554] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1554] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1554] 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=-1073774592, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1557] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073774592, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1559] 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.31ms. Allocated memory is still 117.4MB. Free memory is still 85.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1405.05ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 68.5MB in the end (delta: 21.1MB). Peak memory consumption was 58.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 82.52ms. Allocated memory is still 117.4MB. Free memory was 68.5MB in the beginning and 65.8MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 49.43ms. Allocated memory is still 117.4MB. Free memory was 65.8MB in the beginning and 63.8MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 502.55ms. Allocated memory is still 117.4MB. Free memory was 63.8MB in the beginning and 46.7MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 612.27ms. Allocated memory was 117.4MB in the beginning and 234.9MB in the end (delta: 117.4MB). Free memory was 46.7MB in the beginning and 199.7MB in the end (delta: -153.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.92ms. Allocated memory is still 234.9MB. Free memory was 199.7MB in the beginning and 199.7MB in the end (delta: 42.6kB). 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 21:46:58,895 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f4140355-9f49-409f-b756-70c44dbf298d/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