./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 527bcce2 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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2 --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.2.3-dev-527bcce [2023-11-21 18:29:52,883 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 18:29:52,998 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-21 18:29:53,007 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 18:29:53,008 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-21 18:29:53,063 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 18:29:53,065 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 18:29:53,066 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-21 18:29:53,067 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 18:29:53,074 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 18:29:53,075 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 18:29:53,076 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 18:29:53,077 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 18:29:53,079 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 18:29:53,080 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 18:29:53,080 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 18:29:53,081 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 18:29:53,081 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-21 18:29:53,082 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 18:29:53,083 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 18:29:53,083 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 18:29:53,084 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-21 18:29:53,085 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-21 18:29:53,086 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-21 18:29:53,086 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 18:29:53,087 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-21 18:29:53,088 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 18:29:53,088 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 18:29:53,089 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 18:29:53,089 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-21 18:29:53,091 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 18:29:53,092 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 18:29:53,092 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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2 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 [2023-11-21 18:29:53,419 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 18:29:53,450 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 18:29:53,453 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 18:29:53,455 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 18:29:53,456 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 18:29:53,457 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i [2023-11-21 18:29:57,034 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 18:29:57,500 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 18:29:57,501 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i [2023-11-21 18:29:57,535 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data/69da3e506/3b85df2ab3bb4e799d273a0b07d9f81e/FLAG014febace [2023-11-21 18:29:57,554 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data/69da3e506/3b85df2ab3bb4e799d273a0b07d9f81e [2023-11-21 18:29:57,557 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 18:29:57,559 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 18:29:57,561 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 18:29:57,562 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 18:29:57,569 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 18:29:57,570 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 06:29:57" (1/1) ... [2023-11-21 18:29:57,571 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7e3d6e45 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:57, skipping insertion in model container [2023-11-21 18:29:57,572 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 06:29:57" (1/1) ... [2023-11-21 18:29:57,667 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 18:29:58,184 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 18:29:58,912 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 18:29:58,923 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 18:29:58,953 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 18:29:59,030 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 18:29:59,174 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:29:59,175 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:29:59,175 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:29:59,175 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:29:59,176 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:29:59,184 INFO L206 MainTranslator]: Completed translation [2023-11-21 18:29:59,185 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59 WrapperNode [2023-11-21 18:29:59,185 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 18:29:59,186 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 18:29:59,187 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 18:29:59,187 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 18:29:59,195 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,245 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,276 INFO L138 Inliner]: procedures = 499, calls = 56, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 98 [2023-11-21 18:29:59,277 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 18:29:59,278 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 18:29:59,278 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 18:29:59,278 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 18:29:59,288 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,288 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,291 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,292 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,299 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,303 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,308 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,312 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,316 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-21 18:29:59,317 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-21 18:29:59,317 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-21 18:29:59,317 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-21 18:29:59,320 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:29:59" (1/1) ... [2023-11-21 18:29:59,332 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-21 18:29:59,345 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 [2023-11-21 18:29:59,362 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-21 18:29:59,390 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-21 18:29:59,413 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-21 18:29:59,415 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-21 18:29:59,415 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-21 18:29:59,416 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-21 18:29:59,416 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-21 18:29:59,416 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-21 18:29:59,416 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-21 18:29:59,634 INFO L240 CfgBuilder]: Building ICFG [2023-11-21 18:29:59,639 INFO L266 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-21 18:29:59,971 INFO L281 CfgBuilder]: Performing block encoding [2023-11-21 18:30:00,241 INFO L303 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-21 18:30:00,241 INFO L308 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-21 18:30:00,243 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:30:00 BoogieIcfgContainer [2023-11-21 18:30:00,243 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-21 18:30:00,245 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-21 18:30:00,245 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-21 18:30:00,257 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-21 18:30:00,257 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:30:00" (1/1) ... [2023-11-21 18:30:00,268 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-21 18:30:00,325 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:30:00,335 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2023-11-21 18:30:00,335 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2023-11-21 18:30:00,340 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-21 18:30:00,340 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:30:00,341 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:30:00,499 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:30:00,895 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:30:00,985 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:30:00,986 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2023-11-21 18:30:00,987 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2023-11-21 18:30:00,987 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-21 18:30:00,987 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:30:00,989 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:30:01,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:01,192 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-21 18:30:01,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:01,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:01,608 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-21 18:30:01,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:01,680 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2023-11-21 18:30:01,725 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ite109 could not be translated [2023-11-21 18:30:01,727 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ite109 could not be translated [2023-11-21 18:30:01,734 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 21.11 06:30:01 ImpRootNode [2023-11-21 18:30:01,734 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-21 18:30:01,735 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-21 18:30:01,736 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-21 18:30:01,736 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-21 18:30:01,737 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:30:00" (3/4) ... [2023-11-21 18:30:01,739 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-21 18:30:01,741 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-21 18:30:01,742 INFO L158 Benchmark]: Toolchain (without parser) took 4182.58ms. Allocated memory is still 190.8MB. Free memory was 140.3MB in the beginning and 146.9MB in the end (delta: -6.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 18:30:01,743 INFO L158 Benchmark]: CDTParser took 0.36ms. Allocated memory is still 125.8MB. Free memory is still 71.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 18:30:01,745 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1624.03ms. Allocated memory is still 190.8MB. Free memory was 140.3MB in the beginning and 78.6MB in the end (delta: 61.7MB). Peak memory consumption was 60.8MB. Max. memory is 16.1GB. [2023-11-21 18:30:01,746 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.57ms. Allocated memory is still 190.8MB. Free memory was 78.6MB in the beginning and 76.2MB in the end (delta: 2.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:30:01,747 INFO L158 Benchmark]: Boogie Preprocessor took 38.54ms. Allocated memory is still 190.8MB. Free memory was 76.2MB in the beginning and 74.4MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:30:01,749 INFO L158 Benchmark]: RCFGBuilder took 926.80ms. Allocated memory is still 190.8MB. Free memory was 74.4MB in the beginning and 128.3MB in the end (delta: -54.0MB). Peak memory consumption was 22.2MB. Max. memory is 16.1GB. [2023-11-21 18:30:01,749 INFO L158 Benchmark]: CodeCheck took 1489.67ms. Allocated memory is still 190.8MB. Free memory was 128.3MB in the beginning and 146.9MB in the end (delta: -18.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 18:30:01,750 INFO L158 Benchmark]: Witness Printer took 5.68ms. Allocated memory is still 190.8MB. Free memory is still 146.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 18:30:01,764 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.4s, 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 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, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={2:0}] [L1414] COND TRUE line != ((void *)0) [L1570] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=13, argc=13, argv={12:14}, 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, data=2147483647, 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.36ms. Allocated memory is still 125.8MB. Free memory is still 71.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1624.03ms. Allocated memory is still 190.8MB. Free memory was 140.3MB in the beginning and 78.6MB in the end (delta: 61.7MB). Peak memory consumption was 60.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.57ms. Allocated memory is still 190.8MB. Free memory was 78.6MB in the beginning and 76.2MB in the end (delta: 2.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.54ms. Allocated memory is still 190.8MB. Free memory was 76.2MB in the beginning and 74.4MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 926.80ms. Allocated memory is still 190.8MB. Free memory was 74.4MB in the beginning and 128.3MB in the end (delta: -54.0MB). Peak memory consumption was 22.2MB. Max. memory is 16.1GB. * CodeCheck took 1489.67ms. Allocated memory is still 190.8MB. Free memory was 128.3MB in the beginning and 146.9MB in the end (delta: -18.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.68ms. Allocated memory is still 190.8MB. Free memory is still 146.9MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ite109 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ite109 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-21 18:30:01,822 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/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/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2 --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.2.3-dev-527bcce [2023-11-21 18:30:04,907 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 18:30:05,073 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-21 18:30:05,149 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 18:30:05,150 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-21 18:30:05,152 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-21 18:30:05,153 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 18:30:05,154 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 18:30:05,155 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 18:30:05,162 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-21 18:30:05,162 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 18:30:05,163 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-21 18:30:05,163 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 18:30:05,166 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-21 18:30:05,166 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-21 18:30:05,167 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-21 18:30:05,167 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-21 18:30:05,168 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-21 18:30:05,168 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 18:30:05,169 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-21 18:30:05,169 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 18:30:05,171 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-21 18:30:05,171 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-21 18:30:05,172 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-21 18:30:05,172 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 18:30:05,173 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-21 18:30:05,173 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 18:30:05,174 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-21 18:30:05,174 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 18:30:05,175 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 18:30:05,177 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-21 18:30:05,177 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-21 18:30:05,177 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-21 18:30:05,178 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-21 18:30:05,178 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-21 18:30:05,179 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-21 18:30:05,179 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/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_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2 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 [2023-11-21 18:30:05,748 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 18:30:05,779 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 18:30:05,786 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 18:30:05,788 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 18:30:05,790 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 18:30:05,791 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i [2023-11-21 18:30:09,379 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 18:30:09,920 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 18:30:09,921 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_16_bad.i [2023-11-21 18:30:09,950 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data/dcef712e9/b73e7554a0dc49f080e0bb64e55bb5c7/FLAGfaa6b3a79 [2023-11-21 18:30:09,976 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/data/dcef712e9/b73e7554a0dc49f080e0bb64e55bb5c7 [2023-11-21 18:30:09,982 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 18:30:09,986 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 18:30:09,990 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 18:30:09,991 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 18:30:09,997 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 18:30:10,000 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 06:30:09" (1/1) ... [2023-11-21 18:30:10,002 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@44ca71a4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:10, skipping insertion in model container [2023-11-21 18:30:10,004 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 06:30:09" (1/1) ... [2023-11-21 18:30:10,083 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 18:30:10,670 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 18:30:11,405 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 18:30:11,426 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 18:30:11,464 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-21 18:30:11,531 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 18:30:11,722 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:30:11,722 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:30:11,723 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:30:11,723 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:30:11,723 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-21 18:30:11,732 INFO L206 MainTranslator]: Completed translation [2023-11-21 18:30:11,733 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11 WrapperNode [2023-11-21 18:30:11,733 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 18:30:11,735 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 18:30:11,735 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 18:30:11,735 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 18:30:11,743 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,778 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,811 INFO L138 Inliner]: procedures = 504, calls = 56, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 66 [2023-11-21 18:30:11,813 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 18:30:11,815 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 18:30:11,816 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 18:30:11,817 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 18:30:11,827 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,828 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,833 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,833 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,844 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,848 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,852 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,854 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,859 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-21 18:30:11,860 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-21 18:30:11,860 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-21 18:30:11,860 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-21 18:30:11,861 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:30:11" (1/1) ... [2023-11-21 18:30:11,868 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-21 18:30:11,884 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 [2023-11-21 18:30:11,900 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-21 18:30:11,911 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-21 18:30:11,949 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-21 18:30:11,949 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-21 18:30:11,950 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-21 18:30:11,950 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-21 18:30:11,950 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-21 18:30:11,950 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-21 18:30:11,950 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-21 18:30:12,116 INFO L240 CfgBuilder]: Building ICFG [2023-11-21 18:30:12,119 INFO L266 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-21 18:30:12,256 INFO L281 CfgBuilder]: Performing block encoding [2023-11-21 18:30:12,390 INFO L303 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-21 18:30:12,390 INFO L308 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-21 18:30:12,394 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:30:12 BoogieIcfgContainer [2023-11-21 18:30:12,394 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-21 18:30:12,395 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-21 18:30:12,396 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-21 18:30:12,407 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-21 18:30:12,407 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:30:12" (1/1) ... [2023-11-21 18:30:12,418 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-21 18:30:12,496 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:30:12,502 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2023-11-21 18:30:12,503 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2023-11-21 18:30:12,507 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-21 18:30:12,508 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:30:12,508 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-21 18:30:12,509 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 [2023-11-21 18:30:12,511 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-21 18:30:12,551 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-21 18:30:12,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:30:12,685 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-21 18:30:12,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:30:12,732 INFO L262 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-21 18:30:12,738 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-21 18:30:12,765 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:30:12,768 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-21 18:30:12,773 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-21 18:30:12,814 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:30:12,816 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2023-11-21 18:30:12,816 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2023-11-21 18:30:12,817 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-21 18:30:12,817 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:30:12,817 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-21 18:30:12,817 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 [2023-11-21 18:30:12,820 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-21 18:30:12,836 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-21 18:30:13,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:13,042 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-21 18:30:13,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:13,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:13,262 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-21 18:30:13,299 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-21 18:30:13,324 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-21 18:30:13,332 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-21 18:30:13,333 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2023-11-21 18:30:13,372 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated [2023-11-21 18:30:13,374 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated [2023-11-21 18:30:13,380 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 21.11 06:30:13 ImpRootNode [2023-11-21 18:30:13,380 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-21 18:30:13,381 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-21 18:30:13,381 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-21 18:30:13,381 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-21 18:30:13,382 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:30:12" (3/4) ... [2023-11-21 18:30:13,383 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-21 18:30:13,403 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated [2023-11-21 18:30:13,403 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated [2023-11-21 18:30:13,472 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/witness.graphml [2023-11-21 18:30:13,472 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-21 18:30:13,478 INFO L158 Benchmark]: Toolchain (without parser) took 3487.20ms. Allocated memory was 83.9MB in the beginning and 113.2MB in the end (delta: 29.4MB). Free memory was 56.1MB in the beginning and 77.0MB in the end (delta: -20.9MB). Peak memory consumption was 9.6MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,478 INFO L158 Benchmark]: CDTParser took 0.86ms. Allocated memory is still 83.9MB. Free memory was 59.4MB in the beginning and 59.3MB in the end (delta: 98.5kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,479 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1743.25ms. Allocated memory was 83.9MB in the beginning and 113.2MB in the end (delta: 29.4MB). Free memory was 55.9MB in the beginning and 62.6MB in the end (delta: -6.7MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,479 INFO L158 Benchmark]: Boogie Procedure Inliner took 78.71ms. Allocated memory is still 113.2MB. Free memory was 62.6MB in the beginning and 59.4MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,480 INFO L158 Benchmark]: Boogie Preprocessor took 43.91ms. Allocated memory is still 113.2MB. Free memory was 59.4MB in the beginning and 57.5MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,480 INFO L158 Benchmark]: RCFGBuilder took 534.62ms. Allocated memory is still 113.2MB. Free memory was 57.5MB in the beginning and 69.4MB in the end (delta: -11.9MB). Peak memory consumption was 6.8MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,481 INFO L158 Benchmark]: CodeCheck took 984.87ms. Allocated memory is still 113.2MB. Free memory was 69.4MB in the beginning and 79.8MB in the end (delta: -10.3MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 18:30:13,484 INFO L158 Benchmark]: Witness Printer took 91.26ms. Allocated memory is still 113.2MB. Free memory was 79.8MB in the beginning and 77.0MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:30:13,490 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.9s, 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, 38 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 - CounterExampleResult [Line: 1560]: integer overflow possible integer overflow possible We found a 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, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={2:0}] [L1414] COND TRUE line != ((void *)0) [L1570] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=0, argc=0, argv={0:0}, 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, data=2147483647, 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.86ms. Allocated memory is still 83.9MB. Free memory was 59.4MB in the beginning and 59.3MB in the end (delta: 98.5kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1743.25ms. Allocated memory was 83.9MB in the beginning and 113.2MB in the end (delta: 29.4MB). Free memory was 55.9MB in the beginning and 62.6MB in the end (delta: -6.7MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 78.71ms. Allocated memory is still 113.2MB. Free memory was 62.6MB in the beginning and 59.4MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 43.91ms. Allocated memory is still 113.2MB. Free memory was 59.4MB in the beginning and 57.5MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 534.62ms. Allocated memory is still 113.2MB. Free memory was 57.5MB in the beginning and 69.4MB in the end (delta: -11.9MB). Peak memory consumption was 6.8MB. Max. memory is 16.1GB. * CodeCheck took 984.87ms. Allocated memory is still 113.2MB. Free memory was 69.4MB in the beginning and 79.8MB in the end (delta: -10.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 91.26ms. Allocated memory is still 113.2MB. Free memory was 79.8MB in the beginning and 77.0MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ite103 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate proved your program to be incorrect! [2023-11-21 18:30:13,542 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7db0b64-4a4a-4738-a976-47bcf7d1c014/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(OVERFLOW)