./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_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_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/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_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/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_b13b0281-8fa0-4eaf-811a-5912c2514160/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 dca09f5eab806f29bda4750c28d5244bbcefc09d71feee8b18c80a4f7f15f8db --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:19:10,085 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:19:10,163 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 20:19:10,170 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:19:10,171 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:19:10,217 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:19:10,218 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:19:10,220 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:19:10,220 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:19:10,221 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:19:10,221 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:19:10,222 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:19:10,223 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:19:10,223 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:19:10,223 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:19:10,223 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:19:10,223 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:19:10,223 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:19:10,224 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:19:10,224 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:19:10,224 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:19:10,225 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:19:10,225 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:19:10,225 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:19:10,225 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:19:10,225 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:19:10,226 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:19:10,226 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:19:10,226 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:19:10,227 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:19:10,227 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:19:10,227 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:19:10,227 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_b13b0281-8fa0-4eaf-811a-5912c2514160/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 -> dca09f5eab806f29bda4750c28d5244bbcefc09d71feee8b18c80a4f7f15f8db [2024-11-13 20:19:10,565 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:19:10,579 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:19:10,582 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:19:10,584 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:19:10,584 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:19:10,586 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i Unable to find full path for "g++" [2024-11-13 20:19:12,406 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:19:12,919 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:19:12,921 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i [2024-11-13 20:19:12,956 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data/d1e7f49f9/1d0fc1c1ae184b809e2cb8d116223471/FLAGf3ef59610 [2024-11-13 20:19:12,982 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data/d1e7f49f9/1d0fc1c1ae184b809e2cb8d116223471 [2024-11-13 20:19:12,985 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:19:12,988 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:19:12,990 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:19:12,990 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:19:13,001 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:19:13,002 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:19:12" (1/1) ... [2024-11-13 20:19:13,002 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1c456128 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:13, skipping insertion in model container [2024-11-13 20:19:13,003 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:19:12" (1/1) ... [2024-11-13 20:19:13,058 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:19:13,963 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:19:13,973 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:19:14,111 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:19:14,253 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:19:14,254 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14 WrapperNode [2024-11-13 20:19:14,254 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:19:14,255 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:19:14,255 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:19:14,255 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:19:14,259 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,276 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,296 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 107 [2024-11-13 20:19:14,296 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:19:14,297 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:19:14,297 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:19:14,297 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:19:14,304 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,304 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,306 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,307 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,311 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,314 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,316 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,317 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,319 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:19:14,319 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:19:14,319 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:19:14,319 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:19:14,324 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:14" (1/1) ... [2024-11-13 20:19:14,335 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:19:14,348 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:19:14,362 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:19:14,364 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:19:14,390 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:19:14,391 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:19:14,391 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:19:14,391 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:19:14,391 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:19:14,572 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:19:14,573 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:19:14,870 INFO L? ?]: Removed 55 outVars from TransFormulas that were not future-live. [2024-11-13 20:19:14,870 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:19:15,211 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:19:15,211 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 20:19:15,211 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:19:15 BoogieIcfgContainer [2024-11-13 20:19:15,211 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:19:15,212 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:19:15,212 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:19:15,223 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:19:15,224 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:19:15" (1/1) ... [2024-11-13 20:19:15,237 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:19:15,288 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:19:15,297 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 20:19:15,300 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 20:19:15,304 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 20:19:15,304 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:19:15,305 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:19:15,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:19:15,879 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 20:19:15,931 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:19:15,932 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2024-11-13 20:19:15,932 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2024-11-13 20:19:15,932 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:19:15,932 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:19:15,932 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:19:16,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:16,130 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:19:16,232 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:16,315 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:16,315 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:19:16,345 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:16,372 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 20:19:16,409 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:19:16 ImpRootNode [2024-11-13 20:19:16,410 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:19:16,412 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:19:16,412 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:19:16,412 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:19:16,412 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:19:15" (3/4) ... [2024-11-13 20:19:16,416 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:19:16,417 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:19:16,420 INFO L158 Benchmark]: Toolchain (without parser) took 3430.36ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 63.2MB in the end (delta: 52.7MB). Peak memory consumption was 49.8MB. Max. memory is 16.1GB. [2024-11-13 20:19:16,420 INFO L158 Benchmark]: CDTParser took 1.39ms. Allocated memory is still 142.6MB. Free memory is still 80.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:16,421 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1264.92ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 108.2MB in the end (delta: 7.8MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. [2024-11-13 20:19:16,424 INFO L158 Benchmark]: Boogie Procedure Inliner took 41.27ms. Allocated memory is still 142.6MB. Free memory was 108.2MB in the beginning and 105.7MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:16,424 INFO L158 Benchmark]: Boogie Preprocessor took 21.95ms. Allocated memory is still 142.6MB. Free memory was 105.6MB in the beginning and 104.4MB in the end (delta: 1.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:19:16,424 INFO L158 Benchmark]: RCFGBuilder took 892.19ms. Allocated memory is still 142.6MB. Free memory was 104.4MB in the beginning and 63.1MB in the end (delta: 41.3MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-13 20:19:16,425 INFO L158 Benchmark]: CodeCheck took 1197.96ms. Allocated memory is still 142.6MB. Free memory was 63.1MB in the beginning and 63.4MB in the end (delta: -332.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:16,425 INFO L158 Benchmark]: Witness Printer took 5.30ms. Allocated memory is still 142.6MB. Free memory was 63.4MB in the beginning and 63.2MB in the end (delta: 170.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:16,429 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: 1.1s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 13 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 8 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 7 IncrementalHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 6 mSDtfsCounter, 7 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 44 GetRequests, 42 SyntacticMatches, 0 SemanticMatches, 2 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.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 14 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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: 1560]: 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 1570, 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); [L1570] 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) [L1570] 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] [L1571] CALL CWE190_Integer_Overflow__int_rand_preinc_16_bad() [L1550] int data; [L1551] data = 0 [L1552] COND TRUE 1 [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)) [L1557] COND TRUE 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] ++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 1.39ms. Allocated memory is still 142.6MB. Free memory is still 80.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1264.92ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 108.2MB in the end (delta: 7.8MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 41.27ms. Allocated memory is still 142.6MB. Free memory was 108.2MB in the beginning and 105.7MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 21.95ms. Allocated memory is still 142.6MB. Free memory was 105.6MB in the beginning and 104.4MB in the end (delta: 1.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 892.19ms. Allocated memory is still 142.6MB. Free memory was 104.4MB in the beginning and 63.1MB in the end (delta: 41.3MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * CodeCheck took 1197.96ms. Allocated memory is still 142.6MB. Free memory was 63.1MB in the beginning and 63.4MB in the end (delta: -332.1kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.30ms. Allocated memory is still 142.6MB. Free memory was 63.4MB in the beginning and 63.2MB in the end (delta: 170.3kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 20:19:16,462 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally 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_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/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_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/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_b13b0281-8fa0-4eaf-811a-5912c2514160/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 dca09f5eab806f29bda4750c28d5244bbcefc09d71feee8b18c80a4f7f15f8db --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:19:19,077 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:19:19,166 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 20:19:19,219 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:19:19,220 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:19:19,221 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:19:19,221 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:19:19,225 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:19:19,225 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:19:19,225 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 20:19:19,226 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:19:19,227 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 20:19:19,227 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:19:19,227 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:19:19,227 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:19:19,228 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:19:19,228 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:19:19,228 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 20:19:19,228 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:19:19,228 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 20:19:19,229 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_b13b0281-8fa0-4eaf-811a-5912c2514160/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 -> dca09f5eab806f29bda4750c28d5244bbcefc09d71feee8b18c80a4f7f15f8db [2024-11-13 20:19:19,615 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:19:19,632 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:19:19,636 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:19:19,638 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:19:19,642 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:19:19,644 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i Unable to find full path for "g++" [2024-11-13 20:19:21,609 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:19:22,081 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:19:22,082 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i [2024-11-13 20:19:22,129 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data/c39ef28b7/cf1b74382697425eac39fc6bd3fd6d26/FLAGfdcef421e [2024-11-13 20:19:22,154 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/data/c39ef28b7/cf1b74382697425eac39fc6bd3fd6d26 [2024-11-13 20:19:22,157 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:19:22,159 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:19:22,162 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:19:22,163 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:19:22,169 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:19:22,170 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:19:22" (1/1) ... [2024-11-13 20:19:22,173 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d4c10ce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:22, skipping insertion in model container [2024-11-13 20:19:22,173 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:19:22" (1/1) ... [2024-11-13 20:19:22,257 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:19:23,232 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:19:23,247 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:19:23,347 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:19:23,507 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:19:23,507 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23 WrapperNode [2024-11-13 20:19:23,508 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:19:23,509 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:19:23,509 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:19:23,509 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:19:23,517 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,550 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,583 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 67 [2024-11-13 20:19:23,583 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:19:23,584 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:19:23,584 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:19:23,585 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:19:23,592 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,593 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,600 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,600 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,615 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,618 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,624 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,628 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,635 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:19:23,636 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:19:23,636 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:19:23,636 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:19:23,637 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:19:23" (1/1) ... [2024-11-13 20:19:23,651 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:19:23,672 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:19:23,686 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:19:23,693 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:19:23,719 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:19:23,719 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:19:23,720 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:19:23,720 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:19:23,720 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:19:23,929 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:19:23,931 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:19:24,102 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-13 20:19:24,103 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:19:24,178 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:19:24,178 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 20:19:24,179 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:19:24 BoogieIcfgContainer [2024-11-13 20:19:24,179 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:19:24,180 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:19:24,180 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:19:24,190 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:19:24,191 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:19:24" (1/1) ... [2024-11-13 20:19:24,199 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:19:24,245 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:19:24,256 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 20:19:24,256 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 20:19:24,261 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 20:19:24,261 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:19:24,262 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:19:24,262 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:19:24,265 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:19:24,267 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 20:19:24,463 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:19:24,465 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:19:24,498 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:19:24,500 INFO L255 TraceCheckSpWp]: Trace formula consists of 31 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 20:19:24,502 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:19:24,523 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 20:19:24,527 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-13 20:19:24,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:19:24,558 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2024-11-13 20:19:24,560 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2024-11-13 20:19:24,560 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:19:24,560 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:19:24,561 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:19:24,561 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:19:24,563 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:19:24,566 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 20:19:24,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:24,724 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:19:24,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:24,863 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:24,863 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:19:24,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:19:24,918 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 20:19:24,919 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 20:19:24,950 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:19:24 ImpRootNode [2024-11-13 20:19:24,951 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:19:24,951 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:19:24,952 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:19:24,952 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:19:24,952 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:19:24" (3/4) ... [2024-11-13 20:19:24,955 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:19:24,956 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:19:24,959 INFO L158 Benchmark]: Toolchain (without parser) took 2798.42ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 88.9MB in the beginning and 215.3MB in the end (delta: -126.5MB). Peak memory consumption was 16.1MB. Max. memory is 16.1GB. [2024-11-13 20:19:24,961 INFO L158 Benchmark]: CDTParser took 0.59ms. Allocated memory is still 117.4MB. Free memory is still 83.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:24,962 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1346.22ms. Allocated memory is still 117.4MB. Free memory was 88.7MB in the beginning and 67.1MB in the end (delta: 21.6MB). Peak memory consumption was 58.1MB. Max. memory is 16.1GB. [2024-11-13 20:19:24,962 INFO L158 Benchmark]: Boogie Procedure Inliner took 74.66ms. Allocated memory is still 117.4MB. Free memory was 67.1MB in the beginning and 64.0MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:24,963 INFO L158 Benchmark]: Boogie Preprocessor took 51.39ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.5MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:24,963 INFO L158 Benchmark]: RCFGBuilder took 543.05ms. Allocated memory is still 117.4MB. Free memory was 62.5MB in the beginning and 44.4MB in the end (delta: 18.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 20:19:24,963 INFO L158 Benchmark]: CodeCheck took 771.24ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 44.4MB in the beginning and 215.4MB in the end (delta: -171.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:24,963 INFO L158 Benchmark]: Witness Printer took 4.83ms. Allocated memory is still 260.0MB. Free memory was 215.4MB in the beginning and 215.3MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:19:24,965 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.7s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 16 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 1 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 4 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 1 mSolverCounterUnsat, 6 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 46 GetRequests, 46 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, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 0 NumberOfNonLiveVariables, 31 ConjunctsInSsa, 1 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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: 1560]: 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 1570. 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); [L1570] 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) [L1570] 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] [L1571] CALL CWE190_Integer_Overflow__int_rand_preinc_16_bad() [L1550] int data; [L1551] data = 0 [L1552] COND TRUE 1 [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)) [L1557] COND TRUE 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] ++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.59ms. Allocated memory is still 117.4MB. Free memory is still 83.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1346.22ms. Allocated memory is still 117.4MB. Free memory was 88.7MB in the beginning and 67.1MB in the end (delta: 21.6MB). Peak memory consumption was 58.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 74.66ms. Allocated memory is still 117.4MB. Free memory was 67.1MB in the beginning and 64.0MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 51.39ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.5MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 543.05ms. Allocated memory is still 117.4MB. Free memory was 62.5MB in the beginning and 44.4MB in the end (delta: 18.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 771.24ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 44.4MB in the beginning and 215.4MB in the end (delta: -171.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.83ms. Allocated memory is still 260.0MB. Free memory was 215.4MB in the beginning and 215.3MB 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 20:19:25,001 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b13b0281-8fa0-4eaf-811a-5912c2514160/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