./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 0e0057cc 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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9 --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.4-dev-0e0057c [2023-12-02 23:58:48,900 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-12-02 23:58:48,970 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-12-02 23:58:48,974 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-12-02 23:58:48,975 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-12-02 23:58:48,997 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-12-02 23:58:48,998 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-12-02 23:58:48,999 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-12-02 23:58:48,999 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-12-02 23:58:49,000 INFO L153 SettingsManager]: * sizeof long=4 [2023-12-02 23:58:49,000 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-12-02 23:58:49,001 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-12-02 23:58:49,001 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-12-02 23:58:49,002 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-12-02 23:58:49,002 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-12-02 23:58:49,003 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-12-02 23:58:49,003 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-12-02 23:58:49,004 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-12-02 23:58:49,004 INFO L153 SettingsManager]: * sizeof long double=12 [2023-12-02 23:58:49,005 INFO L153 SettingsManager]: * Use constant arrays=true [2023-12-02 23:58:49,005 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-12-02 23:58:49,006 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-12-02 23:58:49,006 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-12-02 23:58:49,007 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-12-02 23:58:49,007 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 23:58:49,008 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-12-02 23:58:49,008 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-12-02 23:58:49,009 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-12-02 23:58:49,009 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-12-02 23:58:49,009 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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9 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-12-02 23:58:49,228 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-12-02 23:58:49,248 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-12-02 23:58:49,250 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-12-02 23:58:49,252 INFO L270 PluginConnector]: Initializing CDTParser... [2023-12-02 23:58:49,252 INFO L274 PluginConnector]: CDTParser initialized [2023-12-02 23:58:49,253 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-12-02 23:58:51,980 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-12-02 23:58:52,223 INFO L384 CDTParser]: Found 1 translation units. [2023-12-02 23:58:52,224 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-12-02 23:58:52,236 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data/14ace8070/ba3ab1b9204046c794f0fc1c860e0231/FLAG562b83a27 [2023-12-02 23:58:52,249 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data/14ace8070/ba3ab1b9204046c794f0fc1c860e0231 [2023-12-02 23:58:52,251 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-12-02 23:58:52,253 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-12-02 23:58:52,254 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-12-02 23:58:52,254 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-12-02 23:58:52,258 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-12-02 23:58:52,259 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,259 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@52528444 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52, skipping insertion in model container [2023-12-02 23:58:52,260 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,297 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-02 23:58:52,527 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 23:58:52,539 INFO L202 MainTranslator]: Completed pre-run [2023-12-02 23:58:52,571 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 23:58:52,594 INFO L206 MainTranslator]: Completed translation [2023-12-02 23:58:52,594 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52 WrapperNode [2023-12-02 23:58:52,595 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-12-02 23:58:52,595 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-12-02 23:58:52,596 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-12-02 23:58:52,596 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-12-02 23:58:52,601 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,614 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,631 INFO L138 Inliner]: procedures = 117, calls = 9, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 49 [2023-12-02 23:58:52,631 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-12-02 23:58:52,632 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-12-02 23:58:52,632 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-12-02 23:58:52,632 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-12-02 23:58:52,639 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,639 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,642 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,642 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,649 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,652 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,653 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,655 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,657 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-12-02 23:58:52,658 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-12-02 23:58:52,658 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-12-02 23:58:52,658 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-12-02 23:58:52,659 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:52,665 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 23:58:52,673 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 [2023-12-02 23:58:52,685 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-12-02 23:58:52,688 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-12-02 23:58:52,717 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-12-02 23:58:52,717 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-12-02 23:58:52,717 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-12-02 23:58:52,717 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-12-02 23:58:52,718 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-12-02 23:58:52,829 INFO L241 CfgBuilder]: Building ICFG [2023-12-02 23:58:52,831 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-12-02 23:58:52,951 INFO L282 CfgBuilder]: Performing block encoding [2023-12-02 23:58:52,998 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-12-02 23:58:52,998 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-12-02 23:58:52,999 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 11:58:52 BoogieIcfgContainer [2023-12-02 23:58:53,000 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-12-02 23:58:53,001 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-12-02 23:58:53,001 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-12-02 23:58:53,011 INFO L274 PluginConnector]: CodeCheck initialized [2023-12-02 23:58:53,011 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 11:58:52" (1/1) ... [2023-12-02 23:58:53,020 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-12-02 23:58:53,070 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:58:53,076 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2023-12-02 23:58:53,077 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2023-12-02 23:58:53,079 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-12-02 23:58:53,079 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:58:53,080 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 23:58:53,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:58:53,232 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:58:53,263 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:58:53,263 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-12-02 23:58:53,264 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-12-02 23:58:53,264 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-12-02 23:58:53,264 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:58:53,265 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 23:58:53,281 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:58:53,313 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:58:53,337 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:58:53,337 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 11 states and 12 transitions. [2023-12-02 23:58:53,337 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 12 transitions. [2023-12-02 23:58:53,338 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-12-02 23:58:53,338 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:58:53,338 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 23:58:53,355 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:58:53,453 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:58:53,590 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:58:53,591 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 12 states and 14 transitions. [2023-12-02 23:58:53,591 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 14 transitions. [2023-12-02 23:58:53,593 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-12-02 23:58:53,593 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:58:53,593 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 23:58:53,617 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:58:53,756 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:58:53,899 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:58:53,900 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 12 states and 15 transitions. [2023-12-02 23:58:53,900 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 15 transitions. [2023-12-02 23:58:53,900 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-12-02 23:58:53,900 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:58:53,901 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 23:58:53,924 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:58:54,079 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:58:54,316 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:58:54,317 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 13 states and 17 transitions. [2023-12-02 23:58:54,317 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 17 transitions. [2023-12-02 23:58:54,317 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-12-02 23:58:54,317 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:58:54,318 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-02 23:58:54,350 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:58:54,350 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 23:58:54,364 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:58:54,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:58:54,414 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 23:58:54,426 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:58:54,443 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2023-12-02 23:58:54,465 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-12-02 23:58:54,466 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-12-02 23:58:54,470 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 02.12 11:58:54 ImpRootNode [2023-12-02 23:58:54,470 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-12-02 23:58:54,471 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-12-02 23:58:54,471 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-12-02 23:58:54,471 INFO L274 PluginConnector]: Witness Printer initialized [2023-12-02 23:58:54,471 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 11:58:52" (3/4) ... [2023-12-02 23:58:54,473 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-12-02 23:58:54,474 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-12-02 23:58:54,475 INFO L158 Benchmark]: Toolchain (without parser) took 2221.89ms. Allocated memory is still 153.1MB. Free memory was 123.0MB in the beginning and 113.5MB in the end (delta: 9.5MB). Peak memory consumption was 10.3MB. Max. memory is 16.1GB. [2023-12-02 23:58:54,475 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 113.2MB. Free memory was 73.4MB in the beginning and 73.3MB in the end (delta: 118.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 23:58:54,476 INFO L158 Benchmark]: CACSL2BoogieTranslator took 340.73ms. Allocated memory is still 153.1MB. Free memory was 122.6MB in the beginning and 106.5MB in the end (delta: 16.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-12-02 23:58:54,476 INFO L158 Benchmark]: Boogie Procedure Inliner took 36.11ms. Allocated memory is still 153.1MB. Free memory was 106.5MB in the beginning and 104.5MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-12-02 23:58:54,477 INFO L158 Benchmark]: Boogie Preprocessor took 25.37ms. Allocated memory is still 153.1MB. Free memory was 104.5MB in the beginning and 103.2MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 23:58:54,477 INFO L158 Benchmark]: RCFGBuilder took 341.94ms. Allocated memory is still 153.1MB. Free memory was 103.2MB in the beginning and 88.4MB in the end (delta: 14.8MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-12-02 23:58:54,478 INFO L158 Benchmark]: CodeCheck took 1469.37ms. Allocated memory is still 153.1MB. Free memory was 88.4MB in the beginning and 114.4MB in the end (delta: -26.0MB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 23:58:54,478 INFO L158 Benchmark]: Witness Printer took 3.41ms. Allocated memory is still 153.1MB. Free memory was 114.4MB in the beginning and 113.5MB in the end (delta: 980.1kB). There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 23:58:54,482 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: 1.4s, 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.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 13 mSDsluCounter, 30 SdHoareTripleChecker+Invalid, 0.2s 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.5s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s 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={12213:0}, arg={12213:0}, arg={12213: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={12213:0}, arg={12213:0}, arg={12213: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={12213: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.18ms. Allocated memory is still 113.2MB. Free memory was 73.4MB in the beginning and 73.3MB in the end (delta: 118.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 340.73ms. Allocated memory is still 153.1MB. Free memory was 122.6MB in the beginning and 106.5MB in the end (delta: 16.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 36.11ms. Allocated memory is still 153.1MB. Free memory was 106.5MB in the beginning and 104.5MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 25.37ms. Allocated memory is still 153.1MB. Free memory was 104.5MB in the beginning and 103.2MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 341.94ms. Allocated memory is still 153.1MB. Free memory was 103.2MB in the beginning and 88.4MB in the end (delta: 14.8MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 1469.37ms. Allocated memory is still 153.1MB. Free memory was 88.4MB in the beginning and 114.4MB in the end (delta: -26.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.41ms. Allocated memory is still 153.1MB. Free memory was 114.4MB in the beginning and 113.5MB in the end (delta: 980.1kB). 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-12-02 23:58:54,504 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9 --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.4-dev-0e0057c [2023-12-02 23:58:56,488 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-12-02 23:58:56,554 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2023-12-02 23:58:56,582 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-12-02 23:58:56,583 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-12-02 23:58:56,584 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-12-02 23:58:56,584 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-12-02 23:58:56,585 INFO L153 SettingsManager]: * sizeof long=4 [2023-12-02 23:58:56,585 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-12-02 23:58:56,586 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-12-02 23:58:56,586 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-12-02 23:58:56,587 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-12-02 23:58:56,588 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-12-02 23:58:56,588 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-12-02 23:58:56,588 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-12-02 23:58:56,589 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-12-02 23:58:56,589 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-12-02 23:58:56,590 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-12-02 23:58:56,590 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-12-02 23:58:56,591 INFO L153 SettingsManager]: * sizeof long double=12 [2023-12-02 23:58:56,591 INFO L153 SettingsManager]: * Use constant arrays=true [2023-12-02 23:58:56,592 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-12-02 23:58:56,593 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-12-02 23:58:56,593 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-12-02 23:58:56,594 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-12-02 23:58:56,594 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-12-02 23:58:56,594 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-12-02 23:58:56,595 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 23:58:56,595 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-12-02 23:58:56,596 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-12-02 23:58:56,596 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-12-02 23:58:56,596 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-12-02 23:58:56,597 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-12-02 23:58:56,597 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-12-02 23:58:56,597 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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/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_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9 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-12-02 23:58:56,910 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-12-02 23:58:56,928 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-12-02 23:58:56,930 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-12-02 23:58:56,932 INFO L270 PluginConnector]: Initializing CDTParser... [2023-12-02 23:58:56,932 INFO L274 PluginConnector]: CDTParser initialized [2023-12-02 23:58:56,933 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-12-02 23:58:59,756 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-12-02 23:58:59,991 INFO L384 CDTParser]: Found 1 translation units. [2023-12-02 23:58:59,992 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/sv-benchmarks/c/array-memsafety-realloc/array-realloc-3.i [2023-12-02 23:59:00,005 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data/1399be2f0/6e21c1f4f6bc47c1a56dce69ad031a6f/FLAGf8a388389 [2023-12-02 23:59:00,017 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/data/1399be2f0/6e21c1f4f6bc47c1a56dce69ad031a6f [2023-12-02 23:59:00,019 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-12-02 23:59:00,020 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-12-02 23:59:00,022 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-12-02 23:59:00,022 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-12-02 23:59:00,025 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-12-02 23:59:00,026 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,027 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3fc6b1d4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00, skipping insertion in model container [2023-12-02 23:59:00,027 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,067 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-02 23:59:00,341 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 23:59:00,358 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-12-02 23:59:00,366 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-02 23:59:00,393 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 23:59:00,398 INFO L202 MainTranslator]: Completed pre-run [2023-12-02 23:59:00,431 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-02 23:59:00,464 INFO L206 MainTranslator]: Completed translation [2023-12-02 23:59:00,465 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00 WrapperNode [2023-12-02 23:59:00,465 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-12-02 23:59:00,466 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-12-02 23:59:00,466 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-12-02 23:59:00,466 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-12-02 23:59:00,474 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,489 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,510 INFO L138 Inliner]: procedures = 118, calls = 9, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 49 [2023-12-02 23:59:00,511 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-12-02 23:59:00,512 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-12-02 23:59:00,512 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-12-02 23:59:00,512 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-12-02 23:59:00,521 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,521 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,525 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,525 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,533 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,536 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,538 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,540 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,543 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-12-02 23:59:00,544 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-12-02 23:59:00,544 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-12-02 23:59:00,544 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-12-02 23:59:00,545 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,551 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-12-02 23:59:00,566 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 [2023-12-02 23:59:00,578 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-12-02 23:59:00,598 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-12-02 23:59:00,628 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-12-02 23:59:00,628 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-12-02 23:59:00,628 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-12-02 23:59:00,629 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-12-02 23:59:00,630 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-12-02 23:59:00,768 INFO L241 CfgBuilder]: Building ICFG [2023-12-02 23:59:00,770 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-12-02 23:59:00,918 INFO L282 CfgBuilder]: Performing block encoding [2023-12-02 23:59:00,970 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-12-02 23:59:00,971 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-12-02 23:59:00,972 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 11:59:00 BoogieIcfgContainer [2023-12-02 23:59:00,972 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-12-02 23:59:00,973 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-12-02 23:59:00,973 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-12-02 23:59:00,983 INFO L274 PluginConnector]: CodeCheck initialized [2023-12-02 23:59:00,984 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 11:59:00" (1/1) ... [2023-12-02 23:59:00,993 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-12-02 23:59:01,037 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:59:01,041 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2023-12-02 23:59:01,042 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2023-12-02 23:59:01,044 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-12-02 23:59:01,044 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:59:01,044 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 23:59:01,044 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 23:59:01,080 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 23:59:01,081 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-12-02 23:59:01,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,160 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-12-02 23:59:01,173 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,174 INFO L262 TraceCheckSpWp]: Trace formula consists of 16 conjuncts, 2 conjunts are in the unsatisfiable core [2023-12-02 23:59:01,178 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-12-02 23:59:01,210 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:59:01,218 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-12-02 23:59:01,249 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:59:01,250 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-12-02 23:59:01,250 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-12-02 23:59:01,250 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-12-02 23:59:01,250 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:59:01,251 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 23:59:01,251 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 23:59:01,252 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 23:59:01,264 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-12-02 23:59:01,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,318 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-12-02 23:59:01,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,331 INFO L262 TraceCheckSpWp]: Trace formula consists of 27 conjuncts, 2 conjunts are in the unsatisfiable core [2023-12-02 23:59:01,332 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-12-02 23:59:01,342 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:59:01,345 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2023-12-02 23:59:01,373 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:59:01,373 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 11 states and 12 transitions. [2023-12-02 23:59:01,373 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 12 transitions. [2023-12-02 23:59:01,374 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-12-02 23:59:01,374 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:59:01,374 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 23:59:01,374 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 23:59:01,375 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 23:59:01,380 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-12-02 23:59:01,459 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,460 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-12-02 23:59:01,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,481 INFO L262 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 4 conjunts are in the unsatisfiable core [2023-12-02 23:59:01,482 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-12-02 23:59:01,582 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:59:01,584 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-12-02 23:59:01,585 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-12-02 23:59:01,750 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:59:01,750 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 12 states and 14 transitions. [2023-12-02 23:59:01,750 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 14 transitions. [2023-12-02 23:59:01,752 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-12-02 23:59:01,752 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:59:01,752 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 23:59:01,753 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 23:59:01,754 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 23:59:01,755 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-12-02 23:59:01,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,835 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-12-02 23:59:01,860 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:01,861 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 8 conjunts are in the unsatisfiable core [2023-12-02 23:59:01,864 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-12-02 23:59:01,948 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-12-02 23:59:01,949 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-12-02 23:59:01,951 WARN L561 QuantifierPusher]: no eliminatee completely removed, nonetheless the elimination was considered successful [2023-12-02 23:59:01,967 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-12-02 23:59:01,975 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-12-02 23:59:01,982 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-12-02 23:59:01,983 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-12-02 23:59:01,986 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-12-02 23:59:01,987 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-12-02 23:59:02,018 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:59:02,020 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2023-12-02 23:59:02,276 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:59:02,277 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 11 states and 13 transitions. [2023-12-02 23:59:02,277 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 13 transitions. [2023-12-02 23:59:02,277 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-12-02 23:59:02,277 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:59:02,278 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 23:59:02,278 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 23:59:02,279 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 23:59:02,281 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2023-12-02 23:59:02,360 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:02,361 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-12-02 23:59:02,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-02 23:59:02,383 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2023-12-02 23:59:02,385 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-12-02 23:59:02,514 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-12-02 23:59:02,520 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-12-02 23:59:02,521 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-12-02 23:59:02,526 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 2 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-12-02 23:59:02,539 INFO L160 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size [2023-12-02 23:59:02,540 INFO L165 QuantifierPusher]: treesize reduction 0, result has 100.0 percent of original size 1 [2023-12-02 23:59:02,546 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-12-02 23:59:02,547 INFO L378 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-12-02 23:59:02,597 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-12-02 23:59:02,600 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2023-12-02 23:59:02,600 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2023-12-02 23:59:02,945 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-12-02 23:59:02,945 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 12 states and 15 transitions. [2023-12-02 23:59:02,946 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 15 transitions. [2023-12-02 23:59:02,946 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-12-02 23:59:02,946 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-12-02 23:59:02,947 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-12-02 23:59:02,947 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 [2023-12-02 23:59:02,948 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-12-02 23:59:02,949 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2023-12-02 23:59:03,048 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:59:03,049 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 23:59:03,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:59:03,148 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:59:03,148 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-02 23:59:03,168 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-02 23:59:03,192 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2023-12-02 23:59:03,192 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2023-12-02 23:59:03,217 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-12-02 23:59:03,218 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #Ultimate.C_realloc_#res#1 [2023-12-02 23:59:03,223 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 02.12 11:59:03 ImpRootNode [2023-12-02 23:59:03,223 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-12-02 23:59:03,223 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-12-02 23:59:03,224 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-12-02 23:59:03,224 INFO L274 PluginConnector]: Witness Printer initialized [2023-12-02 23:59:03,224 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 11:59:00" (3/4) ... [2023-12-02 23:59:03,226 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-12-02 23:59:03,228 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-12-02 23:59:03,229 INFO L158 Benchmark]: Toolchain (without parser) took 3207.66ms. Allocated memory was 119.5MB in the beginning and 144.7MB in the end (delta: 25.2MB). Free memory was 95.0MB in the beginning and 102.0MB in the end (delta: -7.1MB). Peak memory consumption was 20.8MB. Max. memory is 16.1GB. [2023-12-02 23:59:03,229 INFO L158 Benchmark]: CDTParser took 0.36ms. Allocated memory is still 73.4MB. Free memory is still 50.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 23:59:03,230 INFO L158 Benchmark]: CACSL2BoogieTranslator took 443.57ms. Allocated memory is still 119.5MB. Free memory was 94.7MB in the beginning and 74.2MB in the end (delta: 20.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2023-12-02 23:59:03,230 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.16ms. Allocated memory is still 119.5MB. Free memory was 74.2MB in the beginning and 72.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-12-02 23:59:03,231 INFO L158 Benchmark]: Boogie Preprocessor took 31.55ms. Allocated memory is still 119.5MB. Free memory was 72.1MB in the beginning and 70.6MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-12-02 23:59:03,231 INFO L158 Benchmark]: RCFGBuilder took 428.43ms. Allocated memory is still 119.5MB. Free memory was 70.6MB in the beginning and 82.8MB in the end (delta: -12.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-12-02 23:59:03,232 INFO L158 Benchmark]: CodeCheck took 2249.81ms. Allocated memory was 119.5MB in the beginning and 144.7MB in the end (delta: 25.2MB). Free memory was 82.8MB in the beginning and 102.0MB in the end (delta: -19.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2023-12-02 23:59:03,232 INFO L158 Benchmark]: Witness Printer took 4.18ms. Allocated memory is still 144.7MB. Free memory is still 102.0MB. There was no memory consumed. Max. memory is 16.1GB. [2023-12-02 23:59:03,235 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.2s, 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.4s 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.8s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 17 ConstructedInterpolants, 0 QuantifiedInterpolants, 85 SizeOfPredicates, 18 NumberOfNonLiveVariables, 163 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}, 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.36ms. Allocated memory is still 73.4MB. Free memory is still 50.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 443.57ms. Allocated memory is still 119.5MB. Free memory was 94.7MB in the beginning and 74.2MB in the end (delta: 20.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 45.16ms. Allocated memory is still 119.5MB. Free memory was 74.2MB in the beginning and 72.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.55ms. Allocated memory is still 119.5MB. Free memory was 72.1MB in the beginning and 70.6MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 428.43ms. Allocated memory is still 119.5MB. Free memory was 70.6MB in the beginning and 82.8MB in the end (delta: -12.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * CodeCheck took 2249.81ms. Allocated memory was 119.5MB in the beginning and 144.7MB in the end (delta: 25.2MB). Free memory was 82.8MB in the beginning and 102.0MB in the end (delta: -19.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 4.18ms. Allocated memory is still 144.7MB. Free memory is still 102.0MB. 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-12-02 23:59:03,254 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_990447b3-631a-497e-ba9b-27692d701b16/bin/ukojak-verify-Qdu7aM0XO9/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample