./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/termination-recursive-malloc/chunk3.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 30e01a73 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_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/config/KojakReach.xml -i ../../sv-benchmarks/c/termination-recursive-malloc/chunk3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC --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 19fa5e5331bf5f5328e727d3adbf080a08b9ec2fa548b9c0eb2f35cc19738b3d --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 20:20:21,418 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 20:20:21,497 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-23 20:20:21,502 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 20:20:21,503 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-23 20:20:21,527 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 20:20:21,528 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 20:20:21,529 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-23 20:20:21,530 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 20:20:21,531 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 20:20:21,532 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 20:20:21,532 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 20:20:21,533 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 20:20:21,534 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 20:20:21,534 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 20:20:21,535 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 20:20:21,536 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 20:20:21,536 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 20:20:21,537 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 20:20:21,537 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 20:20:21,538 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 20:20:21,539 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-23 20:20:21,539 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-23 20:20:21,540 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-23 20:20:21,540 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 20:20:21,541 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:20:21,541 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 20:20:21,542 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 20:20:21,542 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 20:20:21,543 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-23 20:20:21,544 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 20:20:21,544 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 20:20:21,545 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_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/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_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC 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 -> 19fa5e5331bf5f5328e727d3adbf080a08b9ec2fa548b9c0eb2f35cc19738b3d [2023-11-23 20:20:21,854 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 20:20:21,889 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 20:20:21,892 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 20:20:21,895 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 20:20:21,896 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 20:20:21,897 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/../../sv-benchmarks/c/termination-recursive-malloc/chunk3.i [2023-11-23 20:20:25,181 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 20:20:25,447 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 20:20:25,447 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/sv-benchmarks/c/termination-recursive-malloc/chunk3.i [2023-11-23 20:20:25,460 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/data/a90d05eec/c2c4099bca3c48faaccdc8a223119b15/FLAGd2e4a113a [2023-11-23 20:20:25,482 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/data/a90d05eec/c2c4099bca3c48faaccdc8a223119b15 [2023-11-23 20:20:25,491 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 20:20:25,493 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 20:20:25,498 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 20:20:25,498 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 20:20:25,504 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 20:20:25,508 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,510 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40e20df7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25, skipping insertion in model container [2023-11-23 20:20:25,511 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,540 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:20:25,772 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:20:25,786 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 20:20:25,829 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:20:25,847 INFO L206 MainTranslator]: Completed translation [2023-11-23 20:20:25,847 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25 WrapperNode [2023-11-23 20:20:25,848 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 20:20:25,849 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 20:20:25,849 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 20:20:25,849 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 20:20:25,858 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,878 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,904 INFO L138 Inliner]: procedures = 13, calls = 34, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 41 [2023-11-23 20:20:25,905 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 20:20:25,905 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 20:20:25,906 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 20:20:25,906 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 20:20:25,917 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,917 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,923 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,924 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,949 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,950 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,952 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,953 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,956 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 20:20:25,957 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 20:20:25,957 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 20:20:25,957 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 20:20:25,958 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:20:25" (1/1) ... [2023-11-23 20:20:25,971 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:20:25,985 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/z3 [2023-11-23 20:20:26,003 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-23 20:20:26,024 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-23 20:20:26,047 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-23 20:20:26,047 INFO L130 BoogieDeclarations]: Found specification of procedure chunk [2023-11-23 20:20:26,047 INFO L138 BoogieDeclarations]: Found implementation of procedure chunk [2023-11-23 20:20:26,048 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-23 20:20:26,048 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-23 20:20:26,048 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-23 20:20:26,048 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 20:20:26,049 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 20:20:26,050 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-23 20:20:26,050 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 20:20:26,137 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 20:20:26,140 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 20:20:26,434 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 20:20:26,491 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 20:20:26,492 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 20:20:26,493 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:20:26 BoogieIcfgContainer [2023-11-23 20:20:26,493 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 20:20:26,494 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-23 20:20:26,494 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-23 20:20:26,509 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-23 20:20:26,509 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:20:26" (1/1) ... [2023-11-23 20:20:26,523 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 20:20:26,581 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:20:26,588 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 16 states and 18 transitions. [2023-11-23 20:20:26,589 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2023-11-23 20:20:26,593 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-23 20:20:26,593 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:20:26,594 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:20:26,843 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:20:27,997 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-23 20:20:28,300 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:20:28,301 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 19 states and 23 transitions. [2023-11-23 20:20:28,301 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2023-11-23 20:20:28,301 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-23 20:20:28,302 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:20:28,302 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:20:28,342 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:20:29,072 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-23 20:20:29,913 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:20:29,914 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 23 states and 28 transitions. [2023-11-23 20:20:29,914 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 28 transitions. [2023-11-23 20:20:29,915 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-23 20:20:29,915 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:20:29,916 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:20:30,071 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:20:31,635 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:20:34,169 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:20:34,170 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 29 states and 40 transitions. [2023-11-23 20:20:34,171 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 40 transitions. [2023-11-23 20:20:34,172 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-23 20:20:34,172 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:20:34,172 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:20:34,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:20:34,256 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:20:34,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:20:35,230 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:20:35,230 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:20:35,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:20:35,914 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-23 20:20:35,953 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated [2023-11-23 20:20:35,953 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated [2023-11-23 20:20:35,954 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated [2023-11-23 20:20:35,955 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated [2023-11-23 20:20:35,955 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~post8 could not be translated [2023-11-23 20:20:35,956 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem7 could not be translated [2023-11-23 20:20:35,962 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 08:20:35 ImpRootNode [2023-11-23 20:20:35,963 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-23 20:20:35,967 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 20:20:35,967 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 20:20:35,967 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 20:20:35,968 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:20:26" (3/4) ... [2023-11-23 20:20:35,969 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-23 20:20:35,976 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated [2023-11-23 20:20:35,981 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated [2023-11-23 20:20:35,983 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated [2023-11-23 20:20:35,983 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated [2023-11-23 20:20:35,984 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~post8 could not be translated [2023-11-23 20:20:35,984 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~mem7 could not be translated [2023-11-23 20:20:36,029 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/witness.graphml [2023-11-23 20:20:36,030 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 20:20:36,031 INFO L158 Benchmark]: Toolchain (without parser) took 10538.20ms. Allocated memory was 138.4MB in the beginning and 172.0MB in the end (delta: 33.6MB). Free memory was 93.8MB in the beginning and 118.7MB in the end (delta: -24.9MB). Peak memory consumption was 10.8MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,031 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 107.0MB. Free memory is still 61.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:20:36,032 INFO L158 Benchmark]: CACSL2BoogieTranslator took 350.48ms. Allocated memory is still 138.4MB. Free memory was 93.6MB in the beginning and 83.3MB in the end (delta: 10.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,033 INFO L158 Benchmark]: Boogie Procedure Inliner took 55.81ms. Allocated memory is still 138.4MB. Free memory was 83.3MB in the beginning and 81.7MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,033 INFO L158 Benchmark]: Boogie Preprocessor took 50.69ms. Allocated memory is still 138.4MB. Free memory was 81.7MB in the beginning and 80.3MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,034 INFO L158 Benchmark]: RCFGBuilder took 536.62ms. Allocated memory is still 138.4MB. Free memory was 80.3MB in the beginning and 110.1MB in the end (delta: -29.8MB). Peak memory consumption was 18.0MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,034 INFO L158 Benchmark]: CodeCheck took 9471.71ms. Allocated memory was 138.4MB in the beginning and 172.0MB in the end (delta: 33.6MB). Free memory was 110.1MB in the beginning and 121.8MB in the end (delta: -11.7MB). Peak memory consumption was 22.2MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,035 INFO L158 Benchmark]: Witness Printer took 63.30ms. Allocated memory is still 172.0MB. Free memory was 121.8MB in the beginning and 118.7MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:20:36,038 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, 16 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 9.4s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 12 SdHoareTripleChecker+Valid, 1.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 11 mSDsluCounter, 32 SdHoareTripleChecker+Invalid, 0.8s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 59 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 178 IncrementalHoareTripleChecker+Invalid, 237 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 59 mSolverCounterUnsat, 32 mSDtfsCounter, 178 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 229 GetRequests, 153 SyntacticMatches, 4 SemanticMatches, 72 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1263 ImplicationChecksByTransitivity, 3.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 1.1s SatisfiabilityAnalysisTime, 3.4s InterpolantComputationTime, 36 NumberOfCodeBlocks, 36 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 21 ConstructedInterpolants, 0 QuantifiedInterpolants, 348 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 2 PerfectInterpolantSequences, 0/3 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: 17]: integer overflow possible integer overflow possible We found a FailurePath: [L32] int **data = malloc(4*sizeof(int*)); [L35] int *p0 = malloc(sizeof(int)); [L36] int *p1 = malloc(sizeof(int)); [L37] int *p2 = malloc(sizeof(int)); [L38] int *p3 = malloc(sizeof(int)); [L41] int i = __VERIFIER_nondet_int(); [L42] int upper = __VERIFIER_nondet_int(); [L44] COND FALSE !(i >= upper) [L47] *p0 = i [L48] *p3 = upper [L52] data[0] = p0 [L53] data[1] = p1 [L54] data[2] = p2 [L55] data[3] = p3 VAL [data={-3:0}, i=2147483646, p0={2147483648:0}, p1={-1:0}, p2={-2:0}, p3={15389:0}, upper=2147483647] [L59] CALL chunk(data) VAL [data={-3:0}] [L9] EXPR data[0] [L9] int *p0 = data[0]; [L10] EXPR data[1] [L10] int *p1 = data[1]; [L11] EXPR data[2] [L11] int *p2 = data[2]; [L12] EXPR data[3] [L12] int *p3 = data[3]; [L14] EXPR \read(*p0) [L14] EXPR \read(*p3) VAL [data={-3:0}, data={-3:0}, p0={2147483648:0}, p1={-1:0}, p2={-2:0}, p3={15389:0}] [L14] COND FALSE !(*p0 >= *p3) [L17] EXPR \read(*p0) [L17] (*p0)++ [L19] EXPR \read(*p3) [L19] *p2 = *p3 [L21] data[1] = malloc(sizeof(int*)) [L22] EXPR data[1] [L22] data[2] = data[1] [L23] EXPR data[2] [L23] data[3] = data[2] [L25] CALL chunk(data) VAL [data={-3:0}] [L9] EXPR data[0] [L9] int *p0 = data[0]; [L10] EXPR data[1] [L10] int *p1 = data[1]; [L11] EXPR data[2] [L11] int *p2 = data[2]; [L12] EXPR data[3] [L12] int *p3 = data[3]; [L14] EXPR \read(*p0) [L14] EXPR \read(*p3) VAL [data={-3:0}, data={-3:0}, p0={2147483648:0}, p1={-4:0}, p2={-4:0}, p3={-4:0}] [L14] COND FALSE !(*p0 >= *p3) [L17] EXPR \read(*p0) [L17] (*p0)++ VAL [data={-3:0}, data={-3:0}, p0={2147483648:0}, p1={-4:0}, p2={-4:0}, p3={-4:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 107.0MB. Free memory is still 61.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 350.48ms. Allocated memory is still 138.4MB. Free memory was 93.6MB in the beginning and 83.3MB in the end (delta: 10.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 55.81ms. Allocated memory is still 138.4MB. Free memory was 83.3MB in the beginning and 81.7MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 50.69ms. Allocated memory is still 138.4MB. Free memory was 81.7MB in the beginning and 80.3MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 536.62ms. Allocated memory is still 138.4MB. Free memory was 80.3MB in the beginning and 110.1MB in the end (delta: -29.8MB). Peak memory consumption was 18.0MB. Max. memory is 16.1GB. * CodeCheck took 9471.71ms. Allocated memory was 138.4MB in the beginning and 172.0MB in the end (delta: 33.6MB). Free memory was 110.1MB in the beginning and 121.8MB in the end (delta: -11.7MB). Peak memory consumption was 22.2MB. Max. memory is 16.1GB. * Witness Printer took 63.30ms. Allocated memory is still 172.0MB. Free memory was 121.8MB in the beginning and 118.7MB in the end (delta: 3.1MB). 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~mem5 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~post8 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem7 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem5 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem6 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~post8 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~mem7 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-23 20:20:36,085 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7a2e5327-e34e-4577-bc3e-dec128f1611d/bin/ukojak-verify-1t5iHCbJaC/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)