./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version cf1a7837 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 53eb964f347d54908ecbd10f35e9b63fbb661e4a7ab55b977edead5834613d23 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-cf1a783 [2023-11-12 00:02:16,988 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-12 00:02:17,064 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf [2023-11-12 00:02:17,069 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-12 00:02:17,070 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-12 00:02:17,095 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-12 00:02:17,096 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-12 00:02:17,097 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-12 00:02:17,098 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-12 00:02:17,099 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-12 00:02:17,099 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-12 00:02:17,100 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-12 00:02:17,100 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-12 00:02:17,101 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-12 00:02:17,102 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-12 00:02:17,102 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-12 00:02:17,103 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-12 00:02:17,103 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-12 00:02:17,104 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-12 00:02:17,105 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-12 00:02:17,105 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-12 00:02:17,106 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-12 00:02:17,107 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-12 00:02:17,107 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-12 00:02:17,108 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-12 00:02:17,108 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_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 53eb964f347d54908ecbd10f35e9b63fbb661e4a7ab55b977edead5834613d23 [2023-11-12 00:02:17,378 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-12 00:02:17,413 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-12 00:02:17,415 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-12 00:02:17,417 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-12 00:02:17,418 INFO L274 PluginConnector]: CDTParser initialized [2023-11-12 00:02:17,420 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i [2023-11-12 00:02:20,527 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-12 00:02:20,871 INFO L384 CDTParser]: Found 1 translation units. [2023-11-12 00:02:20,872 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i [2023-11-12 00:02:20,890 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data/36dbe97e2/91444a81712b4399971f712cba667d9a/FLAG9aaba0ba6 [2023-11-12 00:02:20,907 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data/36dbe97e2/91444a81712b4399971f712cba667d9a [2023-11-12 00:02:20,910 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-12 00:02:20,912 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-12 00:02:20,914 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-12 00:02:20,914 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-12 00:02:20,921 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-12 00:02:20,925 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 12:02:20" (1/1) ... [2023-11-12 00:02:20,926 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@657c5ca7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:20, skipping insertion in model container [2023-11-12 00:02:20,927 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 12:02:20" (1/1) ... [2023-11-12 00:02:20,973 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-12 00:02:21,290 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:02:21,306 INFO L202 MainTranslator]: Completed pre-run [2023-11-12 00:02:21,375 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:02:21,409 INFO L206 MainTranslator]: Completed translation [2023-11-12 00:02:21,409 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21 WrapperNode [2023-11-12 00:02:21,410 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-12 00:02:21,411 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-12 00:02:21,411 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-12 00:02:21,411 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-12 00:02:21,419 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,433 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,505 INFO L138 Inliner]: procedures = 111, calls = 7, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 57 [2023-11-12 00:02:21,505 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-12 00:02:21,511 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-12 00:02:21,511 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-12 00:02:21,512 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-12 00:02:21,519 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,520 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,541 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,542 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,553 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,558 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,560 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,561 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,564 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-12 00:02:21,565 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-12 00:02:21,565 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-12 00:02:21,566 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-12 00:02:21,567 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:21,573 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-12 00:02:21,587 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-12 00:02:21,600 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-12 00:02:21,616 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-12 00:02:21,636 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-12 00:02:21,636 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-12 00:02:21,636 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-12 00:02:21,636 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-12 00:02:21,637 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-12 00:02:21,737 INFO L236 CfgBuilder]: Building ICFG [2023-11-12 00:02:21,739 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-12 00:02:21,918 INFO L277 CfgBuilder]: Performing block encoding [2023-11-12 00:02:21,986 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-12 00:02:21,986 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-12 00:02:21,990 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 12:02:21 BoogieIcfgContainer [2023-11-12 00:02:21,990 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-12 00:02:21,991 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-12 00:02:21,991 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-12 00:02:22,002 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-12 00:02:22,003 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.11 12:02:21" (1/1) ... [2023-11-12 00:02:22,012 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-12 00:02:22,065 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:22,072 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 13 states and 16 transitions. [2023-11-12 00:02:22,073 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 16 transitions. [2023-11-12 00:02:22,075 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-12 00:02:22,075 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:22,076 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:22,231 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:22,525 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:22,611 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:22,612 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 15 states and 18 transitions. [2023-11-12 00:02:22,612 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 18 transitions. [2023-11-12 00:02:22,612 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-12 00:02:22,613 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:22,613 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:22,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:23,323 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:23,805 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:23,805 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 17 states and 20 transitions. [2023-11-12 00:02:23,806 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 20 transitions. [2023-11-12 00:02:23,808 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-12 00:02:23,808 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:23,808 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:23,822 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:23,957 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:24,253 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:24,254 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 17 states and 19 transitions. [2023-11-12 00:02:24,254 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 19 transitions. [2023-11-12 00:02:24,254 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-12 00:02:24,254 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:24,255 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:24,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:24,503 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:25,262 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:25,263 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 22 states and 26 transitions. [2023-11-12 00:02:25,263 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 26 transitions. [2023-11-12 00:02:25,264 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-12 00:02:25,264 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:25,264 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:25,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:26,292 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:28,260 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:28,261 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 26 states and 39 transitions. [2023-11-12 00:02:28,261 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 39 transitions. [2023-11-12 00:02:28,261 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-12 00:02:28,261 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:28,262 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:28,274 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:28,378 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:29,690 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:29,691 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 28 states and 45 transitions. [2023-11-12 00:02:29,691 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 45 transitions. [2023-11-12 00:02:29,691 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-12 00:02:29,691 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:29,692 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:29,713 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:29,772 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:30,191 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:30,191 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 30 states and 48 transitions. [2023-11-12 00:02:30,192 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 48 transitions. [2023-11-12 00:02:30,192 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-12 00:02:30,192 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:30,193 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:30,212 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:31,801 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 8 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:39,524 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:39,528 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 75 states to 38 states and 75 transitions. [2023-11-12 00:02:39,529 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 75 transitions. [2023-11-12 00:02:39,531 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-12 00:02:39,531 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:39,532 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:39,551 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:39,644 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2023-11-12 00:02:40,844 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:40,844 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 74 states to 38 states and 74 transitions. [2023-11-12 00:02:40,845 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 74 transitions. [2023-11-12 00:02:40,845 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-12 00:02:40,845 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:40,846 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:40,856 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:40,914 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 2 proven. 3 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2023-11-12 00:02:42,025 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:42,026 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 77 states to 39 states and 77 transitions. [2023-11-12 00:02:42,026 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 77 transitions. [2023-11-12 00:02:42,028 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2023-11-12 00:02:42,028 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:42,028 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:42,047 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:42,142 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 4 trivial. 0 not checked. [2023-11-12 00:02:42,768 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:42,768 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 77 states to 40 states and 77 transitions. [2023-11-12 00:02:42,769 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 77 transitions. [2023-11-12 00:02:42,769 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-12 00:02:42,770 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:42,770 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:42,781 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:42,837 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 3 proven. 5 refuted. 0 times theorem prover too weak. 10 trivial. 0 not checked. [2023-11-12 00:02:43,851 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:43,852 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 70 states to 38 states and 70 transitions. [2023-11-12 00:02:43,852 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 70 transitions. [2023-11-12 00:02:43,853 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-12 00:02:43,853 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:43,853 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:43,874 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:46,783 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 2 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:53,777 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:53,778 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 75 states to 40 states and 75 transitions. [2023-11-12 00:02:53,778 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 75 transitions. [2023-11-12 00:02:53,779 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-12 00:02:53,780 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:53,780 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:53,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:55,038 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 2 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:02:57,202 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:57,203 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 79 states to 41 states and 79 transitions. [2023-11-12 00:02:57,203 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 79 transitions. [2023-11-12 00:02:57,204 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-12 00:02:57,204 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:57,205 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:57,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:57,293 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 3 proven. 5 refuted. 0 times theorem prover too weak. 10 trivial. 0 not checked. [2023-11-12 00:02:58,320 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:02:58,321 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 78 states to 41 states and 78 transitions. [2023-11-12 00:02:58,321 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 78 transitions. [2023-11-12 00:02:58,322 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-12 00:02:58,322 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-12 00:02:58,322 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-12 00:02:58,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-12 00:02:58,676 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 2 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-12 00:03:01,223 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-12 00:03:01,223 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 17 states and 25 transitions. [2023-11-12 00:03:01,223 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 25 transitions. [2023-11-12 00:03:01,224 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2023-11-12 00:03:01,224 WARN L420 CodeCheckObserver]: This Program is SAFE, Check terminated with 17 iterations. [2023-11-12 00:03:01,233 INFO L753 CodeCheckObserver]: All specifications hold 3 specifications checked. All of them hold [2023-11-12 00:03:01,852 INFO L560 CodeCheckObserver]: Invariant with dag size 6 [2023-11-12 00:03:01,856 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck has thrown an exception: java.lang.IllegalArgumentException: unknown symbol (@diff (Array Int Int) (Array Int Int) Int) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.getBinaryOperator(Term2Expression.java:587) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translate(Term2Expression.java:272) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translate(Term2Expression.java:137) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translateSelect(Term2Expression.java:360) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translate(Term2Expression.java:163) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translate(Term2Expression.java:137) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translate(Term2Expression.java:173) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.translate(Term2Expression.java:137) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator.translateExpression(RCFGBacktranslator.java:401) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator.translateExpression(RCFGBacktranslator.java:1) at de.uni_freiburg.informatik.ultimate.core.lib.translation.DefaultTranslator.translateExpressionWithContext(DefaultTranslator.java:165) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ModelTranslationContainer.translateExpressionWithContext(ModelTranslationContainer.java:101) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ModelTranslationContainer.translateExpressionWithContextToString(ModelTranslationContainer.java:91) at de.uni_freiburg.informatik.ultimate.core.lib.results.InvariantResult.getLongDescription(InvariantResult.java:67) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ResultService.reportResult(ResultService.java:86) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.reportResult(CodeCheckObserver.java:792) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.createInvariantResults(CodeCheckObserver.java:564) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.process(CodeCheckObserver.java:521) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.CFGWalker.runObserver(CFGWalker.java:57) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-12 00:03:01,860 INFO L158 Benchmark]: Toolchain (without parser) took 40947.44ms. Allocated memory was 174.1MB in the beginning and 218.1MB in the end (delta: 44.0MB). Free memory was 116.3MB in the beginning and 177.7MB in the end (delta: -61.3MB). Peak memory consumption was 107.8MB. Max. memory is 16.1GB. [2023-11-12 00:03:01,860 INFO L158 Benchmark]: CDTParser took 0.39ms. Allocated memory is still 123.7MB. Free memory was 94.6MB in the beginning and 94.5MB in the end (delta: 25.3kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-12 00:03:01,861 INFO L158 Benchmark]: CACSL2BoogieTranslator took 496.05ms. Allocated memory is still 174.1MB. Free memory was 116.0MB in the beginning and 100.2MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-12 00:03:01,862 INFO L158 Benchmark]: Boogie Procedure Inliner took 94.67ms. Allocated memory is still 174.1MB. Free memory was 100.2MB in the beginning and 142.8MB in the end (delta: -42.6MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-12 00:03:01,862 INFO L158 Benchmark]: Boogie Preprocessor took 53.33ms. Allocated memory is still 174.1MB. Free memory was 142.8MB in the beginning and 141.0MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-12 00:03:01,863 INFO L158 Benchmark]: RCFGBuilder took 425.40ms. Allocated memory is still 174.1MB. Free memory was 141.0MB in the beginning and 126.9MB in the end (delta: 14.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-12 00:03:01,864 INFO L158 Benchmark]: CodeCheck took 39867.50ms. Allocated memory was 174.1MB in the beginning and 218.1MB in the end (delta: 44.0MB). Free memory was 126.3MB in the beginning and 177.7MB in the end (delta: -51.4MB). Peak memory consumption was 117.0MB. Max. memory is 16.1GB. [2023-11-12 00:03:01,867 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, 13 locations, 3 error locations. Started 1 CEGAR loops. OverallTime: 39.2s, OverallIterations: 17, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 629 SdHoareTripleChecker+Valid, 7.9s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 431 mSDsluCounter, 332 SdHoareTripleChecker+Invalid, 6.9s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 204 mSDsCounter, 626 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 2695 IncrementalHoareTripleChecker+Invalid, 3321 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 626 mSolverCounterUnsat, 128 mSDtfsCounter, 2695 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1937 GetRequests, 1681 SyntacticMatches, 44 SemanticMatches, 212 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 15573 ImplicationChecksByTransitivity, 33.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.3s SatisfiabilityAnalysisTime, 8.9s InterpolantComputationTime, 174 NumberOfCodeBlocks, 174 NumberOfCodeBlocksAsserted, 16 NumberOfCheckSat, 158 ConstructedInterpolants, 0 QuantifiedInterpolants, 1868 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 16 InterpolantComputations, 6 PerfectInterpolantSequences, 48/122 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: 561]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - AllSpecificationsHoldResult: All specifications hold 3 specifications checked. All of them hold - ExceptionOrErrorResult: IllegalArgumentException: unknown symbol (@diff (Array Int Int) (Array Int Int) Int) de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: IllegalArgumentException: unknown symbol (@diff (Array Int Int) (Array Int Int) Int): de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.boogie.Term2Expression.getBinaryOperator(Term2Expression.java:587) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.39ms. Allocated memory is still 123.7MB. Free memory was 94.6MB in the beginning and 94.5MB in the end (delta: 25.3kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 496.05ms. Allocated memory is still 174.1MB. Free memory was 116.0MB in the beginning and 100.2MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 94.67ms. Allocated memory is still 174.1MB. Free memory was 100.2MB in the beginning and 142.8MB in the end (delta: -42.6MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Boogie Preprocessor took 53.33ms. Allocated memory is still 174.1MB. Free memory was 142.8MB in the beginning and 141.0MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 425.40ms. Allocated memory is still 174.1MB. Free memory was 141.0MB in the beginning and 126.9MB in the end (delta: 14.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * CodeCheck took 39867.50ms. Allocated memory was 174.1MB in the beginning and 218.1MB in the end (delta: 44.0MB). Free memory was 126.3MB in the beginning and 177.7MB in the end (delta: -51.4MB). Peak memory consumption was 117.0MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-12 00:03:01,899 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 53eb964f347d54908ecbd10f35e9b63fbb661e4a7ab55b977edead5834613d23 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-cf1a783 [2023-11-12 00:03:04,827 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-12 00:03:05,001 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Bitvector.epf [2023-11-12 00:03:05,057 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-12 00:03:05,059 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-12 00:03:05,059 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-12 00:03:05,060 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-12 00:03:05,061 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-12 00:03:05,061 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-12 00:03:05,062 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-12 00:03:05,063 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-12 00:03:05,063 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-12 00:03:05,064 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-12 00:03:05,065 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-12 00:03:05,065 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-12 00:03:05,066 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-12 00:03:05,066 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-12 00:03:05,067 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-12 00:03:05,068 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-12 00:03:05,068 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-12 00:03:05,069 INFO L153 SettingsManager]: * Theory for external solver=AUFBV [2023-11-12 00:03:05,069 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-12 00:03:05,070 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-12 00:03:05,070 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-12 00:03:05,071 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-12 00:03:05,071 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-12 00:03:05,072 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-12 00:03:05,072 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-12 00:03:05,073 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-12 00:03:05,073 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-12 00:03:05,073 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-12 00:03:05,074 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_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 53eb964f347d54908ecbd10f35e9b63fbb661e4a7ab55b977edead5834613d23 [2023-11-12 00:03:05,556 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-12 00:03:05,588 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-12 00:03:05,593 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-12 00:03:05,594 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-12 00:03:05,595 INFO L274 PluginConnector]: CDTParser initialized [2023-11-12 00:03:05,596 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i [2023-11-12 00:03:09,407 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-12 00:03:09,756 INFO L384 CDTParser]: Found 1 translation units. [2023-11-12 00:03:09,757 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i [2023-11-12 00:03:09,779 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data/15607c32b/a07f5f245b8f4949ab6488ced5be3125/FLAGbb4e659e3 [2023-11-12 00:03:09,796 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0a31facc-1581-47dc-8008-c489ba9e946f/bin/ukojak-verify-0OAaufAVZV/data/15607c32b/a07f5f245b8f4949ab6488ced5be3125 [2023-11-12 00:03:09,800 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-12 00:03:09,802 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-12 00:03:09,803 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-12 00:03:09,804 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-12 00:03:09,810 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-12 00:03:09,811 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 12:03:09" (1/1) ... [2023-11-12 00:03:09,812 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@16cb8959 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:03:09, skipping insertion in model container [2023-11-12 00:03:09,813 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 12:03:09" (1/1) ... [2023-11-12 00:03:09,865 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-12 00:03:10,195 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:03:10,215 INFO L202 MainTranslator]: Completed pre-run [2023-11-12 00:03:10,321 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-12 00:03:10,371 INFO L206 MainTranslator]: Completed translation [2023-11-12 00:03:10,372 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 12:03:10 WrapperNode [2023-11-12 00:03:10,372 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-12 00:03:10,374 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-12 00:03:10,374 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-12 00:03:10,375 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized