./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/termination-memory-alloca/ex2-alloca.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/termination-memory-alloca/ex2-alloca.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash ca87d5b6e7140410b2e8ce037ac41ad7bce1b2fe06d88d0f44cab43110eea6f7 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:05:33,389 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:05:33,454 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 22:05:33,459 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 22:05:33,459 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 22:05:33,507 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:05:33,508 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:05:33,508 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:05:33,509 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:05:33,510 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:05:33,510 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:05:33,510 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:05:33,511 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 22:05:33,511 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:05:33,511 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:05:33,512 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:05:33,512 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:05:33,512 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:05:33,513 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:05:33,513 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:05:33,513 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:05:33,514 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:05:33,514 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:05:33,514 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:05:33,515 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:05:33,515 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:05:33,515 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:05:33,516 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:05:33,516 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:05:33,516 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:05:33,517 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 22:05:33,529 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 22:05:33,530 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_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> ca87d5b6e7140410b2e8ce037ac41ad7bce1b2fe06d88d0f44cab43110eea6f7 [2024-11-08 22:05:33,867 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:05:33,894 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:05:33,898 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:05:33,900 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:05:33,900 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:05:33,901 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/termination-memory-alloca/ex2-alloca.i Unable to find full path for "g++" [2024-11-08 22:05:35,913 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:05:36,213 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:05:36,214 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/sv-benchmarks/c/termination-memory-alloca/ex2-alloca.i [2024-11-08 22:05:36,234 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/data/a7fedeee0/4981cc0d9e3b417f96b33d1d9a8a1c98/FLAGcd80d7917 [2024-11-08 22:05:36,260 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/data/a7fedeee0/4981cc0d9e3b417f96b33d1d9a8a1c98 [2024-11-08 22:05:36,263 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:05:36,264 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:05:36,285 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:05:36,285 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:05:36,293 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:05:36,294 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,297 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7592486c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36, skipping insertion in model container [2024-11-08 22:05:36,298 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,364 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:05:36,729 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:05:36,741 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:05:36,814 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:05:36,854 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:05:36,854 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36 WrapperNode [2024-11-08 22:05:36,854 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:05:36,856 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:05:36,856 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:05:36,856 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:05:36,865 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,878 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,900 INFO L138 Inliner]: procedures = 111, calls = 40, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 134 [2024-11-08 22:05:36,900 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:05:36,901 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:05:36,901 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:05:36,901 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:05:36,912 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,912 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,915 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,916 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,926 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,931 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,932 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,936 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,941 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:05:36,942 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:05:36,942 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:05:36,942 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:05:36,947 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:05:36" (1/1) ... [2024-11-08 22:05:36,954 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:05:36,970 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:05:36,983 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:05:36,988 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:05:37,024 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-08 22:05:37,024 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-08 22:05:37,024 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-08 22:05:37,025 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-08 22:05:37,025 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:05:37,025 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:05:37,168 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:05:37,170 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:05:37,399 INFO L? ?]: Removed 41 outVars from TransFormulas that were not future-live. [2024-11-08 22:05:37,399 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:05:37,493 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:05:37,493 INFO L316 CfgBuilder]: Removed 1 assume(true) statements. [2024-11-08 22:05:37,494 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:05:37 BoogieIcfgContainer [2024-11-08 22:05:37,495 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:05:37,496 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:05:37,496 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:05:37,507 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:05:37,507 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:05:37" (1/1) ... [2024-11-08 22:05:37,517 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:05:37,564 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:05:37,569 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 24 states and 27 transitions. [2024-11-08 22:05:37,570 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 27 transitions. [2024-11-08 22:05:37,572 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2024-11-08 22:05:37,572 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:05:37,573 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:05:37,796 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-11-08 22:05:37,897 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:05:37,899 INFO L255 TraceCheckSpWp]: Trace formula consists of 102 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-11-08 22:05:37,905 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:05:38,199 INFO L349 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2024-11-08 22:05:38,201 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 29 treesize of output 25 [2024-11-08 22:05:38,231 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-08 22:05:38,332 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:05:38,333 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 23 states and 25 transitions. [2024-11-08 22:05:38,333 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 25 transitions. [2024-11-08 22:05:38,333 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 22:05:38,333 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:05:38,333 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:05:38,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-11-08 22:05:38,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:05:38,491 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:05:38,517 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:05:38,541 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-08 22:05:38,579 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:05:38 ImpRootNode [2024-11-08 22:05:38,579 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:05:38,580 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:05:38,580 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:05:38,580 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:05:38,581 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:05:37" (3/4) ... [2024-11-08 22:05:38,582 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-08 22:05:38,636 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/witness.graphml [2024-11-08 22:05:38,636 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:05:38,637 INFO L158 Benchmark]: Toolchain (without parser) took 2372.29ms. Allocated memory was 125.8MB in the beginning and 195.0MB in the end (delta: 69.2MB). Free memory was 60.8MB in the beginning and 155.6MB in the end (delta: -94.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:05:38,637 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 125.8MB. Free memory is still 98.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:05:38,638 INFO L158 Benchmark]: CACSL2BoogieTranslator took 570.14ms. Allocated memory is still 161.5MB. Free memory was 132.7MB in the beginning and 115.7MB in the end (delta: 17.0MB). Peak memory consumption was 17.1MB. Max. memory is 16.1GB. [2024-11-08 22:05:38,639 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.78ms. Allocated memory is still 161.5MB. Free memory was 115.7MB in the beginning and 113.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:05:38,639 INFO L158 Benchmark]: Boogie Preprocessor took 40.11ms. Allocated memory is still 161.5MB. Free memory was 113.6MB in the beginning and 112.1MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:05:38,640 INFO L158 Benchmark]: RCFGBuilder took 552.80ms. Allocated memory is still 161.5MB. Free memory was 112.1MB in the beginning and 112.4MB in the end (delta: -311.8kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-08 22:05:38,640 INFO L158 Benchmark]: CodeCheck took 1083.27ms. Allocated memory was 161.5MB in the beginning and 195.0MB in the end (delta: 33.6MB). Free memory was 112.4MB in the beginning and 157.7MB in the end (delta: -45.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:05:38,641 INFO L158 Benchmark]: Witness Printer took 56.38ms. Allocated memory is still 195.0MB. Free memory was 157.7MB in the beginning and 155.6MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:05:38,647 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 1 procedures, 24 locations, 8 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 7 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 2 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 13 IncrementalHoareTripleChecker+Invalid, 17 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 2 mSDtfsCounter, 13 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 36 GetRequests, 32 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 11 NumberOfCodeBlocks, 11 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 4 ConstructedInterpolants, 0 QuantifiedInterpolants, 48 SizeOfPredicates, 5 NumberOfNonLiveVariables, 102 ConjunctsInSsa, 6 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: 562]: integer overflow possible integer overflow possible We found a FailurePath: [L575] CALL test_fun(__VERIFIER_nondet_int(),__VERIFIER_nondet_int(),__VERIFIER_nondet_int(),__VERIFIER_nondet_int()) [L549] int* x_ref = __builtin_alloca (sizeof(int)); [L550] int* y_ref = __builtin_alloca (sizeof(int)); [L551] int* z_ref = __builtin_alloca (sizeof(int)); [L552] int* flag_ref = __builtin_alloca (sizeof(int)); [L553] int* c = __builtin_alloca (sizeof(int)); [L554] flag = 1 [L555] *x_ref = x [L556] *y_ref = y [L557] *z_ref = z [L558] *flag_ref = flag [L559] *c = 0 VAL [c={2:0}, flag_ref={3:0}, x_ref={4:0}, y_ref={7:0}, z_ref={5:0}] [L560] EXPR \read(*y_ref) [L560] EXPR \read(*z_ref) [L560] (*y_ref < *z_ref) && (*flag_ref > 0) [L560] EXPR \read(*flag_ref) [L560] (*y_ref < *z_ref) && (*flag_ref > 0) VAL [c={2:0}, flag_ref={3:0}, x_ref={4:0}, y_ref={7:0}, z_ref={5:0}] [L560] COND TRUE (*y_ref < *z_ref) && (*flag_ref > 0) [L561] EXPR \read(*y_ref) [L561] (*y_ref > 0) && (*x_ref > 1) [L561] EXPR \read(*x_ref) [L561] (*y_ref > 0) && (*x_ref > 1) VAL [c={2:0}, flag_ref={3:0}, x_ref={4:0}, y_ref={7:0}, z_ref={5:0}] [L561] COND TRUE (*y_ref > 0) && (*x_ref > 1) [L562] EXPR \read(*x_ref) [L562] EXPR \read(*y_ref) VAL [c={2:0}, flag_ref={3:0}, x_ref={4:0}, y_ref={7:0}, z_ref={5:0}] [L562] (*x_ref) * (*y_ref) VAL [c={2:0}, flag_ref={3:0}, x_ref={4:0}, y_ref={7:0}, z_ref={5:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32ms. Allocated memory is still 125.8MB. Free memory is still 98.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 570.14ms. Allocated memory is still 161.5MB. Free memory was 132.7MB in the beginning and 115.7MB in the end (delta: 17.0MB). Peak memory consumption was 17.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.78ms. Allocated memory is still 161.5MB. Free memory was 115.7MB in the beginning and 113.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 40.11ms. Allocated memory is still 161.5MB. Free memory was 113.6MB in the beginning and 112.1MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 552.80ms. Allocated memory is still 161.5MB. Free memory was 112.1MB in the beginning and 112.4MB in the end (delta: -311.8kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 1083.27ms. Allocated memory was 161.5MB in the beginning and 195.0MB in the end (delta: 33.6MB). Free memory was 112.4MB in the beginning and 157.7MB in the end (delta: -45.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 56.38ms. Allocated memory is still 195.0MB. Free memory was 157.7MB in the beginning and 155.6MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-08 22:05:38,689 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5608f7b9-109c-4865-afed-0145fa618933/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(OVERFLOW)