./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk --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 2649b1239dfd4d32a381247ed4f3ea4d3759b9bf4f4dfb0870461a76ea95d255 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:34:23,632 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:34:23,725 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 22:34:23,732 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 22:34:23,732 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 22:34:23,758 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:34:23,759 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:34:23,760 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:34:23,761 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:34:23,761 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:34:23,762 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:34:23,762 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:34:23,763 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 22:34:23,764 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:34:23,765 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:34:23,765 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:34:23,768 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:34:23,769 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:34:23,769 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:34:23,769 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:34:23,770 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:34:23,771 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:34:23,771 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:34:23,773 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:34:23,773 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:34:23,774 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:34:23,774 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:34:23,774 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:34:23,775 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:34:23,775 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:34:23,775 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 22:34:23,777 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 22:34:23,777 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk 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 -> 2649b1239dfd4d32a381247ed4f3ea4d3759b9bf4f4dfb0870461a76ea95d255 [2024-11-08 22:34:24,049 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:34:24,075 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:34:24,080 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:34:24,081 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:34:24,082 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:34:24,083 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i Unable to find full path for "g++" [2024-11-08 22:34:26,132 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:34:26,464 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:34:26,467 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i [2024-11-08 22:34:26,497 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data/f58783a2d/24eeb766edb64497a10a643abee9f6fb/FLAG25827c62a [2024-11-08 22:34:26,520 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data/f58783a2d/24eeb766edb64497a10a643abee9f6fb [2024-11-08 22:34:26,522 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:34:26,524 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:34:26,525 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:34:26,526 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:34:26,531 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:34:26,532 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:34:26" (1/1) ... [2024-11-08 22:34:26,535 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1599c61a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:26, skipping insertion in model container [2024-11-08 22:34:26,536 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:34:26" (1/1) ... [2024-11-08 22:34:26,616 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:34:27,591 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:34:27,602 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:34:27,721 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:34:27,869 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:34:27,869 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27 WrapperNode [2024-11-08 22:34:27,870 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:34:27,871 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:34:27,871 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:34:27,871 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:34:27,879 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,913 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,947 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 102 [2024-11-08 22:34:27,947 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:34:27,948 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:34:27,948 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:34:27,948 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:34:27,958 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,958 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,960 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,960 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,972 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,974 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,978 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,979 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,981 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:34:27,982 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:34:27,982 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:34:27,983 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:34:27,983 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:27" (1/1) ... [2024-11-08 22:34:27,989 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:34:28,001 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:34:28,019 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:34:28,032 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:34:28,063 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:34:28,063 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:34:28,063 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:34:28,063 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:34:28,063 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:34:28,232 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:34:28,235 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:34:28,509 INFO L? ?]: Removed 58 outVars from TransFormulas that were not future-live. [2024-11-08 22:34:28,513 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:34:28,841 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:34:28,843 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:34:28,843 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:34:28 BoogieIcfgContainer [2024-11-08 22:34:28,843 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:34:28,844 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:34:28,845 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:34:28,857 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:34:28,857 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:34:28" (1/1) ... [2024-11-08 22:34:28,871 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:34:28,935 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:34:28,946 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-08 22:34:28,947 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-08 22:34:28,951 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 22:34:28,951 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:34:28,952 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:34:29,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:29,257 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:34:29,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:29,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:29,462 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:34:29,493 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:29,516 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 22:34:29,551 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:34:29 ImpRootNode [2024-11-08 22:34:29,551 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:34:29,552 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:34:29,554 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:34:29,554 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:34:29,555 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:34:28" (3/4) ... [2024-11-08 22:34:29,558 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:34:29,561 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:34:29,563 INFO L158 Benchmark]: Toolchain (without parser) took 3038.68ms. Allocated memory was 144.7MB in the beginning and 176.2MB in the end (delta: 31.5MB). Free memory was 100.4MB in the beginning and 77.5MB in the end (delta: 23.0MB). Peak memory consumption was 55.2MB. Max. memory is 16.1GB. [2024-11-08 22:34:29,563 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 100.7MB. Free memory is still 52.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:34:29,565 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1344.80ms. Allocated memory is still 144.7MB. Free memory was 100.2MB in the beginning and 76.8MB in the end (delta: 23.4MB). Peak memory consumption was 45.7MB. Max. memory is 16.1GB. [2024-11-08 22:34:29,567 INFO L158 Benchmark]: Boogie Procedure Inliner took 76.57ms. Allocated memory is still 144.7MB. Free memory was 76.8MB in the beginning and 73.4MB in the end (delta: 3.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:34:29,568 INFO L158 Benchmark]: Boogie Preprocessor took 33.95ms. Allocated memory is still 144.7MB. Free memory was 73.4MB in the beginning and 72.0MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:34:29,569 INFO L158 Benchmark]: RCFGBuilder took 861.24ms. Allocated memory was 144.7MB in the beginning and 176.2MB in the end (delta: 31.5MB). Free memory was 72.0MB in the beginning and 115.2MB in the end (delta: -43.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 22:34:29,570 INFO L158 Benchmark]: CodeCheck took 707.30ms. Allocated memory is still 176.2MB. Free memory was 115.2MB in the beginning and 77.5MB in the end (delta: 37.8MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2024-11-08 22:34:29,571 INFO L158 Benchmark]: Witness Printer took 9.54ms. Allocated memory is still 176.2MB. Free memory is still 77.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:34:29,574 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: 1557]: 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 1552. 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_predec_31_bad() [L1550] int data; [L1551] data = 0 [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1552] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] int dataCopy = data; [L1555] int data = dataCopy; 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] --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.24ms. Allocated memory is still 100.7MB. Free memory is still 52.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1344.80ms. Allocated memory is still 144.7MB. Free memory was 100.2MB in the beginning and 76.8MB in the end (delta: 23.4MB). Peak memory consumption was 45.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 76.57ms. Allocated memory is still 144.7MB. Free memory was 76.8MB in the beginning and 73.4MB in the end (delta: 3.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 33.95ms. Allocated memory is still 144.7MB. Free memory was 73.4MB in the beginning and 72.0MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 861.24ms. Allocated memory was 144.7MB in the beginning and 176.2MB in the end (delta: 31.5MB). Free memory was 72.0MB in the beginning and 115.2MB in the end (delta: -43.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 707.30ms. Allocated memory is still 176.2MB. Free memory was 115.2MB in the beginning and 77.5MB in the end (delta: 37.8MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. * Witness Printer took 9.54ms. Allocated memory is still 176.2MB. Free memory is still 77.5MB. 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-08 22:34:29,618 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/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/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk --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 2649b1239dfd4d32a381247ed4f3ea4d3759b9bf4f4dfb0870461a76ea95d255 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:34:32,118 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:34:32,206 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 22:34:32,251 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:34:32,252 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:34:32,253 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:34:32,253 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:34:32,254 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:34:32,254 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:34:32,257 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:34:32,258 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:34:32,258 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:34:32,258 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:34:32,259 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:34:32,259 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 22:34:32,259 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 22:34:32,260 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:34:32,260 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:34:32,260 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 22:34:32,264 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:34:32,265 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:34:32,265 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:34:32,266 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:34:32,266 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:34:32,266 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:34:32,266 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:34:32,267 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 22:34:32,267 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:34:32,267 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:34:32,268 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:34:32,268 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:34:32,268 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:34:32,269 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 22:34:32,269 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:34:32,269 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 22:34:32,269 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk 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 -> 2649b1239dfd4d32a381247ed4f3ea4d3759b9bf4f4dfb0870461a76ea95d255 [2024-11-08 22:34:32,715 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:34:32,755 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:34:32,760 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:34:32,761 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:34:32,764 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:34:32,766 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i Unable to find full path for "g++" [2024-11-08 22:34:34,841 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:34:35,270 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:34:35,271 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_rand_predec_31_bad.i [2024-11-08 22:34:35,301 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data/f609d4390/056556cdf7a748daa349eddfd07f3866/FLAGbabf9fda1 [2024-11-08 22:34:35,419 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/data/f609d4390/056556cdf7a748daa349eddfd07f3866 [2024-11-08 22:34:35,421 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:34:35,423 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:34:35,424 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:34:35,425 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:34:35,430 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:34:35,431 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:34:35" (1/1) ... [2024-11-08 22:34:35,432 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@678ebf86 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:35, skipping insertion in model container [2024-11-08 22:34:35,432 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:34:35" (1/1) ... [2024-11-08 22:34:35,530 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:34:36,564 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:34:36,579 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:34:36,699 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:34:36,867 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:34:36,868 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36 WrapperNode [2024-11-08 22:34:36,869 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:34:36,873 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:34:36,873 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:34:36,873 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:34:36,882 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,918 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,951 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 62 [2024-11-08 22:34:36,951 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:34:36,952 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:34:36,952 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:34:36,953 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:34:36,962 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,963 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,966 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,967 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,979 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,981 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,987 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,990 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:36,994 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:34:36,996 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:34:36,996 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:34:36,996 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:34:36,997 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:34:36" (1/1) ... [2024-11-08 22:34:37,003 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:34:37,020 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:34:37,034 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:34:37,036 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:34:37,065 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:34:37,065 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:34:37,066 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:34:37,066 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:34:37,066 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:34:37,297 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:34:37,299 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:34:37,506 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-08 22:34:37,506 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:34:37,608 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:34:37,612 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:34:37,612 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:34:37 BoogieIcfgContainer [2024-11-08 22:34:37,612 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:34:37,613 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:34:37,615 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:34:37,625 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:34:37,626 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:34:37" (1/1) ... [2024-11-08 22:34:37,636 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:34:37,692 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:34:37,700 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-08 22:34:37,701 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-08 22:34:37,705 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 22:34:37,707 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:34:37,708 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:34:37,708 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:34:37,711 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:34:37,712 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 22:34:37,899 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:37,899 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:34:37,968 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:38,037 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:38,038 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:34:38,060 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:34:38,090 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 22:34:38,092 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 22:34:38,127 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:34:38 ImpRootNode [2024-11-08 22:34:38,128 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:34:38,129 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:34:38,131 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:34:38,131 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:34:38,132 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:34:37" (3/4) ... [2024-11-08 22:34:38,135 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:34:38,137 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:34:38,138 INFO L158 Benchmark]: Toolchain (without parser) took 2714.47ms. Allocated memory was 83.9MB in the beginning and 109.1MB in the end (delta: 25.2MB). Free memory was 38.3MB in the beginning and 59.5MB in the end (delta: -21.2MB). Peak memory consumption was 5.0MB. Max. memory is 16.1GB. [2024-11-08 22:34:38,139 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 83.9MB. Free memory is still 60.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:34:38,140 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1447.37ms. Allocated memory was 83.9MB in the beginning and 109.1MB in the end (delta: 25.2MB). Free memory was 38.1MB in the beginning and 66.9MB in the end (delta: -28.8MB). Peak memory consumption was 14.2MB. Max. memory is 16.1GB. [2024-11-08 22:34:38,141 INFO L158 Benchmark]: Boogie Procedure Inliner took 78.96ms. Allocated memory is still 109.1MB. Free memory was 66.9MB in the beginning and 63.9MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 22:34:38,142 INFO L158 Benchmark]: Boogie Preprocessor took 42.69ms. Allocated memory is still 109.1MB. Free memory was 63.9MB in the beginning and 61.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:34:38,142 INFO L158 Benchmark]: RCFGBuilder took 616.94ms. Allocated memory is still 109.1MB. Free memory was 61.8MB in the beginning and 75.0MB in the end (delta: -13.2MB). Peak memory consumption was 15.9MB. Max. memory is 16.1GB. [2024-11-08 22:34:38,144 INFO L158 Benchmark]: CodeCheck took 514.99ms. Allocated memory is still 109.1MB. Free memory was 74.2MB in the beginning and 59.5MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 22:34:38,144 INFO L158 Benchmark]: Witness Printer took 8.04ms. Allocated memory is still 109.1MB. Free memory was 59.5MB in the beginning and 59.5MB in the end (delta: 2.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:34:38,149 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.4s, 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: 1557]: 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_predec_31_bad() [L1550] int data; [L1551] data = 0 [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] int dataCopy = data; [L1555] int data = dataCopy; 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] --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.37ms. Allocated memory is still 83.9MB. Free memory is still 60.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1447.37ms. Allocated memory was 83.9MB in the beginning and 109.1MB in the end (delta: 25.2MB). Free memory was 38.1MB in the beginning and 66.9MB in the end (delta: -28.8MB). Peak memory consumption was 14.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 78.96ms. Allocated memory is still 109.1MB. Free memory was 66.9MB in the beginning and 63.9MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 42.69ms. Allocated memory is still 109.1MB. Free memory was 63.9MB in the beginning and 61.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 616.94ms. Allocated memory is still 109.1MB. Free memory was 61.8MB in the beginning and 75.0MB in the end (delta: -13.2MB). Peak memory consumption was 15.9MB. Max. memory is 16.1GB. * CodeCheck took 514.99ms. Allocated memory is still 109.1MB. Free memory was 74.2MB in the beginning and 59.5MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Witness Printer took 8.04ms. Allocated memory is still 109.1MB. Free memory was 59.5MB in the beginning and 59.5MB in the end (delta: 2.7kB). 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-08 22:34:38,194 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_cfc96ea2-3e8d-41c9-98ce-df6e5e7e8e28/bin/ukojak-verify-ImItNfHLgk/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