./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 30e01a73 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash ef3dcd2558e22d4d1b628613d50eb3ab943d89de0514f54496f8c445070b9e01 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 20:21:55,722 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 20:21:55,835 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-11-23 20:21:55,839 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 20:21:55,840 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-23 20:21:55,881 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 20:21:55,883 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 20:21:55,884 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 20:21:55,884 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 20:21:55,889 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-23 20:21:55,890 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 20:21:55,891 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-23 20:21:55,891 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 20:21:55,893 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-23 20:21:55,894 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-23 20:21:55,894 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-23 20:21:55,894 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 20:21:55,895 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 20:21:55,895 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-23 20:21:55,896 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 20:21:55,896 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-23 20:21:55,897 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-23 20:21:55,898 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-23 20:21:55,899 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 20:21:55,899 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:21:55,900 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 20:21:55,900 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 20:21:55,901 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-23 20:21:55,901 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 20:21:55,902 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_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> ef3dcd2558e22d4d1b628613d50eb3ab943d89de0514f54496f8c445070b9e01 [2023-11-23 20:21:56,165 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 20:21:56,193 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 20:21:56,196 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 20:21:56,197 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 20:21:56,198 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 20:21:56,199 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/../../sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i [2023-11-23 20:21:59,144 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 20:21:59,351 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 20:21:59,352 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i [2023-11-23 20:21:59,360 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/data/1d51b4083/ebdba68567014e579d0f0b63595ce4ab/FLAGddbbec4cc [2023-11-23 20:21:59,381 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/data/1d51b4083/ebdba68567014e579d0f0b63595ce4ab [2023-11-23 20:21:59,387 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 20:21:59,389 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 20:21:59,393 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 20:21:59,393 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 20:21:59,398 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 20:21:59,399 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,400 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@291dbdd2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59, skipping insertion in model container [2023-11-23 20:21:59,400 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,425 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:21:59,620 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:21:59,632 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 20:21:59,647 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:21:59,662 INFO L206 MainTranslator]: Completed translation [2023-11-23 20:21:59,663 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59 WrapperNode [2023-11-23 20:21:59,663 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 20:21:59,664 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 20:21:59,664 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 20:21:59,665 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 20:21:59,672 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,683 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,706 INFO L138 Inliner]: procedures = 15, calls = 19, calls flagged for inlining = 7, calls inlined = 8, statements flattened = 37 [2023-11-23 20:21:59,706 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 20:21:59,707 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 20:21:59,707 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 20:21:59,707 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 20:21:59,716 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,716 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,718 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,719 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,725 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,726 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,727 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,728 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,732 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 20:21:59,733 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 20:21:59,733 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 20:21:59,733 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 20:21:59,734 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:21:59" (1/1) ... [2023-11-23 20:21:59,740 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:21:59,758 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/z3 [2023-11-23 20:21:59,771 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-23 20:21:59,780 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-23 20:21:59,812 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 20:21:59,812 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-23 20:21:59,813 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 20:21:59,813 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-23 20:21:59,813 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 20:21:59,813 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 20:21:59,814 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-23 20:21:59,814 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 20:21:59,884 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 20:21:59,886 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 20:22:00,089 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 20:22:00,122 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 20:22:00,122 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 20:22:00,124 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:22:00 BoogieIcfgContainer [2023-11-23 20:22:00,124 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 20:22:00,125 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-23 20:22:00,125 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-23 20:22:00,135 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-23 20:22:00,140 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:22:00" (1/1) ... [2023-11-23 20:22:00,148 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 20:22:00,205 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:00,211 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 25 states and 26 transitions. [2023-11-23 20:22:00,212 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 26 transitions. [2023-11-23 20:22:00,214 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-23 20:22:00,214 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:00,214 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:00,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:00,398 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:00,428 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:00,429 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 24 states and 25 transitions. [2023-11-23 20:22:00,429 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 25 transitions. [2023-11-23 20:22:00,430 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-23 20:22:00,430 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:00,430 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:00,446 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:00,568 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:00,653 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:00,654 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 23 states and 24 transitions. [2023-11-23 20:22:00,654 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 24 transitions. [2023-11-23 20:22:00,655 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-23 20:22:00,655 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:00,655 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:00,677 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:00,780 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:00,809 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:00,810 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 22 states and 23 transitions. [2023-11-23 20:22:00,810 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2023-11-23 20:22:00,810 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-23 20:22:00,810 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:00,811 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:00,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:01,044 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:01,341 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:01,341 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 21 states and 22 transitions. [2023-11-23 20:22:01,342 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2023-11-23 20:22:01,342 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:22:01,342 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:01,342 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:01,352 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:01,365 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:01,382 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:01,382 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 20 transitions. [2023-11-23 20:22:01,383 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 20 transitions. [2023-11-23 20:22:01,383 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:22:01,383 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:01,383 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:01,392 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:01,467 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:01,525 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:01,526 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 19 transitions. [2023-11-23 20:22:01,526 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 19 transitions. [2023-11-23 20:22:01,526 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-23 20:22:01,527 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:01,527 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:01,535 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:01,640 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:01,975 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:01,975 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 17 transitions. [2023-11-23 20:22:01,976 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 17 transitions. [2023-11-23 20:22:01,976 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-23 20:22:01,976 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:01,976 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:01,986 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:02,130 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:02,794 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:02,794 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 16 transitions. [2023-11-23 20:22:02,794 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2023-11-23 20:22:02,795 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-23 20:22:02,795 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:02,795 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:02,810 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:02,959 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:03,859 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:03,859 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 15 states and 15 transitions. [2023-11-23 20:22:03,859 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 15 transitions. [2023-11-23 20:22:03,860 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-23 20:22:03,860 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:03,860 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:03,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:04,105 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:04,506 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:04,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 13 states and 12 transitions. [2023-11-23 20:22:04,506 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 12 transitions. [2023-11-23 20:22:04,506 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-23 20:22:04,507 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:04,507 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:04,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:04,674 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:05,033 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:05,033 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 12 states and 11 transitions. [2023-11-23 20:22:05,034 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 11 transitions. [2023-11-23 20:22:05,034 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-23 20:22:05,034 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:05,034 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:05,044 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:05,056 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:05,515 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:05,516 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 11 states and 10 transitions. [2023-11-23 20:22:05,516 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 10 transitions. [2023-11-23 20:22:05,516 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-23 20:22:05,516 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:22:05,516 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:22:05,535 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:22:05,719 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:22:07,950 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:22:07,950 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 10 states and 9 transitions. [2023-11-23 20:22:07,951 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 9 transitions. [2023-11-23 20:22:07,951 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2023-11-23 20:22:07,951 WARN L420 CodeCheckObserver]: This Program is SAFE, Check terminated with 14 iterations. [2023-11-23 20:22:07,960 INFO L751 CodeCheckObserver]: All specifications hold 13 specifications checked. All of them hold [2023-11-23 20:22:08,025 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 08:22:08 ImpRootNode [2023-11-23 20:22:08,025 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-23 20:22:08,026 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 20:22:08,026 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 20:22:08,026 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 20:22:08,027 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:22:00" (3/4) ... [2023-11-23 20:22:08,029 INFO L137 WitnessPrinter]: Generating witness for correct program [2023-11-23 20:22:08,037 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 19 nodes and edges [2023-11-23 20:22:08,038 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 9 nodes and edges [2023-11-23 20:22:08,038 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2023-11-23 20:22:08,038 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2023-11-23 20:22:08,132 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/witness.graphml [2023-11-23 20:22:08,133 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/witness.yml [2023-11-23 20:22:08,133 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 20:22:08,134 INFO L158 Benchmark]: Toolchain (without parser) took 8744.86ms. Allocated memory was 178.3MB in the beginning and 213.9MB in the end (delta: 35.7MB). Free memory was 130.8MB in the beginning and 73.0MB in the end (delta: 57.8MB). Peak memory consumption was 95.1MB. Max. memory is 16.1GB. [2023-11-23 20:22:08,134 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 136.3MB. Free memory is still 83.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:22:08,135 INFO L158 Benchmark]: CACSL2BoogieTranslator took 270.89ms. Allocated memory is still 178.3MB. Free memory was 130.8MB in the beginning and 120.8MB in the end (delta: 9.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2023-11-23 20:22:08,135 INFO L158 Benchmark]: Boogie Procedure Inliner took 42.36ms. Allocated memory is still 178.3MB. Free memory was 120.8MB in the beginning and 119.2MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:22:08,136 INFO L158 Benchmark]: Boogie Preprocessor took 25.10ms. Allocated memory is still 178.3MB. Free memory was 119.2MB in the beginning and 118.1MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:22:08,136 INFO L158 Benchmark]: RCFGBuilder took 391.39ms. Allocated memory is still 178.3MB. Free memory was 118.1MB in the beginning and 105.2MB in the end (delta: 12.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-23 20:22:08,137 INFO L158 Benchmark]: CodeCheck took 7900.29ms. Allocated memory was 178.3MB in the beginning and 213.9MB in the end (delta: 35.7MB). Free memory was 105.2MB in the beginning and 77.2MB in the end (delta: 28.0MB). Peak memory consumption was 65.7MB. Max. memory is 16.1GB. [2023-11-23 20:22:08,137 INFO L158 Benchmark]: Witness Printer took 107.23ms. Allocated memory is still 213.9MB. Free memory was 77.2MB in the beginning and 73.0MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-23 20:22:08,139 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, 25 locations, 13 error locations. Started 1 CEGAR loops. OverallTime: 7.8s, OverallIterations: 14, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 217 SdHoareTripleChecker+Valid, 1.7s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 149 mSDsluCounter, 79 SdHoareTripleChecker+Invalid, 1.5s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 50 mSDsCounter, 297 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 858 IncrementalHoareTripleChecker+Invalid, 1155 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 297 mSolverCounterUnsat, 29 mSDtfsCounter, 858 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 529 GetRequests, 393 SyntacticMatches, 4 SemanticMatches, 132 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6057 ImplicationChecksByTransitivity, 6.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.6s InterpolantComputationTime, 70 NumberOfCodeBlocks, 70 NumberOfCodeBlocksAsserted, 13 NumberOfCheckSat, 57 ConstructedInterpolants, 0 QuantifiedInterpolants, 284 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 13 InterpolantComputations, 13 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 - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 3]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 3]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 33]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - AllSpecificationsHoldResult: All specifications hold 13 specifications checked. All of them hold * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.24ms. Allocated memory is still 136.3MB. Free memory is still 83.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 270.89ms. Allocated memory is still 178.3MB. Free memory was 130.8MB in the beginning and 120.8MB in the end (delta: 9.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 42.36ms. Allocated memory is still 178.3MB. Free memory was 120.8MB in the beginning and 119.2MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 25.10ms. Allocated memory is still 178.3MB. Free memory was 119.2MB in the beginning and 118.1MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 391.39ms. Allocated memory is still 178.3MB. Free memory was 118.1MB in the beginning and 105.2MB in the end (delta: 12.9MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * CodeCheck took 7900.29ms. Allocated memory was 178.3MB in the beginning and 213.9MB in the end (delta: 35.7MB). Free memory was 105.2MB in the beginning and 77.2MB in the end (delta: 28.0MB). Peak memory consumption was 65.7MB. Max. memory is 16.1GB. * Witness Printer took 107.23ms. Allocated memory is still 213.9MB. Free memory was 77.2MB in the beginning and 73.0MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be correct! [2023-11-23 20:22:08,178 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_23ab702a-0c5b-4f1c-bbce-0f2fa241b7fa/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE