./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 cf1a7837 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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV --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-cf1a783 [2023-11-11 23:59:44,912 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-11 23:59:45,002 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-11-11 23:59:45,007 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-11 23:59:45,008 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-11 23:59:45,032 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-11 23:59:45,033 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-11 23:59:45,034 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-11 23:59:45,034 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-11 23:59:45,035 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-11 23:59:45,035 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-11 23:59:45,036 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-11 23:59:45,037 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-11 23:59:45,037 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-11 23:59:45,038 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-11 23:59:45,038 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-11 23:59:45,039 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-11 23:59:45,039 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-11 23:59:45,040 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-11 23:59:45,041 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-11 23:59:45,041 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-11 23:59:45,042 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-11 23:59:45,043 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-11 23:59:45,043 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:59:45,044 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-11 23:59:45,044 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-11 23:59:45,045 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-11 23:59:45,045 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-11 23:59:45,046 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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV 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-11 23:59:45,306 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-11 23:59:45,334 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-11 23:59:45,339 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-11 23:59:45,342 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-11 23:59:45,342 INFO L274 PluginConnector]: CDTParser initialized [2023-11-11 23:59:45,344 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-11 23:59:48,629 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-11 23:59:48,972 INFO L384 CDTParser]: Found 1 translation units. [2023-11-11 23:59:48,973 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-11 23:59:48,987 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data/a5617ba2a/8adb4c81230f47b58012177b6f16c91e/FLAGae904a6d3 [2023-11-11 23:59:49,001 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data/a5617ba2a/8adb4c81230f47b58012177b6f16c91e [2023-11-11 23:59:49,004 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-11 23:59:49,006 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-11 23:59:49,007 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-11 23:59:49,008 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-11 23:59:49,014 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-11 23:59:49,014 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,016 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@41e7abff and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49, skipping insertion in model container [2023-11-11 23:59:49,016 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,065 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-11 23:59:49,418 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:59:49,435 INFO L202 MainTranslator]: Completed pre-run [2023-11-11 23:59:49,472 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:59:49,504 INFO L206 MainTranslator]: Completed translation [2023-11-11 23:59:49,505 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49 WrapperNode [2023-11-11 23:59:49,505 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-11 23:59:49,506 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-11 23:59:49,506 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-11 23:59:49,507 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-11 23:59:49,515 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,543 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,566 INFO L138 Inliner]: procedures = 117, calls = 9, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 50 [2023-11-11 23:59:49,567 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-11 23:59:49,568 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-11 23:59:49,568 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-11 23:59:49,569 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-11 23:59:49,578 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,578 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,581 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,582 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,596 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,600 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,602 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,603 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,614 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-11 23:59:49,615 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-11 23:59:49,615 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-11 23:59:49,615 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-11 23:59:49,616 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:49" (1/1) ... [2023-11-11 23:59:49,631 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:59:49,644 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-11 23:59:49,668 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-11 23:59:49,692 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-11 23:59:49,715 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-11 23:59:49,715 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-11 23:59:49,715 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-11 23:59:49,716 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-11 23:59:49,716 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-11 23:59:49,891 INFO L236 CfgBuilder]: Building ICFG [2023-11-11 23:59:49,893 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-11 23:59:50,066 INFO L277 CfgBuilder]: Performing block encoding [2023-11-11 23:59:50,128 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-11 23:59:50,128 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-11 23:59:50,131 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:59:50 BoogieIcfgContainer [2023-11-11 23:59:50,131 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-11 23:59:50,132 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-11 23:59:50,132 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-11 23:59:50,144 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-11 23:59:50,144 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:59:50" (1/1) ... [2023-11-11 23:59:50,154 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-11 23:59:50,210 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:59:50,218 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2023-11-11 23:59:50,219 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2023-11-11 23:59:50,221 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-11 23:59:50,222 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:59:50,223 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:59:50,345 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-11 23:59:50,412 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-11 23:59:50,448 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:59:50,458 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-11-11 23:59:50,458 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-11-11 23:59:50,459 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-11 23:59:50,459 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:59:50,459 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:59:50,483 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-11 23:59:50,570 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-11 23:59:50,631 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:59:50,632 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 11 states and 12 transitions. [2023-11-11 23:59:50,632 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 12 transitions. [2023-11-11 23:59:50,633 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-11 23:59:50,633 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:59:50,633 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:59:50,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-11 23:59:50,794 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-11 23:59:50,949 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:59:50,950 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 12 states and 14 transitions. [2023-11-11 23:59:50,951 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 14 transitions. [2023-11-11 23:59:50,958 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-11 23:59:50,958 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:59:50,958 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:59:51,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-11 23:59:51,191 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-11 23:59:51,355 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:59:51,355 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 12 states and 15 transitions. [2023-11-11 23:59:51,355 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 15 transitions. [2023-11-11 23:59:51,356 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-11 23:59:51,356 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:59:51,356 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:59:51,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-11 23:59:51,644 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-11 23:59:51,962 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:59:51,963 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 13 states and 17 transitions. [2023-11-11 23:59:51,963 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 17 transitions. [2023-11-11 23:59:51,963 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-11 23:59:51,964 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:59:51,964 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:59:52,002 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-11 23:59:52,002 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-11 23:59:52,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-11 23:59:52,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-11 23:59:52,107 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-11 23:59:52,124 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-11 23:59:52,169 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2023-11-11 23:59:52,205 WARN L1567 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-11 23:59:52,207 WARN L1567 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-11 23:59:52,215 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 11.11 11:59:52 ImpRootNode [2023-11-11 23:59:52,216 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-11 23:59:52,216 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-11 23:59:52,216 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-11 23:59:52,217 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-11 23:59:52,217 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:59:50" (3/4) ... [2023-11-11 23:59:52,220 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-11 23:59:52,221 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-11 23:59:52,223 INFO L158 Benchmark]: Toolchain (without parser) took 3216.38ms. Allocated memory is still 151.0MB. Free memory was 111.8MB in the beginning and 114.1MB in the end (delta: -2.3MB). Peak memory consumption was 793.3kB. Max. memory is 16.1GB. [2023-11-11 23:59:52,224 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 102.8MB. Free memory was 69.9MB in the beginning and 69.8MB in the end (delta: 25.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-11 23:59:52,225 INFO L158 Benchmark]: CACSL2BoogieTranslator took 498.03ms. Allocated memory is still 151.0MB. Free memory was 111.1MB in the beginning and 95.2MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-11 23:59:52,226 INFO L158 Benchmark]: Boogie Procedure Inliner took 61.08ms. Allocated memory is still 151.0MB. Free memory was 95.2MB in the beginning and 93.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:59:52,226 INFO L158 Benchmark]: Boogie Preprocessor took 46.25ms. Allocated memory is still 151.0MB. Free memory was 93.1MB in the beginning and 91.6MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:59:52,227 INFO L158 Benchmark]: RCFGBuilder took 516.47ms. Allocated memory is still 151.0MB. Free memory was 91.6MB in the beginning and 77.0MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-11 23:59:52,232 INFO L158 Benchmark]: CodeCheck took 2083.55ms. Allocated memory is still 151.0MB. Free memory was 77.0MB in the beginning and 115.2MB in the end (delta: -38.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-11 23:59:52,234 INFO L158 Benchmark]: Witness Printer took 5.24ms. Allocated memory is still 151.0MB. Free memory was 115.2MB in the beginning and 114.1MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:59:52,243 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.0s, 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.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 13 mSDsluCounter, 30 SdHoareTripleChecker+Invalid, 0.3s 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, 186 GetRequests, 157 SyntacticMatches, 1 SemanticMatches, 28 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 183 ImplicationChecksByTransitivity, 0.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.7s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 17 ConstructedInterpolants, 0 QuantifiedInterpolants, 76 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}, 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.32ms. Allocated memory is still 102.8MB. Free memory was 69.9MB in the beginning and 69.8MB in the end (delta: 25.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 498.03ms. Allocated memory is still 151.0MB. Free memory was 111.1MB in the beginning and 95.2MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 61.08ms. Allocated memory is still 151.0MB. Free memory was 95.2MB in the beginning and 93.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.25ms. Allocated memory is still 151.0MB. Free memory was 93.1MB in the beginning and 91.6MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 516.47ms. Allocated memory is still 151.0MB. Free memory was 91.6MB in the beginning and 77.0MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 2083.55ms. Allocated memory is still 151.0MB. Free memory was 77.0MB in the beginning and 115.2MB in the end (delta: -38.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.24ms. Allocated memory is still 151.0MB. Free memory was 115.2MB in the beginning and 114.1MB in the end (delta: 1.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: 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-11 23:59:52,272 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV --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-cf1a783 [2023-11-11 23:59:55,023 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-11 23:59:55,170 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2023-11-11 23:59:55,225 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-11 23:59:55,227 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-11 23:59:55,228 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-11 23:59:55,228 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-11 23:59:55,229 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-11 23:59:55,230 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-11 23:59:55,235 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-11 23:59:55,236 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-11 23:59:55,236 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-11 23:59:55,237 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-11 23:59:55,238 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-11 23:59:55,239 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-11 23:59:55,239 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-11 23:59:55,240 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-11 23:59:55,240 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-11 23:59:55,241 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-11 23:59:55,242 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-11 23:59:55,242 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-11 23:59:55,243 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-11 23:59:55,243 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-11 23:59:55,244 INFO L153 SettingsManager]: * Theory for external solver=AUFBV [2023-11-11 23:59:55,244 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-11 23:59:55,245 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-11 23:59:55,246 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-11 23:59:55,246 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:59:55,247 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-11 23:59:55,247 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-11 23:59:55,248 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-11 23:59:55,249 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-11 23:59:55,249 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-11 23:59:55,249 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-11 23:59:55,250 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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/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_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV 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-11 23:59:55,677 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-11 23:59:55,704 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-11 23:59:55,707 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-11 23:59:55,709 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-11 23:59:55,709 INFO L274 PluginConnector]: CDTParser initialized [2023-11-11 23:59:55,711 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-11 23:59:59,051 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-11 23:59:59,465 INFO L384 CDTParser]: Found 1 translation units. [2023-11-11 23:59:59,466 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-11-11 23:59:59,492 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data/2113cf675/c47ca4c239f3401aa5713731a784f3a8/FLAG16d4ae984 [2023-11-11 23:59:59,511 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/data/2113cf675/c47ca4c239f3401aa5713731a784f3a8 [2023-11-11 23:59:59,517 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-11 23:59:59,519 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-11 23:59:59,522 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-11 23:59:59,523 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-11 23:59:59,528 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-11 23:59:59,530 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:59:59" (1/1) ... [2023-11-11 23:59:59,531 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@57446f17 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:59:59, skipping insertion in model container [2023-11-11 23:59:59,531 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:59:59" (1/1) ... [2023-11-11 23:59:59,594 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-12 00:00:00,012 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:00:00,033 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-12 00:00:00,045 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-12 00:00:00,103 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:00:00,116 INFO L202 MainTranslator]: Completed pre-run [2023-11-12 00:00:00,174 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:00:00,216 INFO L206 MainTranslator]: Completed translation [2023-11-12 00:00:00,217 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00 WrapperNode [2023-11-12 00:00:00,217 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-12 00:00:00,219 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-12 00:00:00,219 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-12 00:00:00,219 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-12 00:00:00,226 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,258 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,283 INFO L138 Inliner]: procedures = 118, calls = 9, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 50 [2023-11-12 00:00:00,283 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-12 00:00:00,285 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-12 00:00:00,285 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-12 00:00:00,285 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-12 00:00:00,295 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,296 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,322 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,322 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,329 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,332 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,334 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,336 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,339 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-12 00:00:00,340 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-12 00:00:00,340 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-12 00:00:00,340 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-12 00:00:00,341 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,347 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-12 00:00:00,380 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-12 00:00:00,391 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-12 00:00:00,396 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-12 00:00:00,423 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-12 00:00:00,424 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-12 00:00:00,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-12 00:00:00,424 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-12 00:00:00,424 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-12 00:00:00,550 INFO L236 CfgBuilder]: Building ICFG [2023-11-12 00:00:00,552 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-12 00:00:00,732 INFO L277 CfgBuilder]: Performing block encoding [2023-11-12 00:00:00,798 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-12 00:00:00,798 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-12 00:00:00,801 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 12:00:00 BoogieIcfgContainer [2023-11-12 00:00:00,801 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-12 00:00:00,802 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-12 00:00:00,802 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-12 00:00:00,813 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-12 00:00:00,813 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 12:00:00" (1/1) ... [2023-11-12 00:00:00,823 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-12 00:00:00,870 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:00:00,876 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2023-11-12 00:00:00,877 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2023-11-12 00:00:00,879 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-12 00:00:00,879 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:00:00,880 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-12 00:00:00,880 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-12 00:00:00,884 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-12 00:00:00,891 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-12 00:00:00,996 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:00,999 ERROR L594 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-12 00:00:01,033 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,035 INFO L262 TraceCheckSpWp]: Trace formula consists of 18 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-12 00:00:01,039 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-12 00:00:01,071 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-12 00:00:01,073 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2023-11-12 00:00:01,074 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-12 00:00:01,111 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:00:01,112 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-11-12 00:00:01,112 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-11-12 00:00:01,112 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-12 00:00:01,113 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:00:01,113 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-12 00:00:01,113 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-12 00:00:01,149 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-12 00:00:01,165 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-12 00:00:01,225 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,226 ERROR L594 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-12 00:00:01,243 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,244 INFO L262 TraceCheckSpWp]: Trace formula consists of 29 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-12 00:00:01,246 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-12 00:00:01,258 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-12 00:00:01,260 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-12 00:00:01,264 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-12 00:00:01,298 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:00:01,299 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 11 states and 12 transitions. [2023-11-12 00:00:01,299 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 12 transitions. [2023-11-12 00:00:01,299 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-12 00:00:01,300 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:00:01,300 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-12 00:00:01,300 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-12 00:00:01,301 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-12 00:00:01,313 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-12 00:00:01,445 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,446 ERROR L594 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-12 00:00:01,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,475 INFO L262 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-12 00:00:01,476 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-12 00:00:01,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-12 00:00:01,613 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-12 00:00:01,616 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-12 00:00:01,840 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:00:01,840 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 12 states and 14 transitions. [2023-11-12 00:00:01,841 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 14 transitions. [2023-11-12 00:00:01,843 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-12 00:00:01,843 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:00:01,843 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-12 00:00:01,843 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-12 00:00:01,846 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-12 00:00:01,868 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-12 00:00:01,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,960 ERROR L594 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-12 00:00:01,984 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:01,986 INFO L262 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 8 conjunts are in the unsatisfiable core [2023-11-12 00:00:01,989 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-12 00:00:02,114 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-12 00:00:02,116 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-11-12 00:00:02,118 WARN L561 QuantifierPusher]: no eliminatee completely removed, nonetheless the elimination was considered successful [2023-11-12 00:00:02,134 INFO L351 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-12 00:00:02,143 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-12 00:00:02,152 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-12 00:00:02,154 INFO L351 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-12 00:00:02,158 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-12 00:00:02,159 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-11-12 00:00:02,198 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-12 00:00:02,200 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2023-11-12 00:00:02,205 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2023-11-12 00:00:02,521 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:00:02,521 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 11 states and 13 transitions. [2023-11-12 00:00:02,521 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 13 transitions. [2023-11-12 00:00:02,521 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-12 00:00:02,521 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:00:02,522 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-12 00:00:02,522 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-12 00:00:02,524 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-12 00:00:02,527 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2023-11-12 00:00:02,627 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:02,628 ERROR L594 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-12 00:00:02,654 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:00:02,656 INFO L262 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 7 conjunts are in the unsatisfiable core [2023-11-12 00:00:02,659 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-12 00:00:02,846 WARN L561 QuantifierPusher]: no eliminatee completely removed, nonetheless the elimination was considered successful [2023-11-12 00:00:02,857 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-12 00:00:02,858 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 30 [2023-11-12 00:00:02,869 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-12 00:00:02,874 INFO L351 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-12 00:00:02,887 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-11-12 00:00:02,888 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-11-12 00:00:02,897 INFO L351 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-12 00:00:02,922 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-12 00:00:02,923 INFO L351 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 1 [2023-11-12 00:00:02,979 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-12 00:00:02,981 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2023-11-12 00:00:02,993 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (6)] Forceful destruction successful, exit code 0 [2023-11-12 00:00:03,373 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:00:03,374 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 12 states and 15 transitions. [2023-11-12 00:00:03,374 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 15 transitions. [2023-11-12 00:00:03,374 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-12 00:00:03,375 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:00:03,375 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-12 00:00:03,375 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-12 00:00:03,376 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-12 00:00:03,400 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2023-11-12 00:00:03,521 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-12 00:00:03,522 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-12 00:00:03,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-12 00:00:03,672 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-12 00:00:03,672 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-12 00:00:03,700 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-12 00:00:03,729 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (7)] Forceful destruction successful, exit code 0 [2023-11-12 00:00:03,730 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2023-11-12 00:00:03,760 WARN L1567 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-12 00:00:03,762 WARN L1567 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-11-12 00:00:03,766 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 12.11 12:00:03 ImpRootNode [2023-11-12 00:00:03,766 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-12 00:00:03,767 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-12 00:00:03,767 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-12 00:00:03,767 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-12 00:00:03,767 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 12:00:00" (3/4) ... [2023-11-12 00:00:03,769 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-12 00:00:03,770 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-12 00:00:03,776 INFO L158 Benchmark]: Toolchain (without parser) took 4252.63ms. Allocated memory was 92.3MB in the beginning and 111.1MB in the end (delta: 18.9MB). Free memory was 67.0MB in the beginning and 38.0MB in the end (delta: 29.0MB). Peak memory consumption was 49.9MB. Max. memory is 16.1GB. [2023-11-12 00:00:03,777 INFO L158 Benchmark]: CDTParser took 0.54ms. Allocated memory is still 69.2MB. Free memory was 45.0MB in the beginning and 45.0MB in the end (delta: 46.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-12 00:00:03,778 INFO L158 Benchmark]: CACSL2BoogieTranslator took 695.23ms. Allocated memory is still 92.3MB. Free memory was 66.7MB in the beginning and 46.7MB in the end (delta: 20.0MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-12 00:00:03,780 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.89ms. Allocated memory is still 92.3MB. Free memory was 46.5MB in the beginning and 69.9MB in the end (delta: -23.4MB). Peak memory consumption was 6.0MB. Max. memory is 16.1GB. [2023-11-12 00:00:03,780 INFO L158 Benchmark]: Boogie Preprocessor took 54.46ms. Allocated memory is still 92.3MB. Free memory was 69.9MB in the beginning and 68.4MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-12 00:00:03,781 INFO L158 Benchmark]: RCFGBuilder took 461.35ms. Allocated memory is still 92.3MB. Free memory was 68.4MB in the beginning and 51.2MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-12 00:00:03,784 INFO L158 Benchmark]: CodeCheck took 2963.90ms. Allocated memory was 92.3MB in the beginning and 111.1MB in the end (delta: 18.9MB). Free memory was 50.8MB in the beginning and 38.2MB in the end (delta: 12.6MB). Peak memory consumption was 31.3MB. Max. memory is 16.1GB. [2023-11-12 00:00:03,785 INFO L158 Benchmark]: Witness Printer took 4.11ms. Allocated memory is still 111.1MB. Free memory was 38.2MB in the beginning and 38.0MB in the end (delta: 224.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-12 00:00:03,794 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.9s, 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, 186 GetRequests, 158 SyntacticMatches, 0 SemanticMatches, 28 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 176 ImplicationChecksByTransitivity, 0.9s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.7s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 17 ConstructedInterpolants, 0 QuantifiedInterpolants, 85 SizeOfPredicates, 18 NumberOfNonLiveVariables, 173 ConjunctsInSsa, 23 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}, 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.54ms. Allocated memory is still 69.2MB. Free memory was 45.0MB in the beginning and 45.0MB in the end (delta: 46.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 695.23ms. Allocated memory is still 92.3MB. Free memory was 66.7MB in the beginning and 46.7MB in the end (delta: 20.0MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.89ms. Allocated memory is still 92.3MB. Free memory was 46.5MB in the beginning and 69.9MB in the end (delta: -23.4MB). Peak memory consumption was 6.0MB. Max. memory is 16.1GB. * Boogie Preprocessor took 54.46ms. Allocated memory is still 92.3MB. Free memory was 69.9MB in the beginning and 68.4MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 461.35ms. Allocated memory is still 92.3MB. Free memory was 68.4MB in the beginning and 51.2MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 2963.90ms. Allocated memory was 92.3MB in the beginning and 111.1MB in the end (delta: 18.9MB). Free memory was 50.8MB in the beginning and 38.2MB in the end (delta: 12.6MB). Peak memory consumption was 31.3MB. Max. memory is 16.1GB. * Witness Printer took 4.11ms. Allocated memory is still 111.1MB. Free memory was 38.2MB in the beginning and 38.0MB in the end (delta: 224.4kB). 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-12 00:00:03,819 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_7e0cf633-5eca-48e2-b7c2-cf9ef9afb146/bin/ukojak-verify-0OAaufAVZV/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