./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) 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_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/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_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 165c3d31baf6e9e6eb3241886fc1e2aed511e6788979a2e699609d2c8b9e748b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 20:02:18,598 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 20:02:18,735 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-11-23 20:02:18,742 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 20:02:18,743 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-23 20:02:18,793 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 20:02:18,794 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 20:02:18,795 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 20:02:18,796 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 20:02:18,797 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-23 20:02:18,797 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 20:02:18,798 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-23 20:02:18,799 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 20:02:18,799 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-23 20:02:18,800 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-23 20:02:18,801 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-23 20:02:18,801 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 20:02:18,802 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 20:02:18,802 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-23 20:02:18,803 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 20:02:18,804 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-23 20:02:18,804 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-23 20:02:18,805 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-23 20:02:18,805 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 20:02:18,806 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:02:18,807 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 20:02:18,807 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 20:02:18,808 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-23 20:02:18,830 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 20:02:18,831 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_69826411-9114-4701-b1af-b02758d18c43/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_69826411-9114-4701-b1af-b02758d18c43/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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 165c3d31baf6e9e6eb3241886fc1e2aed511e6788979a2e699609d2c8b9e748b [2023-11-23 20:02:19,225 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 20:02:19,279 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 20:02:19,282 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 20:02:19,283 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 20:02:19,285 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 20:02:19,287 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-23 20:02:22,733 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 20:02:23,132 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 20:02:23,133 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-23 20:02:23,155 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data/427685d00/c5a2a31dde544cc6a50d4cb14df643ee/FLAG59cd38f94 [2023-11-23 20:02:23,170 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data/427685d00/c5a2a31dde544cc6a50d4cb14df643ee [2023-11-23 20:02:23,174 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 20:02:23,175 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 20:02:23,177 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 20:02:23,177 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 20:02:23,183 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 20:02:23,184 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,185 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@d48839d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23, skipping insertion in model container [2023-11-23 20:02:23,185 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,240 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:02:23,529 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:02:23,546 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 20:02:23,593 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:02:23,638 INFO L206 MainTranslator]: Completed translation [2023-11-23 20:02:23,638 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23 WrapperNode [2023-11-23 20:02:23,638 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 20:02:23,640 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 20:02:23,640 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 20:02:23,640 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 20:02:23,649 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:02:23" (1/1) ... [2023-11-23 20:02:23,678 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:02:23" (1/1) ... [2023-11-23 20:02:23,709 INFO L138 Inliner]: procedures = 117, calls = 9, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 49 [2023-11-23 20:02:23,710 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 20:02:23,711 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 20:02:23,712 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 20:02:23,712 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 20:02:23,723 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,723 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,743 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,744 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,750 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,761 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,762 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,774 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,777 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 20:02:23,778 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 20:02:23,779 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 20:02:23,779 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 20:02:23,780 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:23" (1/1) ... [2023-11-23 20:02:23,786 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:02:23,806 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/z3 [2023-11-23 20:02:23,819 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/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:02:23,822 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/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:02:23,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-23 20:02:23,859 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-23 20:02:23,859 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 20:02:23,859 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 20:02:23,860 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 20:02:24,033 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 20:02:24,045 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 20:02:24,214 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 20:02:24,270 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 20:02:24,270 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-23 20:02:24,272 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:02:24 BoogieIcfgContainer [2023-11-23 20:02:24,283 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 20:02:24,284 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-23 20:02:24,285 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-23 20:02:24,295 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-23 20:02:24,296 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:02:24" (1/1) ... [2023-11-23 20:02:24,306 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 20:02:24,379 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:24,386 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2023-11-23 20:02:24,388 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2023-11-23 20:02:24,390 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-23 20:02:24,390 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:24,391 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:02:24,502 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:24,607 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:02:24,659 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:24,660 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-11-23 20:02:24,660 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-11-23 20:02:24,661 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-23 20:02:24,661 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:24,661 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:02:24,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:24,715 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:02:24,741 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:24,741 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 11 states and 12 transitions. [2023-11-23 20:02:24,741 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 12 transitions. [2023-11-23 20:02:24,742 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:02:24,742 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:24,742 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:02:24,763 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:24,935 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:02:25,134 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:25,136 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 12 states and 14 transitions. [2023-11-23 20:02:25,136 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 14 transitions. [2023-11-23 20:02:25,150 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:02:25,151 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:25,152 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:02:25,214 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:25,441 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:02:25,625 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:25,626 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 12 states and 15 transitions. [2023-11-23 20:02:25,627 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 15 transitions. [2023-11-23 20:02:25,627 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:02:25,628 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:25,628 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:02:25,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:26,109 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:02:26,489 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:26,490 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 13 states and 17 transitions. [2023-11-23 20:02:26,490 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 17 transitions. [2023-11-23 20:02:26,491 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-23 20:02:26,491 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:26,492 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:02:26,522 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:26,522 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:02:26,541 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:26,609 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:26,609 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:02:26,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:26,651 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2023-11-23 20:02:26,690 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-23 20:02:26,692 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-23 20:02:26,699 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 08:02:26 ImpRootNode [2023-11-23 20:02:26,699 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-23 20:02:26,700 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 20:02:26,700 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 20:02:26,701 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 20:02:26,702 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:02:24" (3/4) ... [2023-11-23 20:02:26,705 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 20:02:26,706 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 20:02:26,712 INFO L158 Benchmark]: Toolchain (without parser) took 3536.11ms. Allocated memory was 192.9MB in the beginning and 232.8MB in the end (delta: 39.8MB). Free memory was 162.4MB in the beginning and 182.3MB in the end (delta: -20.0MB). Peak memory consumption was 20.7MB. Max. memory is 16.1GB. [2023-11-23 20:02:26,713 INFO L158 Benchmark]: CDTParser took 0.93ms. Allocated memory is still 134.2MB. Free memory was 106.8MB in the beginning and 106.6MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:02:26,714 INFO L158 Benchmark]: CACSL2BoogieTranslator took 461.75ms. Allocated memory is still 192.9MB. Free memory was 162.2MB in the beginning and 149.6MB in the end (delta: 12.6MB). Peak memory consumption was 15.0MB. Max. memory is 16.1GB. [2023-11-23 20:02:26,715 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.52ms. Allocated memory is still 192.9MB. Free memory was 149.6MB in the beginning and 147.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:02:26,716 INFO L158 Benchmark]: Boogie Preprocessor took 66.39ms. Allocated memory is still 192.9MB. Free memory was 147.5MB in the beginning and 146.3MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:02:26,716 INFO L158 Benchmark]: RCFGBuilder took 505.32ms. Allocated memory is still 192.9MB. Free memory was 146.3MB in the beginning and 151.9MB in the end (delta: -5.6MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2023-11-23 20:02:26,717 INFO L158 Benchmark]: CodeCheck took 2414.93ms. Allocated memory was 192.9MB in the beginning and 232.8MB in the end (delta: 39.8MB). Free memory was 151.7MB in the beginning and 182.3MB in the end (delta: -30.6MB). Peak memory consumption was 12.4MB. Max. memory is 16.1GB. [2023-11-23 20:02:26,718 INFO L158 Benchmark]: Witness Printer took 10.72ms. Allocated memory is still 232.8MB. Free memory is still 182.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:02:26,722 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, 10 locations, 3 error locations. Started 1 CEGAR loops. OverallTime: 2.3s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 27 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 13 mSDsluCounter, 30 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 20 mSDsCounter, 69 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 140 IncrementalHoareTripleChecker+Invalid, 209 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 69 mSolverCounterUnsat, 10 mSDtfsCounter, 140 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 184 GetRequests, 156 SyntacticMatches, 0 SemanticMatches, 28 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 176 ImplicationChecksByTransitivity, 0.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.9s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 17 ConstructedInterpolants, 0 QuantifiedInterpolants, 68 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 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: 525]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 525. Possible FailurePath: [L512] int num; [L513] int ind, newsize, i = 1; [L526] num = __VERIFIER_nondet_int() [L527] COND FALSE !(!(num > 0 && num < 100)) [L530] int *a = (int *)malloc(sizeof(int)); [L531] COND FALSE !(a == ((void *)0)) [L534] newsize = 0 [L535] CALL expandArray(a) [L515] int *a = (int *)arg; VAL [a={-1:0}, arg={-1:0}, arg={-1:0}, i=1, ind=0, newsize=0, num=1] [L516] COND TRUE newsize < num [L517] EXPR newsize = newsize + 1 [L518] int *b = ((void *)0); [L519] EXPR, FCALL realloc(a, sizeof(int) * newsize) [L519] EXPR b = realloc(a, sizeof(int) * newsize) [L520] EXPR b[newsize - 1] = i [L521] EXPR a = b [L516-L522] { newsize = newsize + 1; int *b = ((void *)0); b = realloc(a, sizeof(int) * newsize); b[newsize - 1] = i; a = b; } VAL [a={-1:0}, arg={-1:0}, arg={-1:0}, i=1, ind=0, newsize=1, num=1] [L516] COND FALSE !(newsize < num) [L523] return 0; [L535] RET expandArray(a) [L536] return 0; VAL [\old(argc)=3, \result=0, a={-1:0}, argc=3, argv={6:5}, i=1, ind=0, newsize=1, num=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.93ms. Allocated memory is still 134.2MB. Free memory was 106.8MB in the beginning and 106.6MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 461.75ms. Allocated memory is still 192.9MB. Free memory was 162.2MB in the beginning and 149.6MB in the end (delta: 12.6MB). Peak memory consumption was 15.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.52ms. Allocated memory is still 192.9MB. Free memory was 149.6MB in the beginning and 147.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 66.39ms. Allocated memory is still 192.9MB. Free memory was 147.5MB in the beginning and 146.3MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 505.32ms. Allocated memory is still 192.9MB. Free memory was 146.3MB in the beginning and 151.9MB in the end (delta: -5.6MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * CodeCheck took 2414.93ms. Allocated memory was 192.9MB in the beginning and 232.8MB in the end (delta: 39.8MB). Free memory was 151.7MB in the beginning and 182.3MB in the end (delta: -30.6MB). Peak memory consumption was 12.4MB. Max. memory is 16.1GB. * Witness Printer took 10.72ms. Allocated memory is still 232.8MB. Free memory is still 182.3MB. 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: unknown boogie variable #Ultimate.C_realloc_#res#1 - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 - 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-23 20:02:26,766 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/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-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/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_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 165c3d31baf6e9e6eb3241886fc1e2aed511e6788979a2e699609d2c8b9e748b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 20:02:29,760 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 20:02:29,893 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2023-11-23 20:02:29,928 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 20:02:29,930 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 20:02:29,930 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 20:02:29,931 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 20:02:29,932 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-23 20:02:29,932 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 20:02:29,933 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-23 20:02:29,933 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 20:02:29,934 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-23 20:02:29,934 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-23 20:02:29,935 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-23 20:02:29,936 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 20:02:29,936 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-23 20:02:29,937 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-23 20:02:29,937 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-23 20:02:29,938 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 20:02:29,939 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-23 20:02:29,939 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 20:02:29,940 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-23 20:02:29,940 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-23 20:02:29,941 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-23 20:02:29,941 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:29,942 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-23 20:02:29,942 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 20:02:29,943 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:02:29,943 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 20:02:29,944 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 20:02:29,944 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-23 20:02:29,945 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:29,945 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-23 20:02:29,945 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 20:02:29,946 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_69826411-9114-4701-b1af-b02758d18c43/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_69826411-9114-4701-b1af-b02758d18c43/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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 165c3d31baf6e9e6eb3241886fc1e2aed511e6788979a2e699609d2c8b9e748b [2023-11-23 20:02:30,381 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 20:02:30,415 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 20:02:30,418 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 20:02:30,419 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 20:02:30,420 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 20:02:30,421 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-23 20:02:33,781 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 20:02:34,146 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 20:02:34,150 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-23 20:02:34,170 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data/17ee9019b/284c2d0983884eb99f376c14c1e4f571/FLAG8f8c4ed0c [2023-11-23 20:02:34,184 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/data/17ee9019b/284c2d0983884eb99f376c14c1e4f571 [2023-11-23 20:02:34,187 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 20:02:34,189 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 20:02:34,190 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 20:02:34,190 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 20:02:34,196 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 20:02:34,196 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,198 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@55f6049b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34, skipping insertion in model container [2023-11-23 20:02:34,198 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,245 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:02:34,671 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:02:34,696 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-23 20:02:34,712 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:02:34,771 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:02:34,777 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 20:02:34,817 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:02:34,858 INFO L206 MainTranslator]: Completed translation [2023-11-23 20:02:34,858 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34 WrapperNode [2023-11-23 20:02:34,858 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 20:02:34,860 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 20:02:34,860 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 20:02:34,860 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 20:02:34,869 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:02:34" (1/1) ... [2023-11-23 20:02:34,920 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:02:34" (1/1) ... [2023-11-23 20:02:34,949 INFO L138 Inliner]: procedures = 118, calls = 9, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 49 [2023-11-23 20:02:34,950 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 20:02:34,951 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 20:02:34,951 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 20:02:34,952 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 20:02:34,962 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,963 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,967 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,967 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,975 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,979 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,982 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,984 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,988 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 20:02:34,989 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 20:02:34,989 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 20:02:34,989 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 20:02:34,991 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:02:34" (1/1) ... [2023-11-23 20:02:34,997 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:02:35,025 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/z3 [2023-11-23 20:02:35,041 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/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:02:35,047 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/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:02:35,082 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-23 20:02:35,083 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 20:02:35,083 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-23 20:02:35,083 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 20:02:35,083 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 20:02:35,249 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 20:02:35,252 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 20:02:35,521 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 20:02:35,646 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 20:02:35,655 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-23 20:02:35,657 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:02:35 BoogieIcfgContainer [2023-11-23 20:02:35,666 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 20:02:35,667 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-23 20:02:35,667 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-23 20:02:35,679 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-23 20:02:35,680 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:02:35" (1/1) ... [2023-11-23 20:02:35,692 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 20:02:35,765 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:35,772 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2023-11-23 20:02:35,773 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2023-11-23 20:02:35,777 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-23 20:02:35,777 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:35,778 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:35,778 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:02:35,784 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:02:35,785 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-23 20:02:35,924 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:35,928 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-23 20:02:35,954 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:35,956 INFO L262 TraceCheckSpWp]: Trace formula consists of 16 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-23 20:02:35,961 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-23 20:02:36,024 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:02:36,027 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:02:36,034 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-23 20:02:36,095 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:36,097 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-11-23 20:02:36,097 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-11-23 20:02:36,098 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-23 20:02:36,099 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:36,099 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:36,099 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:02:36,101 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:02:36,139 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-23 20:02:36,196 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:36,197 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-23 20:02:36,213 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:36,214 INFO L262 TraceCheckSpWp]: Trace formula consists of 27 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-23 20:02:36,215 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-23 20:02:36,228 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:02:36,231 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:02:36,238 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-23 20:02:36,273 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:36,274 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 11 states and 12 transitions. [2023-11-23 20:02:36,274 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 12 transitions. [2023-11-23 20:02:36,275 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:02:36,275 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:36,276 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:36,276 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:02:36,277 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:02:36,305 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-23 20:02:36,395 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:36,395 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-23 20:02:36,428 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:36,430 INFO L262 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-23 20:02:36,433 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-23 20:02:36,540 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:02:36,543 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:02:36,549 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-23 20:02:36,761 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:36,762 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 12 states and 14 transitions. [2023-11-23 20:02:36,762 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 14 transitions. [2023-11-23 20:02:36,764 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:02:36,765 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:36,765 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:36,765 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:02:36,767 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:02:36,787 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-23 20:02:36,901 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:36,902 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-23 20:02:36,925 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:36,926 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 8 conjunts are in the unsatisfiable core [2023-11-23 20:02:36,930 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-23 20:02:37,041 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-23 20:02:37,042 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-11-23 20:02:37,046 WARN L561 QuantifierPusher]: no eliminatee completely removed, nonetheless the elimination was considered successful [2023-11-23 20:02:37,065 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 7 [2023-11-23 20:02:37,076 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-23 20:02:37,086 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-23 20:02:37,088 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 5 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 1 [2023-11-23 20:02:37,092 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-23 20:02:37,093 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-11-23 20:02:37,138 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:02:37,140 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:02:37,144 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2023-11-23 20:02:37,486 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:37,486 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 11 states and 13 transitions. [2023-11-23 20:02:37,486 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 13 transitions. [2023-11-23 20:02:37,487 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:02:37,487 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:37,487 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:37,487 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:02:37,489 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:02:37,555 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2023-11-23 20:02:37,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:37,637 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-23 20:02:37,661 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:02:37,662 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 11 conjunts are in the unsatisfiable core [2023-11-23 20:02:37,666 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-23 20:02:37,839 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-23 20:02:37,840 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-11-23 20:02:37,848 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-11-23 20:02:37,861 WARN L561 QuantifierPusher]: no eliminatee completely removed, nonetheless the elimination was considered successful [2023-11-23 20:02:37,874 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-23 20:02:37,876 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 30 [2023-11-23 20:02:37,890 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-23 20:02:37,896 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 3 [2023-11-23 20:02:37,970 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:02:37,981 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (6)] Forceful destruction successful, exit code 0 [2023-11-23 20:02:38,439 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:02:38,439 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 12 states and 15 transitions. [2023-11-23 20:02:38,440 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 15 transitions. [2023-11-23 20:02:38,440 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-23 20:02:38,440 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:02:38,441 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:02:38,441 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:02:38,448 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:02:38,479 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2023-11-23 20:02:38,599 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:38,599 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:02:38,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:38,740 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:38,740 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:02:38,772 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:02:38,806 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (7)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:02:38,813 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (7)] Forceful destruction successful, exit code 0 [2023-11-23 20:02:38,814 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2023-11-23 20:02:38,859 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-23 20:02:38,860 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-23 20:02:38,872 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 08:02:38 ImpRootNode [2023-11-23 20:02:38,872 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-23 20:02:38,874 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 20:02:38,874 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 20:02:38,875 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 20:02:38,875 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:02:35" (3/4) ... [2023-11-23 20:02:38,878 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 20:02:38,880 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 20:02:38,889 INFO L158 Benchmark]: Toolchain (without parser) took 4692.10ms. Allocated memory was 77.6MB in the beginning and 98.6MB in the end (delta: 21.0MB). Free memory was 48.3MB in the beginning and 61.2MB in the end (delta: -12.8MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. [2023-11-23 20:02:38,890 INFO L158 Benchmark]: CDTParser took 0.70ms. Allocated memory is still 77.6MB. Free memory is still 53.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:02:38,893 INFO L158 Benchmark]: CACSL2BoogieTranslator took 668.72ms. Allocated memory is still 77.6MB. Free memory was 48.1MB in the beginning and 49.8MB in the end (delta: -1.7MB). Peak memory consumption was 15.4MB. Max. memory is 16.1GB. [2023-11-23 20:02:38,894 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.49ms. Allocated memory is still 77.6MB. Free memory was 49.8MB in the beginning and 47.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:02:38,895 INFO L158 Benchmark]: Boogie Preprocessor took 37.19ms. Allocated memory is still 77.6MB. Free memory was 47.7MB in the beginning and 46.3MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:02:38,895 INFO L158 Benchmark]: RCFGBuilder took 677.34ms. Allocated memory was 77.6MB in the beginning and 98.6MB in the end (delta: 21.0MB). Free memory was 46.3MB in the beginning and 75.3MB in the end (delta: -29.0MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-23 20:02:38,900 INFO L158 Benchmark]: CodeCheck took 3205.30ms. Allocated memory is still 98.6MB. Free memory was 75.3MB in the beginning and 61.2MB in the end (delta: 14.2MB). Peak memory consumption was 13.8MB. Max. memory is 16.1GB. [2023-11-23 20:02:38,901 INFO L158 Benchmark]: Witness Printer took 6.41ms. Allocated memory is still 98.6MB. Free memory is still 61.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:02:38,907 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, 10 locations, 3 error locations. Started 1 CEGAR loops. OverallTime: 3.1s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 27 SdHoareTripleChecker+Valid, 0.6s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 13 mSDsluCounter, 30 SdHoareTripleChecker+Invalid, 0.5s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 20 mSDsCounter, 64 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 143 IncrementalHoareTripleChecker+Invalid, 207 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 64 mSolverCounterUnsat, 10 mSDtfsCounter, 143 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 187 GetRequests, 158 SyntacticMatches, 1 SemanticMatches, 28 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 183 ImplicationChecksByTransitivity, 1.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.7s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 17 ConstructedInterpolants, 0 QuantifiedInterpolants, 93 SizeOfPredicates, 20 NumberOfNonLiveVariables, 163 ConjunctsInSsa, 27 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 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: 525]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 525. Possible FailurePath: [L512] int num; [L513] int ind, newsize, i = 1; [L526] num = __VERIFIER_nondet_int() [L527] COND FALSE !(!(num > 0 && num < 100)) [L530] int *a = (int *)malloc(sizeof(int)); [L531] COND FALSE !(a == ((void *)0)) [L534] newsize = 0 [L535] CALL expandArray(a) [L515] int *a = (int *)arg; VAL [a={1:0}, arg={1:0}, arg={1:0}, i=1, ind=0, newsize=0, num=1] [L516] COND TRUE newsize < num [L517] EXPR newsize = newsize + 1 [L518] int *b = ((void *)0); [L519] EXPR, FCALL realloc(a, sizeof(int) * newsize) [L519] EXPR b = realloc(a, sizeof(int) * newsize) [L520] EXPR b[newsize - 1] = i [L521] EXPR a = b [L516-L522] { newsize = newsize + 1; int *b = ((void *)0); b = realloc(a, sizeof(int) * newsize); b[newsize - 1] = i; a = b; } VAL [a={1:0}, arg={1:0}, arg={1:0}, i=1, ind=0, newsize=1, num=1] [L516] COND FALSE !(newsize < num) [L523] return 0; [L535] RET expandArray(a) [L536] return 0; VAL [\old(argc)=0, \result=0, a={1:0}, argc=0, argv={0:0}, i=1, ind=0, newsize=1, num=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.70ms. Allocated memory is still 77.6MB. Free memory is still 53.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 668.72ms. Allocated memory is still 77.6MB. Free memory was 48.1MB in the beginning and 49.8MB in the end (delta: -1.7MB). Peak memory consumption was 15.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.49ms. Allocated memory is still 77.6MB. Free memory was 49.8MB in the beginning and 47.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.19ms. Allocated memory is still 77.6MB. Free memory was 47.7MB in the beginning and 46.3MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 677.34ms. Allocated memory was 77.6MB in the beginning and 98.6MB in the end (delta: 21.0MB). Free memory was 46.3MB in the beginning and 75.3MB in the end (delta: -29.0MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 3205.30ms. Allocated memory is still 98.6MB. Free memory was 75.3MB in the beginning and 61.2MB in the end (delta: 14.2MB). Peak memory consumption was 13.8MB. Max. memory is 16.1GB. * Witness Printer took 6.41ms. Allocated memory is still 98.6MB. Free memory is still 61.2MB. 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: unknown boogie variable #Ultimate.C_realloc_#res#1 - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 - 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-23 20:02:38,969 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_69826411-9114-4701-b1af-b02758d18c43/bin/ukojak-verify-1t5iHCbJaC/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 Result: UNKNOWN: Overapproximated counterexample